Advertisement

Compile problems.. <newbie warning>

Started by November 14, 2000 08:08 AM
1 comment, last by Zentrix 24 years ago
When compiling lesson01 (or any other lesson) in linux with a voodoo2 and MesaGL glut and glide installed i get alot of "undefined reference to" errors, what am i doing wrong? Complete compiler output: gcc -Wall -I/usr/include/ -c -o lesson1.o lesson1.c gcc -Wall -I/usr/include/ -o lesson1 -L/usr/X11R6/lib lesson1.o -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitAllocBuffers'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitGetDeviceInfo'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitVideoBuffers'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitGamma'' /usr/X11R6/lib/libGL.so: undefined reference to `gdbg_info'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitLfbLock'' /usr/X11R6/lib/libGL.so: undefined reference to `gdbg_printf'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitLfbUnlock'' /usr/X11R6/lib/libGL.so: undefined reference to `pciGetErrorCode'' /usr/X11R6/lib/libGL.so: undefined reference to `pciOpen'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitSli'' /usr/X11R6/lib/libGL.so: undefined reference to `gdbg_error'' /usr/X11R6/lib/libGL.so: undefined reference to `pciUnmapPhysical'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitCaching'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitIdle'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitCmdFifo'' /usr/X11R6/lib/libGL.so: undefined reference to `gdbg_init'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitMapBoard'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitGetenv'' /usr/X11R6/lib/libGL.so: undefined reference to `pciLinearRangeSetPermission'' /usr/X11R6/lib/libGL.so: undefined reference to `pciGetErrorString'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitNumBoardsInSystem'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitRegisters'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitShutdown'' /usr/X11R6/lib/libGL.so: undefined reference to `sst1InitVgaPassCtrl'' collect2: ld returned 1 exit status make: *** [lesson1] Error 1 rm lesson1.o

Got help on irc and found out it was
just an old broken copy of mesaGL causing the trouble...

Zentrix@f2s.com
Advertisement

Got help on irc and found out it was
just an old broken copy of mesaGL causing the trouble...

Zentrix@f2s.com

This topic is closed to new replies.

Advertisement