Undefined symbol sunOglCurPrimTablePtr in Solaris-x86
- by yowkee
I was porting a C++ program from Solaris Sparc to Solaris x86. The program utilizes OpenGL library and the compilation is performed in a Sun Ultra27 workstation with the default GCC (3.4.3) and OpenGL library come with the machine.
However, the following OpenGL call couldn't found while linking:
Undefined symbol first referenced in file
sunOglCurPrimTablePtr ../../lib/libgltt.so
sunOglCurrentContext ../../lib/libgltt.so
which, both sunOglCurPrimTablePtr and sunOglCurrentContext should be available in the default OpenGL library /usr/lib/libGL.so (links to /usr/X11/lib/NVIDIA/libGL.so.1). But I couldn't find anything from it:
> nm /usr/lib/libGL.so
/usr/lib/libGL.so:
Searching on web, SUN or Nvidia didn't lead to any helpful resource. Any clue or helps? Thanks!