Hello list,
my system is rh7.0 updated to run a 2.4 kernel. A while ago I installed
xfree-4.1.0 from the binary package offered over ftp server for glibc-2.2
systems because I wanted to put my new GeForce MX card to good use. Everything
worked fine. I used KDE all day long.
Last week I tried to compile an application on this system. I got the following
error message:
g++ \
/home/bonsai/emc-cvs/emc/plat/linux_rtai/lib/iosh.o
/home/bonsai/emc-cvs/emc/plat/linux_rtai/lib/cppio.o
/home/bonsai/emc-cvs/emc/plat/linux_rtai/lib/libemc.a
\-L/home/bonsai/emc-cvs/rcslib/plat/linux_rtai/lib -lrcs -Xlinker -rpath -Xlinker
/tmp/lib -Xlinker -rpath -Xlinker /home/bonsai/emc-cvs/rcslib/plat/linux_rtai/lib
-Xlinker -rpath -Xlinker /proj/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/isd/proj/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/usr/local/nist/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/usr/local/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/opt/rcslib/plat/linux_rtai/lib -Xlinker
-rpath -Xlinker /usr/share/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/usr/local/share/rcslib/plat/linux_rtai/lib -Xlinker -rpath -Xlinker
/rcslib/plat/linux_rtai/lib \
-ltk -ltkx -ltcl -ldl -ltclx -L/usr/X11/lib -L/usr/X11R6/lib -lXaw
/usr/X11R6/lib/libX11.so.6: undefined reference to `[EMAIL PROTECTED]'
/usr/X11R6/lib/libX11.so.6: undefined reference to `[EMAIL PROTECTED]'
/usr/X11R6/lib/libX11.so.6: undefined reference to `[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[1]: *** [/home/bonsai/emc-cvs/emc/plat/linux_rtai/bin/iosh] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/home/bonsai/emc-cvs/emc/src/emcio'
make: *** [all] Error 2
The command nm /usr/X11R6/lib/libX11.so.6 showed these three functions as
unresolved:
U getpwnam_r@@GLIBC_2.1.2
U getpwuid_r@@GLIBC_2.1.2
U shmctl@@GLIBC_2.2
Then I though I might as well recompile xf86-4.1.0 myself, so I got the sources
and compiled them. Again everything worked fine and I could start X11 and use
all my other applications. But the error above while compiling was not going
away.
I tried compiling with both:
/usr/bin/egcs --version
egcs-2.91.66
and
/usr/bin/gcc --version
2.96
but the results while compiling were the same. X11 works, compilation of the
application due to the undefined references does not.
What am I missing there, where do these references to glibc-2.1 come from ?
I though I have a glibc-2.2 system. As libc reports itself:
$ /lib/libc.so.6
GNU C Library stable release version 2.2, by Roland McGrath et al.
Copyright (C) 1992-1999, 2000, 2001 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.96 20000731 (Red Hat Linux 7.0).
Compiled on a Linux 2.4.0-0.23smp system on 2001-01-10.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
The C stubs add-on version 2.1.2.
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
linuxthreads-0.9 by Xavier Leroy
libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <[EMAIL PROTECTED]>.
Thanks if anyone can help me. What makes me wonder it that I get the same error
no matter whether I used the already compiled binary of xf86-4.1.0 from the ftp
site or whether I compile myself.
I have the world.log from my last compile along with /var/log/XFree86.0.log available
here. But I really
do not want to waste everybodys wandwith by including them I this email.
Regards
Max
--
Max Heise <[EMAIL PROTECTED]>
Student Mechatronik/Automatisierungstechnik
PGP public key from:
http://www.fht-esslingen.de/~mahemt01/pgp50i.pub or any keyserver
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie