Linux Open Inventor and egcs 1.1b

Breton Saunders Breton.Saunders@cl.cam.ac.uk
Tue Sep 8 09:01:00 GMT 1998


Hello,

  I have a problem:  If I try to use TGS's OpenInventor implementation with 
egcs 1.1b on Linux(x86-RedHat 5.1) I get code that does not work.

  The open inventor libraries were built with GCC 2.7.2, and if I build the 
verification program with egcs, the program seg faults.  If I build the 
program with 2.7.2 it works correctly.

  I examined the code with the debugger, and found that when in the sample 
program, I attempt to call myRenderArea->show(), the resulting machine code 
attempts to call to address 0.  Calling other functions in the distribution 
library seems to work fine.  SoXtRenderArea->show() is a virtual function.

  What I am wondering is if there is a problem with calling older libraries, 
or if there is something that I have missed like a command line option.

  Advice on how to get this working would be great!

			Cheers,

				-Brett





More information about the Gcc-bugs mailing list