From: Dieter <Die...@ha...> - 2001-05-18 19:47:59
|
> On Fri, Apr 27, 2001 at 09:59:03AM -0600, Brian Paul wrote: > > One problem is still outstanding. The src/X86/gen_matypes.c file must > > be compiled and executed in order to generate src/X86/matypes.h before > > the assembly code can be compiled. You can do this manually: > > > > cd src/X86 > > gcc gen_matypes.c -I.. -I../../include -o gen_matypes > > ./gen_matypes > matypes.h > > > > I don't know how to make configure do this. When I make the MesaLib-3.5 > > tarballs I'll include matypes.h so it won't be a problem for typical end > > users. We developers and CVS users just have to remember to regenerate > > matypes.h whenever src/mtypes.h changes. > > Woohoo! This is done all nice and clean now! :) (Can you tell I'm proud?) > > src/X86/Makefile.am now includes a rule for building gen_matypes, one for > generating matypes.h through it, as well as the dependency on matypes.h. > Means: everything is done automagically once it is needed. > > Unfortunately the configure script depended on matypes.h in the checks for > MMX etc. :o. > > I built small checks for all the assembler features in m4/assembler.m4 using > just one instruction of the particular command set each. On my system this > reports all command sets as available. However assembly is not my focus, so > someone more comfortable with all that migh want to double-check the test > cases. > > -Sven Sorry Sven, but I have still some problems... Athlon with 3DNow! SunWave1>./bootstrap SunWave1>./configure --prefix=/opt/Mesa --without-svga --without-pic --enable-fast-install SunWave1>time make check [-] mkdir .libs 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' collect2: ld returned 1 exit status make[2]: *** [aaindex] Error 1 make[2]: Leaving directory `/opt/Mesa/book' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/opt/Mesa/book' make: *** [check-recursive] Error 1 351.110u 75.490s 14:46.01 48.1% 0+0k 0+0io 1820934pf+0w 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 Thanks, Dieter |