Click to See Complete Forum and Search --> : Compilation problems.


Letalis
01-14-2001, 06:19 PM
Ive run slack for a while now and it has worked like a breeze. But now problems has arizen (is that a word?) and Im getting quite irritated. First it was gtk that couldnt be located by any configure script. Not even after many re,over,un and again re-installs. And now other problems has appeared.
Whenever i try to compile an application that uses X it gives me these errors:
"/usr/X11R6/lib/libX11.so: undefined reference to `shmctl@@GLIBC_2.0'"
What is this all about?

henri
01-16-2001, 10:32 AM
you just need to have glibc 2.0 (or higher) installed on your system.

better make a new install or/update of development package (gcc, all core libraries, make and so on).

Letalis
01-18-2001, 10:34 AM
Ive tried both to remove,reinstall and upgraded from both the slack 7.1 cd and downloaded packages but nothing seems to work it still gives me:
/usr/X11/lib/libX11.so: undefined reference to `shmctl@@GLIBC_2.0'

Heeeeelp! It drives me crazy.

TheLinuxDuck
03-15-2001, 05:12 PM
Letalis:

have you found a solution yet????

I've having the same troubles.. except I've got the latest releases of gcc, g++, gtk, glib, etc..etc..

by using the command nm -A /usr/X11R6/lib/libX11.so | grep shmctl, I found the call that is undefined.

And, if I run nm -A /usr/lib/libc.so | grep shmctl, I find a defined reference to shmctl@@GLIBC_2.0.

My question is, is there a way to link the call in X11 to the real call in libc?

Anyone?


I'd like to find a solution to this horrid problem. :)

Kinjana
03-15-2001, 05:16 PM
Yes it's a word -- only it's spelled arisen