>>> emerge (1 of 1) games-fps/avp-cvs-20031110 to / >>> Downloading ftp://gentoo.inode.at/source//distfiles/avp-20031110.tar.bz2 --14:36:54-- ftp://gentoo.inode.at/source/distfiles/avp-20031110.tar.bz2 => `/usr/portage/distfiles/avp-20031110.tar.bz2' Resolving gentoo.inode.at... 81.223.20.162 Connecting to gentoo.inode.at[81.223.20.162]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /source/distfiles ... done. ==> PASV ... done. ==> RETR avp-20031110.tar.bz2 ... done. Length: 1,502,637 (unauthoritative) 100%[====================================================================================================>] 1,502,637 220.87K/s ETA 00:00 14:37:02 (217.79 KB/s) - `/usr/portage/distfiles/avp-20031110.tar.bz2' saved [1502637] >>> md5 src_uri ;-) avp-20031110.tar.bz2 >>> Unpacking source... >>> Unpacking avp-20031110.tar.bz2 to /var/tmp/portage/avp-cvs-20031110/work >>> Source unpacked. gcc -O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx -DLINUX -Dengine=1 -I. -Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/win95/gadgets -I/usr/include/SDL -D_REENTRANT -c -o main.o main.c In file included from main.c:9: oglfunc.h:203: parse error before "pglColorTableEXT" oglfunc.h:203: warning: data definition has no type or storage class oglfunc.h:204: parse error before "pglGetColorTableParameterivEXT" oglfunc.h:204: warning: data definition has no type or storage class oglfunc.h:207: parse error before "pglSecondaryColor3fEXT" oglfunc.h:207: warning: data definition has no type or storage class oglfunc.h:208: parse error before "pglSecondaryColor3fvEXT" oglfunc.h:208: warning: data definition has no type or storage class oglfunc.h:209: parse error before "pglSecondaryColor3ubEXT" oglfunc.h:209: warning: data definition has no type or storage class oglfunc.h:210: parse error before "pglSecondaryColor3ubvEXT" oglfunc.h:210: warning: data definition has no type or storage class oglfunc.h:211: parse error before "pglSecondaryColorPointerEXT" oglfunc.h:211: warning: data definition has no type or storage class make: *** [main.o] Error 1 !!! ERROR: games-fps/avp-cvs-20031110 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1.emerge -kuv avp-cvs Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test11-mm1) ================================================================= System uname: 2.6.0-test11-mm1 i686 Intel(R) Celeron(TM) CPU 1300MHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.247.18/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga sdl gpm tcpd pam python esd imlib oggvorbis gnome kde motif opengl mozilla icc dga dvb lirc ggi java bindist cdr directfb xkb nas nojoystick aalib -alsa nvidia nv X gtk2 cjk qt guile tcltk ruby ruby18 maildir curl flash javascript fbcon xml acl odbc ssl samba gtk perl threads sse mmx tiff"
what does `ls -al /usr/include/GL/` show ? what version of XFree do you have ? do you use the nvidia opengl implementation ? if so, what version of nvidia-glx do you use ? ive tried both xfree and nvidia and avp-cvs compiles just fine for me
ok, this is listing... gentoo_aben# ls -al /usr/include/GL/ total 439 drwxr-xr-x 2 root root 512 Dec 3 19:15 . drwxr-xr-x 9 root root 280 Dec 3 19:12 .. -rw-r--r-- 1 root root 0 Nov 24 16:42 .keep -r--r--r-- 1 root root 7946 Dec 3 19:11 GLwDrawA.h -r--r--r-- 1 root root 4433 Dec 3 19:11 GLwDrawAP.h -r--r--r-- 1 root root 2309 Dec 3 19:11 GLwMDrawA.h -r--r--r-- 1 root root 2311 Dec 3 19:11 GLwMDrawAP.h lrwxrwxrwx 1 root root 35 Dec 15 09:51 gl.h -> /usr/lib/opengl/nvidia/include/gl.h -r--r--r-- 1 root root 258464 Dec 3 19:11 glext.h -r--r--r-- 1 root root 15916 Dec 3 19:11 glu.h -rw-r--r-- 1 root root 30192 Nov 26 13:39 glut.h -rw-r--r-- 1 root root 4109 Nov 26 13:39 glutf90.h lrwxrwxrwx 1 root root 36 Dec 15 09:51 glx.h -> /usr/lib/opengl/nvidia/include/glx.h -r--r--r-- 1 root root 26076 Dec 3 19:11 glxext.h -r--r--r-- 1 root root 2543 Dec 3 19:11 glxint.h -r--r--r-- 1 root root 2453 Dec 3 19:11 glxmd.h -r--r--r-- 1 root root 51725 Dec 3 19:11 glxproto.h lrwxrwxrwx 1 root root 42 Dec 15 09:51 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h -r--r--r-- 1 root root 8209 Dec 3 19:11 osmesa.h *x11-base/xfree - Latest version installed: 4.3.0-r3 yes, i have nvidia opengl *media-video/nvidia-glx - Latest version installed: 1.0.4496
ok, i confirmed this ... it fails with nvidia-glx-1.0.4496 ... however it works with nvidia-glx-1.0.5328 ... so i'm kind of in a toss up ;) i say unless the fix is easy to not bother ...
"opengl-update xfree" helps
nvidia-glx-1.0.5328 is masked. please if USE="nv" add nvidia-glx-1.0.5328 as dependency after "opengl-update xfree": main.o(.text+0x61): In function `ReadJoysticks': : undefined reference to `SDL_JoystickUpdate' main.o(.text+0x6f): In function `ReadJoysticks': : undefined reference to `SDL_JoystickNumAxes' main.o(.text+0x7f): In function `ReadJoysticks': : undefined reference to `SDL_JoystickNumBalls' main.o(.text+0x8d): In function `ReadJoysticks': : undefined reference to `SDL_JoystickNumHats' main.o(.text+0xa9): In function `ReadJoysticks': : undefined reference to `SDL_JoystickGetAxis' main.o(.text+0xd5): In function `ReadJoysticks': : undefined reference to `SDL_JoystickGetHat' main.o(.text+0x186): In function `ReadJoysticks': : undefined reference to `SDL_JoystickGetAxis' main.o(.text+0x598): In function `InitSDL': : undefined reference to `SDL_NumJoysticks' main.o(.text+0x5a8): In function `InitSDL': : undefined reference to `SDL_JoystickOpen' main.o(.text+0xf41): In function `CheckForWindowsMessages': : undefined reference to `SDL_JoystickUpdate' main.o(.text+0xf4f): In function `CheckForWindowsMessages': : undefined reference to `SDL_JoystickNumButtons' main.o(.text+0xf8e): In function `CheckForWindowsMessages': : undefined reference to `SDL_JoystickGetButton' main.o(.text+0x1b05): In function `ExitWindowsSystem': : undefined reference to `SDL_JoystickClose' collect2: ld returned 1 exit status make: *** [AvP] Error 1 !!! ERROR: games-fps/avp-cvs-20031110 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! make failed
re-emerge libsdl to fix that SDL errors nvidia-glx-1.0.5328 is in unstable
$emerge libsdl $emerge avp-cvs and... same error * media-libs/libsdl Latest version available: 1.2.6-r3 Latest version installed: 1.2.6-r3
ah well you have 'nojoystick' in your USE ... if you read the description you do so at your own risk ... in other words, those errors are now your problem to fix :) i'm putting a warning into the ebuild that says you need either the xfree opengl or the nvidia-glx-1.0.5328 opengl in order to compile