<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>71574</bug_id>
          
          <creation_ts>2004-11-17 11:28 0000</creation_ts>
          <short_desc>xmame-0.88 fails to compile with ggi support enabled</short_desc>
          <delta_ts>2004-11-17 15:22:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>greg.andreou@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>greg.andreou@gmail.com</who>
            <bug_when>2004-11-17 11:28:41 0000</bug_when>
            <thetext>When emerging xmame-0.88 with ggi enabled it fails while compiling one of the oss related source files.

Reproducible: Always
Steps to Reproduce:
1.USE=&quot;ggi&quot; emerge xmame
2.
3.

Actual Results:  
# @echo &apos;[OSDEPEND] Compiling src/unix/sysdep/mixer-drivers/oss.c ...&apos;
gcc -mtune=pentium4 -O3 -pipe -O -Wall -Wno-unused -DNDEBUG &apos;-DINLINE=static
__inline__&apos; -DLSB_FIRST -DX86_ASM -D__ARCH_linux -D__CPU_i386 -Dggi
-Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DPI=M_PI -DXMAME -DUNIX
-DSIGNED_SAMPLES -DCLIB_DECL=  -DHAS_CDDA=1 -DHAS_CUSTOM=1 -DHAS_SAMPLES=1
-DHAS_DAC=1 -DHAS_DMADAC=1 -DHAS_DISCRETE=1 -DHAS_AY8910=1 -DHAS_YM2203=1
-DHAS_YM2151=0 -DHAS_YM2151_ALT=1 -DHAS_YM2608=1 -DHAS_YM2610=1 -DHAS_YM2610B=1
-DHAS_YM2612=1 -DHAS_YM3438=1 -DHAS_YM2413=1 -DHAS_YM3812=1 -DHAS_YM3526=1
-DHAS_YMZ280B=1 -DHAS_Y8950=1 -DHAS_SN76477=1 -DHAS_SN76496=1 -DHAS_POKEY=1
-DHAS_TIA=1 -DHAS_NES=1 -DHAS_ASTROCADE=1 -DHAS_NAMCO=1 -DHAS_NAMCO_15XX=1
-DHAS_NAMCO_CUS30=1 -DHAS_NAMCO_52XX=1 -DHAS_NAMCO_54XX=1 -DHAS_NAMCO_63701X=1
-DHAS_NAMCONA=1 -DHAS_TMS36XX=1 -DHAS_TMS5110=1 -DHAS_TMS5220=1 -DHAS_VLM5030=1
-DHAS_ADPCM=1 -DHAS_OKIM6295=1 -DHAS_MSM5205=1 -DHAS_MSM5232=1 -DHAS_UPD7759=1
-DHAS_HC55516=1 -DHAS_K005289=1 -DHAS_K007232=1 -DHAS_K051649=1 -DHAS_K053260=1
-DHAS_K054539=1 -DHAS_SEGAPCM=1 -DHAS_RF5C68=1 -DHAS_CEM3394=1 -DHAS_C140=1
-DHAS_QSOUND=1 -DHAS_SAA1099=1 -DHAS_IREMGA20=1 -DHAS_ES5505=1 -DHAS_ES5506=1
-DHAS_BSMT2000=1 -DHAS_YMF262=1 -DHAS_YMF278B=1 -DHAS_GAELCO_CG1V=1
-DHAS_GAELCO_GAE1=1 -DHAS_X1_010=1 -DHAS_MULTIPCM=1 -DHAS_C6280=1 -DHAS_SP0250=1
-DHAS_SCSP=1 -DHAS_PSXSPU=1 -DHAS_YMF271=1 -DHAS_ICS2115=1 -DHAS_ST0016=1
-DHAS_C352=1 -DHAS_Z80=1 -DHAS_Z180=1 -DHAS_8080=1 -DHAS_8085A=1 -DHAS_M6502=1
-DHAS_M65C02=1 -DHAS_M65SC02=0 -DHAS_M65CE02=0 -DHAS_M6509=0 -DHAS_M6510=1
-DHAS_M6510T=0 -DHAS_M7501=0 -DHAS_M8502=0 -DHAS_N2A03=1 -DHAS_DECO16=1
-DHAS_M4510=0 -DHAS_H6280=1 -DHAS_I86=1 -DHAS_I88=1 -DHAS_I186=1 -DHAS_I188=0
-DHAS_I286=0 -DHAS_I386=1 -DHAS_V20=1 -DHAS_V30=1 -DHAS_V33=1 -DHAS_V60=1
-DHAS_V70=1 -DHAS_I8035=1 -DHAS_I8039=1 -DHAS_I8048=1 -DHAS_N7751=1
-DHAS_I8X41=1 -DHAS_M6800=1 -DHAS_M6801=1 -DHAS_M6802=1 -DHAS_M6803=1
-DHAS_M6808=1 -DHAS_HD63701=1 -DHAS_NSC8105=1 -DHAS_M6805=1 -DHAS_M68705=1
-DHAS_HD63705=1 -DHAS_HD6309=1 -DHAS_M6809=1 -DHAS_M6809E=1 -DHAS_KONAMI=1
-DHAS_M68000=1 -DHAS_M68008=0 -DHAS_M68010=1 -DHAS_M68EC020=1 -DHAS_M68020=1
-DHAS_T11=1 -DHAS_S2650=1 -DHAS_TMS34010=1 -DHAS_TMS34020=1 -DHAS_TMS9900=0
-DHAS_TMS9940=0 -DHAS_TMS9980=1 -DHAS_TMS9985=0 -DHAS_TMS9989=0 -DHAS_TMS9995=1
-DHAS_TMS99000=0 -DHAS_TI990_10=0 -DHAS_TMS99105A=0 -DHAS_TMS99110A=0
-DHAS_Z8000=1 -DHAS_TMS32010=1 -DHAS_TMS32025=1 -DHAS_TMS32026=1
-DHAS_TMS32031=1 -DHAS_CCPU=1 -DHAS_ADSP2100=1 -DHAS_ADSP2101=1 -DHAS_ADSP2104=1
-DHAS_ADSP2105=1 -DHAS_ADSP2115=1 -DHAS_ADSP2181=1 -DHAS_PSXCPU=1 -DHAS_ASAP=1
-DHAS_UPD7810=1 -DHAS_UPD7807=1 -DHAS_ARM=1 -DHAS_JAGUAR=1 -DHAS_R3000=1
-DHAS_R4600=1 -DHAS_R4700=1 -DHAS_R5000=1 -DHAS_QED5271=1 -DHAS_RM7000=1
-DHAS_SH2=1 -DHAS_DSP32C=1 -DHAS_PIC16C54=0 -DHAS_PIC16C55=1 -DHAS_PIC16C56=0
-DHAS_PIC16C57=1 -DHAS_PIC16C58=0 -DHAS_G65816=1 -DHAS_SPC700=1 -DHAS_E132XS=1
-DHAS_I960=1 -DHAS_H83002=1 -DHAS_V810=1 -DHAS_M37710=1 -DHAS_PPC403=1 -DA68K0
-DA68K0  -I. -Isrc -Isrc/includes -Isrc/unix -Ixmame.obj/cpu/m68000
-Isrc/cpu/m68000 -DCRLF=2  -DNAME=&apos;&quot;xmame&quot;&apos; -DDISPLAY_METHOD=&apos;&quot;ggi&quot;&apos;
-DXMAMEROOT=&apos;&quot;/usr/share/games/xmame&quot;&apos; -DSYSCONFDIR=&apos;&quot;/usr/share/games/xmame&quot;&apos;
-DSYSDEP_DSP_OSS -DSYSDEP_MIXER_OSS -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-DHAVE_GETTIMEOFDAY -DSYSDEP_DSP_ESOUND `esd-config --cflags` -DSYSDEP_DSP_ALSA
-DSYSDEP_MIXER_ALSA -DEFFECT_MMX_ASM -o
xmame.obj/unix.ggi/sysdep/mixer-drivers/oss.o -c src/unix/sysdep/mixer-drivers/oss.c
src/unix/video-drivers/ggi.c: In function `sysdep_display_driver_open&apos;:
src/unix/video-drivers/ggi.c:277: error: `blSampleLinearBuffer&apos; undeclared
(first use in this function)
src/unix/video-drivers/ggi.c:277: error: (Each undeclared identifier is reported
only once
src/unix/video-drivers/ggi.c:277: error: for each function it appears in.)
src/unix/video-drivers/ggi.c:278: error: union has no member named `slb&apos;
src/unix/video-drivers/ggi.c:280: error: `blSamplePlanarBuffer&apos; undeclared
(first use in this function)
src/unix/video-drivers/ggi.c:281: error: union has no member named `splan&apos;
make: *** [xmame.obj/unix.ggi/video-drivers/ggi.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-emulation/xmame-0.88 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! emake failed (ggi)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
xmame emerges

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mtune=pentium4 -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-mtune=pentium4 -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://gentoo.seren.com/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac aalib acpi acpi4linux activefilter aim alsa amd apm audiofile avi bdf
berkdb bidi bindist bitmap-fonts bonobo bzlib c calendar cddb cdparanoia cdr
cdrom cjk codecs crypt cups curl curlwrappers dga dhcp directfb divx4linux doc
dvd dvdr dvdread eds emoticon encode erandom esd ethereal evo exif f77 faac faad
fam fbcon ffmpeg fftw fla flac foomaticdb fortran ftp gb gcj gd gdbm geoip ggi
gif gimp gimpprint glade gnome gnomedb gnuplot gphoto2 gpm graphviz gs gstreamer
gtk gtk2 gtkhtml guile hal hbci hostap-noplx hub i8x0 icq icu imagemagick imap
imlib imlib2 interbase intl ipv6 jabber jack java javacomm javadoc javamail
javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice
latex lcd ldap libcaca libg++ libgda libwww live lzo lzw lzw-tiff mad matroska
mdb mikmod mime ming mmx mmx2 mng monkey mono mozilla moznocompose moznoirc
moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn ncurses net network nls nntp
nptl ntlm objc ocaml offensive oggvorbis openal opengl oscar oss pam pcmcia pcre
pda pdf pdflib perl png pnp python qt quicktime readline rtc samba scanner sdl
session silc slang smime snmp speex spell sse sse2 ssl svg svga tcltk tcpd
theora tidy tiff timidity truetype trusted unicode usb v4l v4l2 vcdimager vim
vim-with-x wifi wmf wxwin wxwindows x86 xine xml xml2 xmms xosd xpm xscreensaver
xsl xv xvid xvmc yahoo yv12 zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-11-17 15:22:33 0000</bug_when>
            <thetext>guess it&apos;s still broken.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>