emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS build for Solaris 5.8 fails


From: Dan Nicolaescu
Subject: Re: CVS build for Solaris 5.8 fails
Date: Wed, 29 Oct 2008 10:08:57 -0700 (PDT)

Klaus Zeitler <address@hidden> 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" ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]