Am Freitag, 29. Oktober 2004 02:12 schrieb Adam Jackson:
> On Thursday 28 October 2004 19:58, Roland Scheidegger wrote:
> > I can compile the dri linux target, but when I try to compile
> > progs/tests I get something similar:
> > gcc -I. -I../../include -DDRI_NEW_INTERFACE_ONLY -Wall -g -O
> > -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99
> > -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE
> > -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
> > -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions antialias.c
> > -L../../lib -lglut -lGLU -lGL -lm -o antialias
> > ../../lib/libGL.so: undefined reference to `XF86VidModeQueryVersion'
> > ../../lib/libGL.so: undefined reference to `XF86VidModeGetModeLine'
> > collect2: ld returned 1 exit status
> > make: *** [antialias] Fehler 1
> >
> > Looks like it's related to the now-built dri-aware libGL.so. Simply
> > removing this libGL.so fixed compiling the tests.
>
> Good catch.  Add "-lXxf86vm" to GL_LIB_DEPS in the appropriate config file,
> or just update from CVS (just committed the fix).

Works, now.

But compilation fails for ~/Mesa/progs/tests/getprocaddress.c

progs/tests> time nice +19 make
make: *** Keine Regel vorhanden, um das Target »../../src/mesa/glapi/APIspec«,
  benötigt von »getproclist.h«, zu erstellen.  Schluss.

Makefile:       rm -f getproclist.h
Makefile:getprocaddress: getprocaddress.c getproclist.h
Makefile:getproclist.h: $(TOP)/src/mesa/glapi/APIspec getprocaddress.c 
getprocaddress.py
Makefile:       python getprocaddress.py > getproclist.h

progs/tests> python getprocaddress.py > getproclist.h
Traceback (most recent call last):
  File "getprocaddress.py", line 93, in ?
    PrintFunctions("../../src/mesa/glapi/APIspec", tests)
  File "getprocaddress.py", line 61, in PrintFunctions
    f = open(specFile)
IOError: [Errno 2] No such file or directory: '../../src/mesa/glapi/APIspec'

-Dieter


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to