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:45: error: previous declaration of `INT32' /usr/X11R6/include/X11/Xmd.h:136: error: redefinition of `INT16' osd_cpu.h:44: error: `INT16' previously declared here /usr/X11R6/include/X11/Xmd.h:140: error: redefinition of `INT8' osd_cpu.h:43: error: `INT8' previously declared here make[1]: *** [../../xmame.obj/unix.xgl/video.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmame-0.70.1/work/xmame-0.70.1/src/unix' make: *** [osdepend] Error 2 Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.5.74-mm1 i686 Intel(R) Celeron(R) CPU 1.70GHz GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow avi crypt cups encode gif jpeg libg++ mad mikmod mmx mpeg ncurses png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm slang readline arts tetex aalib bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome qt kde motif opengl mozilla cdr apache2 dvd fbcon gtk2 ipv6 maildir sasl sse tiff usb wmf xml -oss -apm -nls -pdflib -berkdb gtk -ldap joystick" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=i686 -mfpmath=sse -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
what gl are you using ? nvidia or xfree ?
nvidia
Created attachment 14507 [details, diff] Fix the xgl type clash in xmame
Created attachment 14508 [details, diff] Fix the xgl type clash in xmame
Created attachment 14509 [details] Ebuild patch... if you REALLY can't make ebuilds!
I've fixed it (the compilation problem, at least ;-), dunno if it'll work... So, here's the patch for the ebuild and the package. The patch explains itself quite adequately...
Yep! It worked fine and dandy! Thanks
added the patch to cvs, thanks so much :) i wonder if it dies on xmess too ... ;x
Yah, xmess has the same problem and the same patch works ;-)