when compiling i have these error : make[3]: Entering directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/gldrv' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -mmmx -m3dnow -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c gl_init.cpp gl_init.cpp: Dans function
when compiling i have these error : make[3]: Entering directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/gldrv' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -mmmx -m3dnow -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c gl_init.cpp gl_init.cpp: Dans function « void init_opengl_extensions() »: gl_init.cpp:106: « glXGetProcAddressARB » non déclaré (première utilisation dans cette fonction) gl_init.cpp:106: (Chaque identificateur non déclaré est rapporté seulement une seule fois pour la fonction dans laquelle il apparaît.) make[3]: *** [gl_init.o] Erreur 1 make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/gldrv' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike' make: *** [all-recursive-am] Erreur 2 Reproducible: Always Steps to Reproduce: 1.emerge vegastrike 2. 3. Actual Results: failed compiling Expected Results: compiled successfully
I got the same problem with the xfree OpenGL. But since I own a GeForce4 video-board, I tried the nVidia OpenGL (opengl-update nvidia). And bingo : now, the package compiles fine for me ! ====================================== emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Celeron (Coppermine) Gentoo Base System version 1.4.3.12 ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config /usr/share/texmf/tex/platex/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" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.83.57.11/sites/www.ibiblio.org/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.skynet.be/gentoo-portage" USE="x86 apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm slang readline arts tetex svga tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif mozilla cdr scanner dga doc jack joystick odbc ruby samba sse usb xinerama -3dnow -berkdb oss opengl"
Vegastrike failed for me as well, further up ld reported that it couldn't find arts_[functionX] a bunch of times. Is arts a requirement for vegastrike? Or just the sdl part?
the solution can be found in #29419 ... i've added the fix to the ebuild