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

Re: missing library?




On Thu, 07 Dec 2000 21:28:36 Mike Morasky wrote:
> I've finally managed to compile oiv on a ppc linux system and it works great
> but I am failing at some of the "apps" due to the following errors:
> 
> usr/bin/g++         -I/usr/X11R6/include -I.
> -I../../../lib/database/include -I../../../lib/interaction/include
> -I../../../lib/nodekits/include -I../../../libSoXt/include -fPIC
> -O -DNDEBUG   -c ivinfo.c++
> /usr/bin/g++    -L/usr/X11R6/lib -L//usr/lib  ivinfo.o
> -lInventor  -o ivinfo
> /usr/bin/../lib/libGL.so.1: undefined reference to `XShmDetach'
> /usr/bin/../lib/libGL.so.1: undefined reference to `XShmCreateImage'
> /usr/bin/../lib/libGL.so.1: undefined reference to `XShmPutImage'
> /usr/bin/../lib/libGL.so.1: undefined reference to `XShmAttach'
> /usr/bin/../lib/libGL.so.1: undefined reference to `XShmQueryVersion'
> collect2: ld returned 1 exit status
> 
> I've traced these calls to XShm.h but am unsure which library they should be
> loaded from and why they aren't being resolved.
> 

X11 shared memory. That routines are in the Extensions library.
Add -lXext to link line.

-- 
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:jamagallon@able.es                                     #> more beer

Linux 2.2.18-pre24-vm #2 SMP Wed Nov 29 02:56:21 CET 2000 i686 unknown