emacs-devel
[Top][All Lists]
Advanced

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

CVS build for Solaris 5.8 fails


From: Klaus Zeitler
Subject: CVS build for Solaris 5.8 fails
Date: Wed, 29 Oct 2008 09:47:28 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v)

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



BTW what is the proper way to send a bug report if you can't build CVS emacs?


Klaus

-- 
 -----------------------------------------------------
|  Klaus Zeitler      Between a rock and a hard place |
|  Email:             address@hidden     |
 -----------------------------------------------------
---
When you choose the lesser of two evils,
always remember that it is still an evil.




reply via email to

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