I'm trying to compile mesademos on a testing box. The only variation so far is that
I'm using mga_drv.o and mga_hal_drv.o from Matrox; I haven't even configured DRI on my
G450 yet. My problem is here:
pugelist:/usr/share/doc/mesademos/demos# make linux
make -f Makefile.X11 targets \
"GL_LIB = libGL.a" \
"GLU_LIB = libGLU.a" \
"GLUT_LIB = libglut.a" \
"GLW_LIB = libGLw.a" \
"CC = gcc" \
"CFLAGS = -O3 -funroll-loops -ansi -pedantic -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE
-DSHM -I/usr/X11R6/include" \
"MAKELIB = ../bin/mklib.ar-ruv" \
"XLIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm"
make[1]: Entering directory `/usr/share/doc/mesademos/demos'
gcc -I../include -O3 -funroll-loops -ansi -pedantic -ffast-math -D_SVID_SOURCE
-D_BSD_SOURCE -DSHM -I/usr/X11R6/include osdemo.c -L../lib -lglut -lGLU -lGL
-L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -lm -o osdemo
/tmp/ccEMh1hu.o: In function `main':
/tmp/ccEMh1hu.o(.text+0x32a): undefined reference to `OSMesaCreateContext'
/tmp/ccEMh1hu.o(.text+0x35c): undefined reference to `OSMesaMakeCurrent'
/tmp/ccEMh1hu.o(.text+0x4f5): undefined reference to `OSMesaDestroyContext'
collect2: ld returned 1 exit status
make[1]: *** [osdemo] Error 1
make[1]: Leaving directory `/usr/share/doc/mesademos/demos'
make: *** [linux] Error 2
There are other bins in the mesademos/demos/ directory, which `make clean' does not
get rid of (and there's no target `distclean'). This, I assume, is a problem with the
upstream Makefile, not Branden's customizations.
Aside from the does-not-compile issue, I also wonder if it's really so necessary to
keep each directory under usr/share/doc/mesademos/ a tarball after installation. It's
pretty clear that if someone installs the mesademos package, they want to run the
demos. I understand shipping in source-only; that makes a lot of sense to a DRI user
like myself. But compressed? The uncompressed trees take well less than 4MB, and it
seems more than a little silly to make someone who is building the demos manually
unpack them.
Against whom do I file my d-n-c bug and my wishlist bug, respectively?
--
-=|JP|=- "This space intentionally left blank."
Jon Pennington | Debian 2.4 -o)
[EMAIL PROTECTED] | Auto Enthusiast /\\
Kansas City, MO, USA | Proud Husband and Father _\_V
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]