View Single Post
Old 04-01-10, 11:55 PM   #1
yowkee
Registered User
 
Join Date: Apr 2010
Posts: 3
Default Locating symbol sunOglCurPrimTablePtr in Solaris-x86 OpenGL libraries

I was porting a C++ program from Solaris Sparc to Solaris 10 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. The NVIDIA graphic card is Quadro FX380.

However, the following OpenGL API call couldn't found while linking:

Code:
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). At least they are existed in the OpenGL libraries in Sparc Solaris. But I couldn't find anything from libGL.so:

Code:
> nm /usr/lib/libGL.so
/usr/lib/libGL.so:
(NOTE: the symbol reference are all stripped from the released NVIDIA OpenGL library?)

Searching on web, SUN or Nvidia didn't lead to any helpful resource. Any clue or helps?

Thanks a lot in advance!
yowkee is offline   Reply With Quote