From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: CVS build for Solaris 5.8 fails Date: Wed, 29 Oct 2008 09:47:28 +0100 Message-ID: Reply-To: kzeitler@alcatel-lucent.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225270116 23407 80.91.229.12 (29 Oct 2008 08:48:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2008 08:48:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 29 09:49:37 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kv6jR-00044u-26 for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 09:48:49 +0100 Original-Received: from localhost ([127.0.0.1]:45108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv6iK-0001NQ-81 for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 04:47:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kv6iF-0001NJ-Jf for emacs-devel@gnu.org; Wed, 29 Oct 2008 04:47:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kv6iE-0001Mq-4F for emacs-devel@gnu.org; Wed, 29 Oct 2008 04:47:34 -0400 Original-Received: from [199.232.76.173] (port=59456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv6iD-0001Mn-VT for emacs-devel@gnu.org; Wed, 29 Oct 2008 04:47:33 -0400 Original-Received: from ihemail3.lucent.com ([135.245.0.37]:59058) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kv6iD-0002cp-Ii for emacs-devel@gnu.org; Wed, 29 Oct 2008 04:47:33 -0400 Original-Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id m9T8lVwt003061 for ; Wed, 29 Oct 2008 03:47:31 -0500 (CDT) Original-Received: from nbgif1.de.lucent.com (nbgif1.de.lucent.com [135.246.31.82]) by ihrh1.emsr.lucent.com (8.13.8/emsr) with ESMTP id m9T8lTiO026613 for ; Wed, 29 Oct 2008 03:47:29 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1.de.lucent.com [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p3+Sun/8.11.7) with ESMTP id m9T8lTj20883 for ; Wed, 29 Oct 2008 09:47:29 +0100 (MET) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.13.8/8.12.10) with ESMTP id m9T8lSLm024706 for ; Wed, 29 Oct 2008 09:47:28 +0100 (MET) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m9T8lSD14325; Wed, 29 Oct 2008 09:47:28 +0100 (MET) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f X-Flame: Only a racist like you would say that trees are malignant. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105136 Archived-At: Hello, build of emacs 23 for Solaris 5.8 fails with the following error: --- snip --- gcc -L/usr/ccs/lib `./prefix-args -Xlinker -R/usr/openwin/lib -R/usr/local= /gnu/lib -R/opt/exp/gnu/lib -R/opt/exp/lib -R/opt/exp/lib/xpm/lib` `{ set x= 1; test "$2" =3D "USE_MOTIF"; } || echo ' -R/usr/dt/lib -L/usr/dt/lib'` -L= /usr/openwin/lib -L/usr/local/gnu/lib -L/opt/exp/gnu/lib -L/opt/exp/lib -L/= opt/exp/lib/xpm/lib -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o xm= enu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm= .o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsm= fns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buff= er.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmd= s.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o = doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o sy= ntax.o unexsol.o bytecode.o process.o callproc.o region-cache.o sound.o ati= mer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o xfont= .o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o widget.o mktime.o = ../lwlib/liblw.a -L/usr/openwin/lib -L/usr/local/gnu/lib -L/opt/exp/gnu/lib= -L/opt/exp/lib -L/opt/exp/lib/xpm/lib -lXm -lgen -lXp -lXmu -lXt -lSM -lIC= E -lXext -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -R/usr/openwin/lib -= L/opt/exp/gnu/lib -L/opt/exp/gnu/lib -L/usr/openwin/lib -lXft -lfreetype -l= Xrender -lX11 -lfontconfig -lresolv -lsocket -lnsl -lkstat -lcurses -lks= tat -lm=20 Undefined first referenced symbol in file dldump unexsol.o (symbol belongs to implicit = dependency /usr/lib/libdl.so.1) dlerror unexsol.o (symbol belongs to implicit = dependency /usr/lib/libdl.so.1) ld: fatal: Symbol referencing errors. No output written to temacs collect2: ld returned 1 exit status make[2]: *** [temacs] Error 1 --- snip --- When I compared with emacs 22.2, I noticed that the CVS version is using unexsol.c, whereas 22.2 is using unexelf.c. I've fixed this by adding '-ldl' to the libraries in src/Makefile: LIBES =3D $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) $(DBUS_LIBS) -lresolv -lsocket -lnsl -lkstat -lcurses $(GETLOADAVG_LIBS) $(GNULIB_VAR) -= lm $(GNULIB_VAR) -ldl BTW what is the proper way to send a bug report if you can't build CVS emac= s? Klaus --=20 ----------------------------------------------------- | Klaus Zeitler Between a rock and a hard place | | Email: kzeitler@alcatel-lucent.com | ----------------------------------------------------- --- When you choose the lesser of two evils, always remember that it is still an evil.