Possibly X related compiling error

Possibly X related compiling error

Post by Holger Jenczewsk » Wed, 20 Jun 2001 22:12:30


I'm using XFree 4.1.0 on a SuSE 7.0 based, but heavily upgraded system
(gcc 2.95.3, kernel 2.4.5, glibc 2.2.3... all hand-built). When I try
to compile QT 2.3.0, I get the following error:

Quote:> make[4]: Entering directory \
>    `/usr/src/packages/BUILD/qt-2.3.0/tutorial/t1'
> g++ -L/usr/src/packages/BUILD/qt-2.3.0/lib \
>    -Wl,-rpath,/usr/src/packages/BUILD/qt-2.3.0/lib \
>    -o ./t1 main.o -lqt
> /usr/X11R6/lib/libX11.so.6: undefined reference to `atexit'
> collect2: ld returned 1 exit status

mentioning an undefined reference in the main X11 library - but XFree
4.1.0 compiled without problems.

Has anybody heard of anything similar? Is this a bug in X or maybe in
glibc 2.2.3, as 'atexit' is a standard C function?

Any help would be appreciated