From: Peter Toneby (woormie++at++acc.umu.se)
Date: 08/01/2001 08:18:51
On Wed, Aug 01, 2001 at 08:35:03AM -0400, Chris Scharver wrote:
> Has anyone attempted to use Performer 2.4 under Linux with g++ 3.0?
not yet, but I'll try it soon.
> I have a really simple example program which compiles fine with g++
> 2.9.6, but it breaks on 3.0 with the following link errors:
>
> (I'm having a whole mess of problems trying to use g++ with a larger
> project, but this example was a lot more simple and resulted in
> Performer link errors that didn't fill several hundred lines!)
> g++ /home/chris/linux/obj/demos/simple_pf/basic_32_dbg/basic.o -lm
> -lnsl -lstdc++ -ldl -L../../linux/libdev32
> -L../../linux/lib32 -lpfcave_ogl -L/usr/X11R6/lib
> -L/home/chris/linux/lesstif/lib/Xm-2.0 -lGLU -lGL -lXm -lXt -lXi
> -lXext -lX11 -lXmu -lpfutil -lpf -lpfdu -o ../../linux/bin/basic
> /home/chris/linux/obj/demos/simple_pf/basic_32_dbg/basic.o: In
> function `create_scene(pfChannel*)':
> /home/chris/linux/demos/simple_pf/basic.cpp:48: undefined reference
[Cut some more undefined references]
you should use -O for it to work, I had the same problem with g++
2.9.somenumber... until I added -O, now it works like a charm :)
/Peter Toneby
-- Alpha Test Version: Too buggy to be released to the paying public. Beta Test Version: Still too buggy to be released. Release Version: Alternate pronunciation of "Beta Test Version".
This archive was generated by hypermail 2b29 : Wed Aug 01 2001 - 08:18:50 PDT