Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -MT MovieTexture_Null.o -MD -MP -MF ".deps/MovieTexture_Null.Tpo" \ -c -o MovieTexture_Null.o `test -f 'arch/MovieTexture/MovieTexture_Null.cpp' || echo './'`arch/MovieTexture/MovieTexture_Null.cpp; \ then mv -f ".deps/MovieTexture_Null.Tpo" ".deps/MovieTexture_Null.Po"; \ else rm -f ".deps/MovieTexture_Null.Tpo"; exit 1; \ fi arch/InputHandler/InputHandler_SDL.cpp:126: erreur: 'int SDL_EventMask' redeclared as different kind of symbol /usr/include/SDL/SDL_events.h:108: erreur: previous declaration of 'typedef enum SDL_EventMask SDL_EventMask' arch/InputHandler/InputHandler_SDL.cpp: In constructor 'InputHandler_SDL::InputHandler_SDL()': arch/InputHandler/InputHandler_SDL.cpp:176: erreur: expected unqualified-id before '|=' token arch/InputHandler/InputHandler_SDL.cpp: In member function 'virtual void InputHandler_SDL::Update(float)': arch/InputHandler/InputHandler_SDL.cpp:195: erreur: expected primary-expression before ')' token # emerge --info shell-init: error retrieving current directory: getcwd: cannot access parent directories: Aucun fichier ou r
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -MT MovieTexture_Null.o -MD -MP -MF ".deps/MovieTexture_Null.Tpo" \ -c -o MovieTexture_Null.o `test -f 'arch/MovieTexture/MovieTexture_Null.cpp' || echo './'`arch/MovieTexture/MovieTexture_Null.cpp; \ then mv -f ".deps/MovieTexture_Null.Tpo" ".deps/MovieTexture_Null.Po"; \ else rm -f ".deps/MovieTexture_Null.Tpo"; exit 1; \ fi arch/InputHandler/InputHandler_SDL.cpp:126: erreur: 'int SDL_EventMask' redeclared as different kind of symbol /usr/include/SDL/SDL_events.h:108: erreur: previous declaration of 'typedef enum SDL_EventMask SDL_EventMask' arch/InputHandler/InputHandler_SDL.cpp: In constructor 'InputHandler_SDL::InputHandler_SDL()': arch/InputHandler/InputHandler_SDL.cpp:176: erreur: expected unqualified-id before '|=' token arch/InputHandler/InputHandler_SDL.cpp: In member function 'virtual void InputHandler_SDL::Update(float)': arch/InputHandler/InputHandler_SDL.cpp:195: erreur: expected primary-expression before ')' token # emerge --info shell-init: error retrieving current directory: getcwd: cannot access parent directories: Aucun fichier ou répertoire de ce type Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-4.0.2, glibc-2.4-r3, 2.6.15.6 i686) ================================================================= System uname: 2.6.15.6 i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.12.0 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j 3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/xgl-overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac alsa apm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dbus djvu dlloader dri dts dvd dvdr dvdread eds emboss encode ext2 ext3 fat ffmpeg firefox flac foomaticdb gcj gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog jikes jpeg libg++ libwww lzo mad matroska mikmod mmx mmxext mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly ntfs nvidia ogg openal opengl pam pcre pdflib perl pic pie png pppd python qt qt4 quicktime readline reflection reiser4 reiserfs samba sdl session slang smp spell spl sse ssl svg tcpd tga theora threads truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis win32codecs x264 xinerama xml xml2 xorg xrandr xv xvid zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=88302) [edit] stepmania-3.9-sdl.patch Modification of the variable name. Maybe SDL_EventMask is a new SDL enum?
This sdl patch works great for me (solves the sdl problem) however I still have a build failure on 64bit for the threads libraries - it's using an int (32bits) to pass a pointer (64bits) and so the compiler throws an error. Cheers, Alan.
It is due to a change in SDL 1.2.10 to name an anonymous enum which unfortunately clashes with stepmania's internal variable; http://www.libsdl.org/cgi/viewvc.cgi/branches/SDL-1.2/include/SDL_events.h?view=log#rev1832 Currently portage has SDL 1.2.8 stable for X86, PPC and AMD64 while SDL 1.2.11 is in testing (but works for me). The threads build failure appears to be reported in bug 138365.
Fixed in portage. Thank for the patch.
*** Bug 154716 has been marked as a duplicate of this bug. ***