From: Sergio M. B. <se...@se...> - 2010-03-21 16:26:08
|
Hi, On Sat, 2010-03-20 at 23:17 -0400, Denat Hulaiichun wrote: > Hi, > > I have Debian Squeeze and tried ./configuring, making and make > installing the Mesa download folder, when I tried to gcc the demos in > the Mesa folder, I got some errors. Something isn't installed right with > the Mesa on this machine. You need install mesa-devel packages . Debian should came with mesa-demos packages , try find them . Mesa 7.7 is for devel and test new advance features , normally stable version on distros , are good enough . Regards, > > Here's terminal output of compiling a demo: > > username/libs/Demos/MesaDemos-7.7/progs/demos# gcc -o arbfplight > arbfplight.c > /tmp/cc6JMPpU.o: In function `normalize': > arbfplight.c:(.text+0x7b): undefined reference to `sqrt' > /tmp/cc6JMPpU.o: In function `Redisplay': > arbfplight.c:(.text+0xeb): undefined reference to `glClear' > arbfplight.c:(.text+0x134): undefined reference to `glEnable' > arbfplight.c:(.text+0x13e): undefined reference to `glEnable' > arbfplight.c:(.text+0x148): undefined reference to `glDisable' > arbfplight.c:(.text+0x15e): undefined reference to `glLightfv' > arbfplight.c:(.text+0x168): undefined reference to `glDisable' > arbfplight.c:(.text+0x172): undefined reference to `glDisable' > arbfplight.c:(.text+0x17c): undefined reference to `glEnable' > arbfplight.c:(.text+0x181): undefined reference to `glPushMatrix' > arbfplight.c:(.text+0x19c): undefined reference to `glRotatef' > arbfplight.c:(.text+0x1b7): undefined reference to `glRotatef' > arbfplight.c:(.text+0x1ce): undefined reference to `glutSolidSphere' > arbfplight.c:(.text+0x1d3): undefined reference to `glPopMatrix' > arbfplight.c:(.text+0x1d8): undefined reference to `glutSwapBuffers' > arbfplight.c:(.text+0x200): undefined reference to `glutGet' > /tmp/cc6JMPpU.o: In function `Idle': > arbfplight.c:(.text+0x318): undefined reference to `glutPostRedisplay' > /tmp/cc6JMPpU.o: In function `Reshape': > arbfplight.c:(.text+0x341): undefined reference to `glViewport' > arbfplight.c:(.text+0x34b): undefined reference to `glMatrixMode' > arbfplight.c:(.text+0x350): undefined reference to `glLoadIdentity' > arbfplight.c:(.text+0x38d): undefined reference to `glFrustum' > arbfplight.c:(.text+0x397): undefined reference to `glMatrixMode' > arbfplight.c:(.text+0x39c): undefined reference to `glLoadIdentity' > arbfplight.c:(.text+0x3af): undefined reference to `glTranslatef' > /tmp/cc6JMPpU.o: In function `Key': > arbfplight.c:(.text+0x431): undefined reference to `glutIdleFunc' > arbfplight.c:(.text+0x440): undefined reference to `glutIdleFunc' > arbfplight.c:(.text+0x4b3): undefined reference to `glPolygonMode' > arbfplight.c:(.text+0x4c7): undefined reference to `glPolygonMode' > arbfplight.c:(.text+0x531): undefined reference to `glutDestroyWindow' > arbfplight.c:(.text+0x540): undefined reference to `glutPostRedisplay' > /tmp/cc6JMPpU.o: In function `SpecialKey': > arbfplight.c:(.text+0x5da): undefined reference to `glutPostRedisplay' > /tmp/cc6JMPpU.o: In function `Init': > arbfplight.c:(.text+0x631): undefined reference to > `glutExtensionSupported' > arbfplight.c:(.text+0x653): undefined reference to > `glutExtensionSupported' > arbfplight.c:(.text+0x675): undefined reference to `glutGetProcAddress' > arbfplight.c:(.text+0x6ab): undefined reference to `glutGetProcAddress' > arbfplight.c:(.text+0x6e1): undefined reference to `glutGetProcAddress' > arbfplight.c:(.text+0x717): undefined reference to `glutGetProcAddress' > arbfplight.c:(.text+0x74d): undefined reference to `glutGetProcAddress' > /tmp/cc6JMPpU.o:arbfplight.c:(.text+0x783): more undefined references to > `glutGetProcAddress' follow > /tmp/cc6JMPpU.o: In function `Init': > arbfplight.c:(.text+0x8a7): undefined reference to `glGetIntegerv' > arbfplight.c:(.text+0x8ac): undefined reference to `glGetError' > arbfplight.c:(.text+0x8d9): undefined reference to `glGetString' > arbfplight.c:(.text+0xab7): undefined reference to `glGetIntegerv' > arbfplight.c:(.text+0xabc): undefined reference to `glGetError' > arbfplight.c:(.text+0xae9): undefined reference to `glGetString' > arbfplight.c:(.text+0xb5e): undefined reference to `glClearColor' > arbfplight.c:(.text+0xb68): undefined reference to `glEnable' > arbfplight.c:(.text+0xb72): undefined reference to `glEnable' > arbfplight.c:(.text+0xb7c): undefined reference to `glEnable' > arbfplight.c:(.text+0xb90): undefined reference to `glMaterialfv' > arbfplight.c:(.text+0xba4): undefined reference to `glMaterialfv' > arbfplight.c:(.text+0xbbb): undefined reference to `glMaterialf' > arbfplight.c:(.text+0xbc5): undefined reference to `glGetString' > /tmp/cc6JMPpU.o: In function `main': > arbfplight.c:(.text+0xc12): undefined reference to `glutInit' > arbfplight.c:(.text+0xc21): undefined reference to > `glutInitWindowPosition' > arbfplight.c:(.text+0xc30): undefined reference to `glutInitWindowSize' > arbfplight.c:(.text+0xc3a): undefined reference to `glutInitDisplayMode' > arbfplight.c:(.text+0xc49): undefined reference to `glutCreateWindow' > arbfplight.c:(.text+0xc59): undefined reference to `glutReshapeFunc' > arbfplight.c:(.text+0xc63): undefined reference to `glutKeyboardFunc' > arbfplight.c:(.text+0xc6d): undefined reference to `glutSpecialFunc' > arbfplight.c:(.text+0xc77): undefined reference to `glutDisplayFunc' > arbfplight.c:(.text+0xc8c): undefined reference to `glutIdleFunc' > arbfplight.c:(.text+0xc96): undefined reference to `glutMainLoop' > collect2: ld returned 1 exit status > > > K, I can tell you any other info about my machine/situation, > Denat > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-users -- Sérgio M. B. |