[ODE] ODE 0.8 and solaris 10

Keyan ode-ml at pulsschlag.net
Fri May 11 07:04:18 MST 2007


Hi,

i am currently trying to compile ODE 0.8 for solaris 10, sun sparc, but 
after investing hours i must admit that i am terribly failing.

here are the problems:

 > ./configure
[...]
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... no
checking for main in -lGL... no
checking for main in -lGLU... no
checking for main in -lopengl32... no
[...]
   Target system type:      sparc-sun-solaris2.10

although libGL and libGL are in /usr/openwin/lib and /usr/lib. setting 
various variations of LDFLAGS wouldn't help configure to find the libraries.

trying to compile results in:

 > make
[...]

/tmp/zahedi/ode-0.8/drawstuff/src/drawstuff.cpp:697: undefined reference 
to `glBegin'
/tmp/zahedi/ode-0.8/drawstuff/src/drawstuff.cpp:699: undefined reference 
to `sunOglCurPrimTablePtr'
/tmp/zahedi/ode-0.8/drawstuff/src/drawstuff.cpp:699: undefined reference 
to `sunOglCurrentContext'
/tmp/zahedi/ode-0.8/drawstuff/src/drawstuff.cpp:700: undefined reference 
to `sunOglCurPrimTablePtr'

testing the lib for the functions shows that they are there

 > nm /usr/lib/libGL.so | grep glBegin
[4279]  |   1238480|     116|FUNC |GLOB |0    |16     |glBegin
[586]   |    450004|      68|FUNC |LOCL |0    |10 
|glBeginCompressedGeometrySUN

 > nm /usr/lib/libGL.so | grep sunOglCurPrimTablePtr
[4175]  |   1242328|       4|OBJT |GLOB |0    |17     |sunOglCurPrimTablePtr

I then tried to hack the makefile of the dstest and added the -lGL, 
-lGLU and -ldga manually. It compiled but then crashed with a seg fault. 
Calling gdb didnt help, because there was no traceable stack.

Any help is very, very welcome. I am a digest reader, so please add me 
in CC.

cheers,
keyan


More information about the ODE mailing list