Missing Library




When compiling the first program list in the tutorial I receive
the follwoing messages:

/usr/local/lib/libgdk.so: undefined reference to `XShmDetach'
/usr/local/lib/libgdk.so: undefined reference to `XShapeCombineMask'
/usr/local/lib/libgdk.so: undefined reference to `XShmCreateImage'
/usr/local/lib/libgdk.so: undefined reference to `XShmPutImage'
/usr/local/lib/libgdk.so: undefined reference to `XShmAttach'
/usr/local/lib/libgdk.so: undefined reference to `XShmQueryVersion'

What library didn't I link?

My system:
Linux (intel) 2.0.33 RedHat 5.0  (with patches)
glibc 2.0.6
gtk 0.99.7 package

the test compile ...
gcc -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11  -o tt tt.c


Thank you

Richard






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]