Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24383 - xmame 0.70.1 fails to compile
Summary: xmame 0.70.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 04:58 UTC by André Lemos
Modified: 2003-07-16 03:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix the xgl type clash in xmame (fix-xgl.patch,597 bytes, patch)
2003-07-15 06:33 UTC, Jan Gutter
Details | Diff
Fix the xgl type clash in xmame (fix-xgl.patch,597 bytes, patch)
2003-07-15 06:34 UTC, Jan Gutter
Details | Diff
Ebuild patch... if you REALLY can't make ebuilds! (xmame-ebuild.patch,420 bytes, text/plain)
2003-07-15 06:36 UTC, Jan Gutter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Lemos 2003-07-13 04:58:18 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-07-13 16:12:37 UTC
what gl are you using ?  nvidia or xfree ? 
Comment 2 André Lemos 2003-07-14 01:08:39 UTC
nvidia
Comment 3 Jan Gutter 2003-07-15 06:33:43 UTC
Created attachment 14507 [details, diff]
Fix the xgl type clash in xmame
Comment 4 Jan Gutter 2003-07-15 06:34:04 UTC
Created attachment 14508 [details, diff]
Fix the xgl type clash in xmame
Comment 5 Jan Gutter 2003-07-15 06:36:34 UTC
Created attachment 14509 [details]
Ebuild patch... if you REALLY can't make ebuilds!
Comment 6 Jan Gutter 2003-07-15 06:37:54 UTC
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...
Comment 7 André Lemos 2003-07-15 15:57:10 UTC
Yep! It worked fine and dandy! 

Thanks
Comment 8 SpanKY gentoo-dev 2003-07-15 18:50:35 UTC
added the patch to cvs, thanks so much :) 
 
i wonder if it dies on xmess too ... ;x 
Comment 9 Jan Gutter 2003-07-16 03:21:58 UTC
Yah, xmess has the same problem and the same patch works ;-)