nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code (http://www.nvnews.net/vbulletin/showthread.php?t=34335)

Green Mamba 08-09-04 06:48 AM

[SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
Hi,

i installed the 61.11-Forceware on my SuSE9.1-System using the Instruction from NVIDIA.
The Driver runs fine, and i can execute my OpenGL-Software.
But there is one Problem, i want to compile my own OpenGL-Software, but the compiler tells me that he don't knows any OpenGL-Instruction!? :retard:
This is the compiler-output, and i just had compiled this code befor the driver-installation, so it should not be my fault.

Code:

/usr/local/lib/libCoin.so.40: undefined reference to `glDeleteLists@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glBlendFunc@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glLightModelfv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glDrawPixels@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexCoord2fv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glPolygonMode@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glCullFace@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glGetError@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexGeni@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexParameteri@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glScissor@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glRasterPos2f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glVertex2f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glNormal3fv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glLightf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexCoord2f@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glEnable@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXCreateGLXPixmap@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexEnvi@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glPointSize@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glEndList@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glVertex3f@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glGetDoublev@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glNormal3f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glReadPixels@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexGenf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glClearIndex@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glShadeModel@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glIsEnabled@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glGetBooleanv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glLoadMatrixf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glFogf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glPolygonStipple@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glLineWidth@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXQueryVersion@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glMaterialf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glGetTexLevelParameteriv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glFlush@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glGenLists@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glClipPlane@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glLineStipple@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glRasterPos2d@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glFrontFace@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glLoadMatrixd@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glFrustum@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexEnvfv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glAccum@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glRotatef@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glAlphaFunc@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glGetIntegerv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glScalef@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXDestroyGLXPixmap@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glPopAttrib@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glLightfv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXMakeCurrent@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glColor3fv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexCoord3fv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glMatrixMode@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glViewport@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glVertex2s@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glDisable@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glCallList@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glNewList@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXGetClientString@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glClearColor@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glFogi@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXQueryServerString@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexImage2D@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glColorMaterial@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXQueryExtensionsString@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glPushMatrix@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexCoord3f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXChooseVisual@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXCreateContext@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glVertex3fv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glLightModeli@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glVertex4fv@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glRasterPos3f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glMultMatrixf@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glIndexi@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXGetCurrentDrawable@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glPushAttrib@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glDepthFunc@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glColorMask@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glColor3f@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTranslatef@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glEnd@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glPixelZoom@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glDrawBuffer@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glBitmap@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glPopMatrix@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glBegin@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glColor4ub@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glXGetCurrentContext@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glClear@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glLoadIdentity@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glColor3ub@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glXDestroyContext@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexGenfv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glDepthRange@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glTexCoord4fv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glGetString@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glXIsDirect@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glDepthMask@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glFogfv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glOrtho@LIBGL'
/usr/local/lib/libCoin.so.40: undefined reference to `glMaterialfv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glGetFloatv@LIBGL'
/usr/local/lib//libSoQt.so: undefined reference to `glPixelStorei@LIBGL'
collect2: ld returned 1 exit status
make: *** [linux] Fehler 1

It seems that the compiler does not know any OpenGL-Instructions.

Thank you for help! :)

Greez from germany
Timo

Green Mamba 08-09-04 12:31 PM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
Nobody an idea? It's realy urgent! :(

jerickson314 08-09-04 07:02 PM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
Does 6106 work? 6106 works on my SuSE 9.1 system, but I haven't had a chance to try 6111 yet.

Green Mamba 08-10-04 04:51 AM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
The 61.11 driver works fine so far, but i am not able to compile any sourcecode with openGL-elements inside. Did you tried this so far with the 61.06?

Thunderbird 08-10-04 04:56 AM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
This has nothing do with the nvidia drivers or things like that. Lets say you write a program that uses opengl. In your code you then need to "tell" the compiler what the opengl function calls look like by including a header file (useally #include <GL/gl.h>). Then when you build you program you need to "link" with the opengl library (libGL.so) so that your program knows where to find the opengl functions. In the case you don't link you get so called unresolved symbols. So somehow the linking is not done.

Green Mamba 08-10-04 05:53 AM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
Yes, this is the Problem. I use coin3d, this is a library that uses itself openGL. And the error-messages are from the classes of this library coin3d.
But i think that the compiler can not find the openGL-librarys at all. This Problem appears only after installing the actual nvidia-driver. But i don´t know how to fix it.
Befor the driver installation, i had no such problems with compiling this source-code.

I used the following commands while the installation. But i don´t know what the do:
Quote:

cd /usr/src/linux
make cloneconfig
make prepare-all
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -q --kernel-source-path=/usr/src/linux
sax2 -m 0=nvidia
Perhaps you know how these commands can affect the linker!?

jerickson314 08-10-04 04:55 PM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
I know that I have successfully compiled the program TuxKart, which uses PLIB, with either version 5336 or 6106. PLIB is built on top of OpenGL. Try installing an older version of the drivers and see if your programs compile.

Green Mamba 08-13-04 02:30 AM

Re: [SuSE9.1] Problem with the 61.11 -> Can not compile OpenGL-Code
 
I found the error!
The Problem was not the Driver itself, but the Libraries i use in my own Programm. After reinstalling these libs, i can compile my code. :)
But i don´t have an explanation why the hell these libs lost their links to the openGL-libs. :-/


All times are GMT -5. The time now is 11:29 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.