From: Dan Nicolaescu <dann@ics.uci.edu>
To: kzeitler@alcatel-lucent.com
Cc: emacs-devel@gnu.org
Subject: Re: CVS build for Solaris 5.8 fails
Date: Wed, 29 Oct 2008 10:08:57 -0700 (PDT) [thread overview]
Message-ID: <200810291708.m9TH8vtI016740@mothra.ics.uci.edu> (raw)
In-Reply-To: <q5g8ws7zt27.fsf@sfsw51.de.lucent.com> (Klaus Zeitler's message of "Wed, 29 Oct 2008 09:47:28 +0100")
Klaus Zeitler <kzeitler@alcatel-lucent.com> writes:
> 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" = "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 xmenu.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 xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.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 syntax.o unexsol.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.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 -lICE -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 -lXrender -lX11 -lfontconfig -lresolv -lsocket -lnsl -lkstat -lcurses -lkstat -lm
> 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 = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) $(DBUS_LIBS)
> -lresolv -lsocket -lnsl -lkstat -lcurses $(GETLOADAVG_LIBS) $(GNULIB_VAR) -lm
> $(GNULIB_VAR) -ldl
Very strange, Solaris 5.8 should use unexelf. Did you run "configure" ?
next prev parent reply other threads:[~2008-10-29 17:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 8:47 CVS build for Solaris 5.8 fails Klaus Zeitler
2008-10-29 17:08 ` Dan Nicolaescu [this message]
2008-10-30 2:33 ` Dan Nicolaescu
2008-10-30 7:27 ` Klaus Zeitler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810291708.m9TH8vtI016740@mothra.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=kzeitler@alcatel-lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.