SkyStreets fails to compile wih the following error: i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"skystreets\" -DVERSION=\"0.2.4\" -I. -I. `sdl-config --cflags` -Wall -O2 -DDATAPATH=\"/usr/share/games/skystreets\" -march=athlon-xp -Os -pipe -m3dnow -mmmx -msse -ftracer -fweb -c -o game.o `test -f game.cpp || echo './'`game.cpp game.cpp: In function `void gDrawScene()': game.cpp:514: Fehler: `glBlendEquation' undeclared (first use this function) game.cpp:514: Fehler: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [game.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/tmp/portage/skystreets-0.2.4/work/skystreets-0.2.4' make: *** [all-recursive] Fehler 1 !!! ERROR: games-arcade/skystreets-0.2.4 failed. !!! Function games_src_compile, Line 143, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. root:/home/xxx> Reproducible: Always Steps to Reproduce: 1.emerge skystreets 2. 3. Actual Results: i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"skystreets\" -DVERSION=\"0.2.4\" -I. -I. `sdl-config --cflags` -Wall -O2 -DDATAPATH=\"/usr/share/games/skystreets\" -march=athlon-xp -Os -pipe -m3dnow -mmmx -msse -ftracer -fweb -c -o game.o `test -f game.cpp || echo './'`game.cpp game.cpp: In function `void gDrawScene()': game.cpp:514: Fehler: `glBlendEquation' undeclared (first use this function) game.cpp:514: Fehler: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [game.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/tmp/portage/skystreets-0.2.4/work/skystreets-0.2.4' make: *** [all-recursive] Fehler 1 !!! ERROR: games-arcade/skystreets-0.2.4 failed. !!! Function games_src_compile, Line 143, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. root:/home/xxx> Expected Results: mmh..build & install SkyStreets maybe :-) root:/home/xxx>emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.4 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-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe -m3dnow -mmmx -msse -ftracer -fweb" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -m3dnow -mmmx -msse -ftracer -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs digest distlocks sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.math.bme.hu http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirror.pudas.net/gentoo http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dfx 3dnow X alsa apm avi berkdb bitmap-fonts cdr crypt cups divx4linux encode extensions f77 foomaticdb gdbm ggi gif gpm gtk gtk2 guile icq imlib java jpeg libg++ libwww mmx motif mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls nptl offensive opengl pam pdflib perl pic png ppds python qt quicktime readline samba sdl slang ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xprint xv zlib linguas_de"
run opengl-update for whatever you're using for opengl and try it again please. Report what you're using for opengl here. Also, try compiling with CXXFLAGS and CFLAGS set to "-pipe" only and see if it makes a difference. reopen this bug after you've tried this please.
Hi, i did as you requested, no change. But, after looking at the error (i did this "learn C in 21 days"-course ;-)), i noticed that simply the function "glBlendEquation" was undeclared, so i removed in the file game.ccp at top those "#ifdef WIN" thingies around the declaration and voila--it compiles! I
Hi, i did as you requested, no change. But, after looking at the error (i did this "learn C in 21 days"-course ;-)), i noticed that simply the function "glBlendEquation" was undeclared, so i removed in the file game.ccp at top those "#ifdef WIN" thingies around the declaration and voila--it compiles! I´ll try to figure out howto make a diff from that and then i´ll upload it...or maybe just email the author? Does this error only show on my box or is it all-around?
reopen...
cyfred - seems to be another case of problems with the nvidia-glx headers. Can you take a look please?
Yeah its definately part of the same problem we saw with torcs + nvidia I'll try and patch this tomorrow...
Created attachment 47206 [details, diff] Patch Apply this in ${S} and it will build.
Skystreets also fails to compile for me... I don't know if it's related to this bug though. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 5 2004, 15:16:07)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apache apm avi bitmap-fonts cdr crypt cups curl encode f77 faac faad fam flac font-server foomaticdb fortran gd geoip gif gphoto2 gpm gtk2 guile imagemagick imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad matroska mikmod mmx mmx2 motif mpeg mysql ncurses network nls no_wxgtk1 oggvorbis opengl pam png python quicktime readline rtc ruby sdl slang spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts xchatdccserver xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 49833 [details] emerge skystreets
added to cvs, thanks guys