>>> md5 src_uri ;-) duke3d-20030817.tbz2 >>> Unpacking source... >>> Unpacking duke3d-20030817.tbz2 to /var/tmp/portage/duke3d-20030817-r1/work x86 * Applying 20030817-buildengine-makefile-cflags.patch... [ ok ] * Applying 20030817-credits.patch... [ ok ] * Applying 20030817-duke3d-makefile-opts.patch... [ ok ] x86 opengl >>> Source unpacked. [...] gcc -c -o buildperl.o buildperl.c -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -funsigned-char -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.4/i686-linux-thread-multi/CORE buildperl.c: En la funci
>>> md5 src_uri ;-) duke3d-20030817.tbz2 >>> Unpacking source... >>> Unpacking duke3d-20030817.tbz2 to /var/tmp/portage/duke3d-20030817-r1/work x86 * Applying 20030817-buildengine-makefile-cflags.patch... [ ok ] * Applying 20030817-credits.patch... [ ok ] * Applying 20030817-duke3d-makefile-opts.patch... [ ok ] x86 opengl >>> Source unpacked. [...] gcc -c -o buildperl.o buildperl.c -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -funsigned-char -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.4/i686-linux-thread-multi/CORE buildperl.c: En la función `buildperl_init': buildperl.c:52: error: `my_perl' undeclared (first use in this function) buildperl.c:52: error: (Each undeclared identifier is reported only once buildperl.c:52: error: for each function it appears in.) buildperl.c: En la función `buildperl_frame': buildperl.c:77: error: `my_perl' undeclared (first use in this function) make: *** [buildperl.o] Error 1 make: *** Se espera a que terminen otras tareas.... !!! ERROR: games-fps/duke3d-20030817-r1 failed. !!! Function src_compile, Line 82, Exitcode 2 !!! buildengine failed My system: sys-libs/glibc-2.3.3.20040420-r1 sys-kernel/gentoo-dev-sources-2.6.8 media-video/ati-drivers-3.9.0-r1 AthlonXP 2800 / ATI Radeon 9600Pro / Gigabyte KT600 I'm using 2.6 headers (installed before stage1) to get NPTL support, but when I had 2.4 headers before reinstalling, the problem was the same. Don't know if the NPTL is the problem. Anyway the cvs snapshot is one year old, could be updated.
Confirmed: I just downloaded the latest CVS and compiled ok. It's working perfectly. CVS snapshot should be updated to fix it.
cvs duke3d also seems to have fixes for mouse aiming ... i'll update it shortly
version bumped in cvs
errrr... I don't know if I'm doing something wrong. Finally the file duke3d-20040817.tar.bz2 appeared in the FTPservers and I could compile it. But... max root # emerge duke3d Calculating dependencies ...done! >>> emerge (1 of 1) games-fps/duke3d-20040817 to / >>> md5 src_uri ;-) duke3d-20040817.tar.bz2 >>> Unpacking source... >>> Unpacking duke3d-20040817.tar.bz2 to /var/tmp/portage/duke3d-20040817/work * Applying 20040817-credits.patch... [ ok ] * Applying 20040817-duke3d-makefile-opts.patch... [ ok ] x86 >>> Source unpacked. [...] gcc -o build -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread build.o bstub.o engine.o cache1d.o sdl_driver.o unix_compat.o a_nasm.o pragmas.o a_gnu.o buildgl.o buildperl.c: En la funci
errrr... I don't know if I'm doing something wrong. Finally the file duke3d-20040817.tar.bz2 appeared in the FTPservers and I could compile it. But... max root # emerge duke3d Calculating dependencies ...done! >>> emerge (1 of 1) games-fps/duke3d-20040817 to / >>> md5 src_uri ;-) duke3d-20040817.tar.bz2 >>> Unpacking source... >>> Unpacking duke3d-20040817.tar.bz2 to /var/tmp/portage/duke3d-20040817/work * Applying 20040817-credits.patch... [ ok ] * Applying 20040817-duke3d-makefile-opts.patch... [ ok ] x86 >>> Source unpacked. [...] gcc -o build -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread build.o bstub.o engine.o cache1d.o sdl_driver.o unix_compat.o a_nasm.o pragmas.o a_gnu.o buildgl.o buildperl.c: En la función `buildperl_init': buildperl.c:52: error: `my_perl' undeclared (first use in this function) buildperl.c:52: error: (Each undeclared identifier is reported only once buildperl.c:52: error: for each function it appears in.) buildperl.c: En la función `buildperl_frame': buildperl.c:77: error: `my_perl' undeclared (first use in this function) make: *** [buildperl.o] Error 1 make: *** Se espera a que terminen otras tareas.... !!! ERROR: games-fps/duke3d-20040817 failed. !!! Function src_compile, Line 79, Exitcode 2 !!! buildengine failed As I said, I compiled from CVS that same day, and everything worked. My guess was: could be the two patches that are applied at the beginning not necessary anymore? So I commented out those 2 lines in the ebuild, but the ebuild failed again. Really don't know what's the problem, but as the code compiles by hand. I think the problem must be the ebuild.
I did: USE="-perl" emerge duke3d and now compiled without problems. Don't know whats wrong with the ebuild.