# rpm -qf /usr/include/GL/glx.h
XFree86-devel-4.3.0-2
 
after a cursory check of the files included with the nvidia.o package
 
# ls -al ~/NVIDIA-Linux-x86-1.0-4363/usr/include/GL 
total 188
drwxrwxr-x    2 root     root         4096 Apr 19 21:38 .
drwxrwxr-x    3 root     root         4096 Apr 19 21:38 ..
-r--r--r--    1 root     root       151590 Apr 19 21:38 gl.h
-r--r--r--    1 root     root         9765 Apr 19 21:38 glx.h
-r--r--r--    1 root     root        10989 Apr 19 21:38 glxtokens.h
 
# md5sum NVIDIA-Linux-x86-1.0-4363/usr/include/GL/*
02231f7692c3ee792fe99d5483918272  NVIDIA-Linux-x86-1.0-4363/usr/include/GL/gl.h
198060d642e55b3a8c186a38ea87d71d  NVIDIA-Linux-x86-1.0-4363/usr/include/GL/glx.h
9833d98f475a6ea05492cea40928a461  NVIDIA-Linux-x86-1.0-4363/usr/include/GL/glxtokens.h
 
# md5sum /usr/include/GL/glx.h
198060d642e55b3a8c186a38ea87d71d  /usr/include/GL/glx.h
 
nasty... the Nvidia installer unceremoniously deletes the glx.h from XFree86-devel-4.3.0-2 and impliments its own (broken?) version?
 
I yanked the correct headers from a valid XFree86-devel-4.3.0-2 rpm and now I'm off to the races...
 
funny this worked fine with older versions of the nvidia kernel drivers...  not the first thing they botched as of late....
 
J.
----- Original Message -----
From: Caleb Shay
Sent: Tuesday, May 27, 2003 14:00
Subject: Re: [Xmame] xmame xgl compile errors

Known issue.  It's actually a problem with the glx.h bundled with the nvidia drivers.  You need to make sure you use the glx.h from xfree86 instead.  I'm not sure where that would be located on a RedHat box.
 
Caleb
----- Original Message -----
From: James Owen
Sent: Tuesday, May 27, 2003 12:48 PM
Subject: [Xmame] xmame xgl compile errors

after declaring DISPLAY_METHOD = xgl
 
Compiling src/unix/main.c ...
Compiling src/unix/sound.c ...
Compiling src/unix/keyboard.c ...
Compiling src/unix/devices.c ...
Compiling src/unix/video.c ...
In file included from /usr/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: conflicting types for `INT32'
osd_cpu.h:45: previous declaration of `INT32'
make[1]: *** [../../xmame.obj/unix.xgl/video.o] Error 1
make[1]: Leaving directory `/home/sonik/src/xmame-0.69.1/src/unix'
make: *** [osdepend] Error 2
 
from "src/unix/osd_cpu.h"              

/* grrr work around some stupid header conflicts */
#if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64
typedef signed   char      INT8;
typedef signed   short     INT16;
typedef signed   int       INT32;
#endif
 
i suspect that the work around is in fact NOT working around...
 
some info:  RedHat 9, Nvidia GEforce2 Pro  nvidia.o Kernel Module  1.0-4363
 
 

---
Scanned ...
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.476 / Virus Database: 273 - Release Date: 24-Apr-03

Reply via email to