Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56310 - boson-0.10 fails to compile
Summary: boson-0.10 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 02:31 UTC by Dominic Finke
Modified: 2004-07-12 04:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Finke 2004-07-07 02:31:16 UTC
Hi, it's my first bug report, so please tell me if you need any other information. 

My problem is: when I try to emerge boson-0.10, every dep is compiled fine, but boson-0.10 itself fails. I get the following error message:

....
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../../bodebug -I../.. -I../../kgame -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/inclu de   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic  -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconver sion -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno- check-new  -MT boglquerystates.lo -MD -MP -MF ".deps/boglquerystates.Tpo" \
  -c -o boglquerystates.lo `test -f 'boglquerystates.cpp' || echo './'`boglquerystates.cpp; \
then mv -f ".deps/boglquerystates.Tpo" ".deps/boglquerystates.Plo"; \
else rm -f ".deps/boglquerystates.Tpo"; exit 1; \
fi
boglquerystates.cpp: In constructor `GLStates::GLStates()':
boglquerystates.cpp:372: error: `GL_BLEND_COLOR' undeclared (first use this
   function)
boglquerystates.cpp:372: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
boglquerystates.cpp:374: error: `GL_BLEND_EQUATION' undeclared (first use this
   function)
boglquerystates.cpp:390: error: `GL_COLOR_MATRIX' undeclared (first use this
   function)
boglquerystates.cpp:391: error: `GL_COLOR_TABLE' undeclared (first use this
   function)
boglquerystates.cpp:393: error: `GL_CONVOLUTION_1D' undeclared (first use this
   function)
boglquerystates.cpp:394: error: `GL_CONVOLUTION_2D' undeclared (first use this
   function)
boglquerystates.cpp:439: error: `GL_HISTOGRAM' undeclared (first use this
   function)
boglquerystates.cpp:490: error: `GL_MINMAX' undeclared (first use this
   function)
boglquerystates.cpp:521: error: `GL_POST_COLOR_MATRIX_ALPHA_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:522: error: `GL_POST_COLOR_MATRIX_ALPHA_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:523: error: `GL_POST_COLOR_MATRIX_BLUE_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:524: error: `GL_POST_COLOR_MATRIX_BLUE_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:525: error: `GL_POST_COLOR_MATRIX_COLOR_TABLE' undeclared
   (first use this function)
boglquerystates.cpp:526: error: `GL_POST_COLOR_MATRIX_GREEN_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:527: error: `GL_POST_COLOR_MATRIX_GREEN_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:528: error: `GL_POST_COLOR_MATRIX_RED_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:529: error: `GL_POST_COLOR_MATRIX_RED_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:530: error: `GL_POST_CONVOLUTION_ALPHA_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:531: error: `GL_POST_CONVOLUTION_ALPHA_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:532: error: `GL_POST_CONVOLUTION_BLUE_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:533: error: `GL_POST_CONVOLUTION_BLUE_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:534: error: `GL_POST_CONVOLUTION_COLOR_TABLE' undeclared
   (first use this function)
boglquerystates.cpp:535: error: `GL_POST_CONVOLUTION_GREEN_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:536: error: `GL_POST_CONVOLUTION_GREEN_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:537: error: `GL_POST_CONVOLUTION_RED_BIAS' undeclared
   (first use this function)
boglquerystates.cpp:538: error: `GL_POST_CONVOLUTION_RED_SCALE' undeclared
   (first use this function)
boglquerystates.cpp:552: error: `GL_SEPARABLE_2D' undeclared (first use this
   function)
boglquerystates.cpp:607: error: `GL_ACTIVE_TEXTURE_ARB' undeclared (first use
   this function)
boglquerystates.cpp:608: error: `GL_CLIENT_ACTIVE_TEXTURE_ARB' undeclared
   (first use this function)
make[3]: *** [boglquerystates.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson/info'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10'
make: *** [all] Error 2
 
!!! ERROR: games-strategy/boson-0.10 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! emake failed



Reproducible: Always
Steps to Reproduce:
1. emerge boson
2.
3.

Actual Results:  
The Package failed to compile.

Expected Results:  
The Package should compile.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r1)
=================================================================
System uname: 2.6.7-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://localhost/neu/gentoo_mirror/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi alsa apache2 arts avi berkdb cdr crypt cups dga
directfb doc dvd dvdr encode esd ethereal fbcon flac foomaticdb gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib jabber java jpeg kde
libg++ libwww mad maildir mbox mikmod mmx motif mozilla mpeg msn ncurses nls
nocd oggvorbis opengl oscar oss pam pdflib perl png python qt quicktime readline
samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype unicode
usb videos wmf wxwindows x86 xface xinerama xml xml2 xmms xv yahoo zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-10 00:35:58 UTC
What are you using for you X and opengl stuff, packages and versions please.
Comment 2 Dominic Finke 2004-07-12 04:53:28 UTC
Fixed it myself. :)
I am running XFree 4.3.0-r5 and WAS running nvidia-kernel 1.0.6106 + nvidia-glx 1.0.6106. Besides that, I had more than one dm installed (i'm using openbox and had gnome 2.6 and kde 3.2 installed too).

After downgrading to nvidia-kernel 1.0.5336-r3 + nvidia-glx 1.0.5336-r2 and cleaning up my sys by removing gnome and kde (which I acually never used) boson-0.10 compiled fine.

So everthing is OK for me now. THX for the answer anyway. :) Until my next bug report....