When building XFree86 4.2.0 on my linux machine, I get link errors for
the programs xcmsdb, xev, xmodmap and xwud.
The error message is always (here the one from xcmsdb):
gcc -o xcmsdb -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith
-L../../exports/lib xcmsdb.o loadData.o -lX11
-Wl,-rpath-link,../../exports/lib
/lib/libdl.so.2: undefined reference to `atexit'
collect2: ld returned 1 exit status
make: *** [xcmsdb] Fehler 1
I can resolve all link errors by appending "-ldl" to LOCAL_LIBRARIES
in the makefiles. Is this a known build problem or is there something
wrong on my machine? Does xcmsdb really use something from
libdl.so? ("grep -- dl" on the sources showed nothing, but most
probably this is not accurate enough.)
Can someone enlighten me? When responding, please mail also to my
personal address, I not subscribed to the list.
If it matters, here some details of my machine:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
$ ld -V
GNU ld version 2.12
Supported emulations:
elf_i386
i386linux
i386coff
mmo
elf64mmix
$ uname -a
Linux jon 2.4.17 #2 Thu Jan 3 20:25:24 CET 2002 i686 unknown
$ /lib/libc.so.6
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.95.3 20010315 (release).
Compiled on a Linux 2.4.17 system on 2002-02-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.9 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <[EMAIL PROTECTED]>.
TIA,
Vivenzio Pagliari
--
Do not believe in miracles -- rely on them.
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie