xfree86 4.2.1 'make install' problem

Tim Wunder tim
Mon May 17 11:37:37 PDT 2004


Hi, 
In an attempt to make a more coherent request for help...
I've managed to complete 'make World' in my efforts to install xfree86 4.2.1 last night. I'm running onto a problem with 'make install' however. Much of it completes, at least until it gets to xcmsdb, when it spits out this error:

make[3]: Entering directory `/data/Source_files/xfree86/4.2.0/xc/programs/xcmsdb'
rm -f xcmsdb
gcc -o xcmsdb -O2 -march=i686 -mcpu=i686 -ansi -pedantic -Wall     -L../../exports/lib xcmsdb.o loadData.o -lX11      -Wl,-rpath-link,../../exports/lib
/lib/libdl.so.2: undefined reference to `atexit'
make[3]: *** [xcmsdb] Error 1
make[3]: Leaving directory `/data/Source_files/xfree86/4.2.0/xc/programs/xcmsdb'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/data/Source_files/xfree86/4.2.0/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/data/Source_files/xfree86/4.2.0/xc'
make: *** [install] Error 2


I've gotten "undefined reference to `atexit'", when configuring kdemultimedia (both 3.0.3 and cvs) and have a simple workaround for the problem. That is to add "-u atexit" to the end of the definition of the LIBS env variable in the configure script. From what I can tell in doing som web searches, this is apparently a glibc problem. The glibc I'm using was from Caldera as an update.
$ rpm -qa|grep glibc
glibc-devel-static-2.2.4-22
glibc-2.2.4-22
glibc-devel-2.2.4-22
glibc-localedata-2.2.4-22

Does anyone know of a workaround, short of updating glibc, that will allow me to finish compiling X?
I'm off to check SCO/Caldera's web site to see if they have a more current glibc (but I'm not holding my breath on that one).

Thanks, 
Tim



More information about the Linux-users mailing list