The problem probably comes from the OpenGL header
files installed by the nvidia driver. You should try
replacing those headers by the one from Mesa.

Quoting The tECHIDNA <[EMAIL PROTECTED]>:

> Hello all.  Seems I have trouble compiling XMAME for OpenGL:
> 
> Compiling in the unix directory...
> make[1]: Entering directory 
> `/home/knuckles/sourcecode/xmame-0.82.1/src/unix'
> make ../../xmame.obj/unix.xgl/osdepend.a
> make[2]: Entering directory 
> `/home/knuckles/sourcecode/xmame-0.82.1/src/unix'
> Compiling src/unix/video.c ...
> In file included from /usr/X11R6/include/GL/glx.h:27,
>                  from video-drivers/gltool.h:53,
>                  from video-drivers/glmame.h:35,
>                  from video.c:10:
> /usr/X11R6/include/X11/Xmd.h:134: error: conflicting types for `INT32'
> osd_cpu.h:46: error: previous declaration of `INT32'
> /usr/X11R6/include/X11/Xmd.h:136: error: redefinition of `INT16'
> osd_cpu.h:45: error: `INT16' previously declared here
> /usr/X11R6/include/X11/Xmd.h:140: error: redefinition of `INT8'
> osd_cpu.h:44: error: `INT8' previously declared here
> make[2]: *** [../../xmame.obj/unix.xgl/video.o] Error 1
> make[2]: Leaving directory `/home/knuckles/sourcecode/xmame-0.82.1/src/unix'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/knuckles/sourcecode/xmame-0.82.1/src/unix'
> make: *** [xmame.obj/unix.xgl/osdepend.a] Error 2
> 
> Using:
> NVIDIA 1.0-5336 drivers,
> GCC 3.3.3,
> Linux 2.6.5.
> 
> Seems like it's the NVIDIA GL drivers at fault here (curses!), but as 
> I'm no C++ expert (yet), anybody know how I can possibly fix this?
> Thanks much!
> 
> ****************
> The tECHIDNA
> ****************
> 
> _______________________________________________
> Xmame mailing list
> [EMAIL PROTECTED]
> http://toybox.twisted.org.uk/mailman/listinfo/xmame
> 


-- 

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to