From: Dieter <Die...@ha...> - 2001-05-18 21:33:22
|
Am Freitag, 18. Mai 2001 23:22 schrieb Sven M. Hallberg: > On Fri, May 18, 2001 at 10:14:29PM +0200, Dieter Nützel wrote: > > gcc -O -mcpu=k6 -mpreferred-stack-boundary=2 -malign-functions=4 > > -fschedule-insns2 -fexpensive-optimizations -Wall -fomit-frame-pointer > > -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 > > -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -o > > .libs/aaindex aaindex.o ../src-glut/.libs/libglut.so -L/usr/X11R6/lib > > -lSM -lICE -lXmu -lXext -lXi -lX11 ../si-glu/.libs/libGLU.so > > ../src/.libs/libGL.so -lglide3 -lSM -lICE -lXmu -lXext -lXi -lX11 > > -lpthread -lm -Wl,--rpath -Wl,/opt/Mesa/lib ../src/.libs/libGL.so: > > undefined reference to `grBufferSwap' > > grBufferSwap must be a function from glide.h, I think. Can you check that? > You're using Glide 3, right? It was autodetected. But I only use the DRI (CVS) with the included Mesa (3.4.2, now). I try Mesa CVS (3.5) regularly for the Mesa-3.5 DRI branch. > We've had some problems in the past with Glide > 3 headers or libraries getting mixed up with Glide 2 headers or libraries; I have only the Glide3 headers installed. > you might want to check on that, too. Try to find out where grBufferSwap is > supposed to come from (David, maybe you know?). Please let me know about > anything you find out. Thanks. You are right. It's in glide.h FX_ENTRY void FX_CALL grBufferSwap( FxU32 swap_interval ); > > > And isn't the library name wrong? > > SunWave1>l src/.libs/ > > insgesamt 2209 > > drwxr-xr-x 2 nuetzel users 168 Mai 18 21:56 . > > drwxr-xr-x 24 nuetzel users 8256 Mai 18 21:56 .. > > -rwxr-xr-x 1 nuetzel users 2247751 Mai 18 21:56 > > libGL-1.2.030500.so lrwxrwxrwx 1 nuetzel users 11 Mai 18 > > 21:56 libGL.la -> ../libGL.la > > -rw-r--r-- 1 nuetzel users 707 Mai 18 21:56 libGL.lai > > lrwxrwxrwx 1 nuetzel users 19 Mai 18 21:56 libGL.so -> > > libGL-1.2.030500.so > > > > Shouldn't it be called something like this? > > > > SunWave1>l /usr/X11/lib/libGL.so.1.2 > > -rwxr-xr-x 1 root root 500591 Mai 18 05:34 > > /usr/X11/lib/libGL.so.1.2 > > SunWave1>l /usr/X11/lib/libGLU.so.1.3.030500 > > -rwxr-xr-x 1 root root 826425 Mai 18 00:37 > > /usr/X11/lib/libGLU.so.1.3.030500 > > Actually, I don't know. I don't think I touched the version number stuff... > > Brian, please help!? I mean not the numbers but the "-" sign and the order of "so" and the numbers. -Dieter |