* CVS build for Solaris 5.8 fails
@ 2008-10-29 8:47 Klaus Zeitler
2008-10-29 17:08 ` Dan Nicolaescu
2008-10-30 2:33 ` Dan Nicolaescu
0 siblings, 2 replies; 4+ messages in thread
From: Klaus Zeitler @ 2008-10-29 8:47 UTC (permalink / raw)
To: emacs-devel
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: kzeitler@alcatel-lucent.com |
-----------------------------------------------------
---
When you choose the lesser of two evils,
always remember that it is still an evil.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CVS build for Solaris 5.8 fails
2008-10-29 8:47 CVS build for Solaris 5.8 fails Klaus Zeitler
@ 2008-10-29 17:08 ` Dan Nicolaescu
2008-10-30 2:33 ` Dan Nicolaescu
1 sibling, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2008-10-29 17:08 UTC (permalink / raw)
To: kzeitler; +Cc: emacs-devel
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" ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CVS build for Solaris 5.8 fails
2008-10-29 8:47 CVS build for Solaris 5.8 fails Klaus Zeitler
2008-10-29 17:08 ` Dan Nicolaescu
@ 2008-10-30 2:33 ` Dan Nicolaescu
2008-10-30 7:27 ` Klaus Zeitler
1 sibling, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2008-10-30 2:33 UTC (permalink / raw)
To: kzeitler; +Cc: emacs-devel
Klaus Zeitler <kzeitler@alcatel-lucent.com> writes:
> Hello,
>
> build of emacs 23 for Solaris 5.8 fails with the following error:
Please update and try again.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CVS build for Solaris 5.8 fails
2008-10-30 2:33 ` Dan Nicolaescu
@ 2008-10-30 7:27 ` Klaus Zeitler
0 siblings, 0 replies; 4+ messages in thread
From: Klaus Zeitler @ 2008-10-30 7:27 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
>>>>> "Dan" == Dan Nicolaescu <dann@ics.uci.edu> writes:
Dan>
Dan> Very strange, Solaris 5.8 should use unexelf. Did you run "configure"?
yes
Dan> Please update and try again.
Builds and runs fine, thanks a lot for the quick fix.
Klaus
--
-----------------------------------------------------
| Klaus Zeitler Between a rock and a hard place |
| Email: kzeitler@alcatel-lucent.com |
-----------------------------------------------------
---
Before Xerox, five carbons were the maximum extension of anybody's ego.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-30 7:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 8:47 CVS build for Solaris 5.8 fails Klaus Zeitler
2008-10-29 17:08 ` Dan Nicolaescu
2008-10-30 2:33 ` Dan Nicolaescu
2008-10-30 7:27 ` Klaus Zeitler
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.