Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48925 - games-arcade/crack-attack-1.1.10 fails to compile
Summary: games-arcade/crack-attack-1.1.10 fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2004-04-25 03:26 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2004-07-15 23:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2004-04-25 03:26:53 UTC
blackhat root # emerge crack-attack
Calculating dependencies ...done!
>>> emerge (1 of 1) games-arcade/crack-attack-1.1.10 to /
>>> md5 src_uri ;-) crack-attack-1.1.10.tar.gz
>>> Unpacking source...
>>> Unpacking crack-attack-1.1.10.tar.gz to /var/tmp/portage/crack-attack-1.1.10/work
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY ) works... yes
checking whether the C compiler (gcc -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY ) works... yes
checking whether the C++ compiler (g++ -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for sys/socket.h... yes
checking for sys/poll.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... yes
checking for working const... yes
checking for inline... inline
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for socket... yes
checking for poll... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating data/Makefile
creating doc/Makefile
creating src/config.h
Making all in src
make[1]: Entering directory `/var/tmp/portage/crack-attack-1.1.10/work/crack-attack-1.1.10/src'
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Attack.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Block.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c BlockManager.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c CelebrationManager.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Clock.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c ComboManager.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c ComboTabulator.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Communicator.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Controller.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c CountDownManager.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Creep.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Displayer.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/games/crack-attack/"'    -march=i686 -O5 -fomit-frame-pointer -pipe -DGL_GLEXT_LEGACY -s -c Game.cxx
Displayer.cxx: In static member function `static void Displayer::initialize()':
Displayer.cxx:103: error: `GL_MAX_TEXTURE_UNITS_ARB' undeclared (first use this
Displayer.cxx:103: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[1]: *** [Displayer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/crack-attack-1.1.10/work/crack-attack-1.1.10/src'
make: *** [all-recursive] Error 1

!!! ERROR: games-arcade/crack-attack-1.1.10 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed

blackhat root # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2)
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
CFLAGS="-march=i686 -O5 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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=i686 -O5 -fomit-frame-pointer -pipe"
FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox usersandbox"
USE="3dnow X aalib alsa apm arts avi berkdb bindist bonobo cdr crypt cscope cups curl dga directfb doc dvd dvdr emacs emacs-w3 encode esd ethereal fbcon flash foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml gtksharp imlib ipv6 java jikes jpeg junit kde ldap leim libg++ libwww mad maildir memlimit mikmod mmx motif mozilla mpeg mule mysql nas ncurses nls nocd oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos wmf wxwindows x86 xinerama xml xml2 xmms xosd xv zlib"
Comment 1 Christoph Brill (egore) (RESIGNED) 2004-04-25 04:25:00 UTC
try playing around with "opengl-update xfree && emerge crack-attack && opengl-update ati/nvidia"
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-04-25 05:23:38 UTC
That did the trick. Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-05-25 13:27:46 UTC
*** Bug 51872 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2004-06-09 15:44:27 UTC
*** Bug 53456 has been marked as a duplicate of this bug. ***
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-22 06:40:34 UTC
Just a question, would it be possible to have the ebuild detect whether we are using nvidia opengl and do automatically the changes?
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-06-22 06:41:53 UTC
A remark: with xorg-x11 it should be:

opengl-update xorg-x11 && emerge crack-attack && opengl-update ati/nvidia
Comment 7 SpanKY gentoo-dev 2004-07-15 20:54:14 UTC
people shouldnt have to screw around with `opengl-update` to make this compile
Comment 8 SpanKY gentoo-dev 2004-07-15 21:19:41 UTC
ok added a patch (1.1.10-GL.patch) and tested it on nvidia-glx-1.0.6106 and x11-base/xorg-x11-6.7.0-r1 ... went smoothly for me :)
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-07-15 23:49:20 UTC
Thank you very much. :)