info-inventor
[Top] [All Lists]

Re: missing library?

To: Mike Morasky <mikem@xxxxxxxxxxxx>
Subject: Re: missing library?
From: "J . A . Magallon" <jamagallon@xxxxxxx>
Date: Thu, 7 Dec 2000 21:37:48 +0100
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <3A2FF2F4.5F4B23A1@xxxxxxxxxxxx>; from mikem@xxxxxxxxxxxx on Thu, Dec 07, 2000 at 21:28:36 +0100
References: <3A2FF2F4.5F4B23A1@xxxxxxxxxxxx>
Reply-to: jamagallon@xxxxxxx
Sender: owner-inventor@xxxxxxxxxxx
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@xxxxxxx                                     #> more beer

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


<Prev in Thread] Current Thread [Next in Thread>