trying to emerge scorched3d, it trys to install ode-0.0.39 and emake failes on compile. Reproducible: Always Steps to Reproduce: 1. emerge scorched3d 2. 3. drawstuff/src/drawstuff.cpp: In function `void dsDrawCappedCylinder(const float*, const float*, float, float)': drawstuff/src/drawstuff.cpp:1345: error: `glShadeModel' cannot be used as a function drawstuff/src/drawstuff.cpp:1357: error: `glDepthRange' cannot be used as a function drawstuff/src/drawstuff.cpp: In function `void dsDrawLine(const float*, const float*)': drawstuff/src/drawstuff.cpp:1365: error: `glColor3f' cannot be used as a function drawstuff/src/drawstuff.cpp:1366: error: `glDisable' cannot be used as a function drawstuff/src/drawstuff.cpp:1367: error: `glLineWidth' undeclared (first use this function) drawstuff/src/drawstuff.cpp:1368: error: `glShadeModel' cannot be used as a function drawstuff/src/drawstuff.cpp:1369: error: `GL_LINES' undeclared (first use this function) drawstuff/src/drawstuff.cpp:1369: error: `glBegin' cannot be used as a function drawstuff/src/drawstuff.cpp:1370: error: `glVertex3f' undeclared (first use this function) drawstuff/src/drawstuff.cpp: In function `void __static_initialization_and_destruction_0(int, int)': drawstuff/src/drawstuff.cpp:1066: warning: statement with no effect drawstuff/src/drawstuff.cpp: At top level: drawstuff/src/drawstuff.cpp:283: warning: `int tnum' defined but not used drawstuff/src/drawstuff.cpp:289: warning: `void setCamera(float, float, float, float, float, float)' defined but not used drawstuff/src/drawstuff.cpp:473: warning: `int index[20][3]' defined but not used drawstuff/src/drawstuff.cpp:850: warning: `void drawSky(float*)' defined but not used drawstuff/src/drawstuff.cpp:1048: warning: `int drawGround()' defined but not used drawstuff/src/drawstuff.cpp:1051: warning: `int drawPyramidGrid()' defined but not used make: *** [drawstuff/src/drawstuff.o] Error 1 !!! ERROR: dev-games/ode-0.039 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! emake failed
Remember to include the output of emerge --info in your bug reports as requested on the bug submission page. Thanks.
Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.16/sites/www.ibiblio.org/gentoo/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
What opengl are you using. ode compiles fine with nvidia stuff here.
i have installed the latest nvidia drivers from their website
sounds like you installed them by hand.
well yea i wanted the latest nvidia drivers and they weren't in portage is this a problem with getting ode to compile correctly?
Well, the errors you posted make me think your opengl setup is screwed up somehow. Combined with the fact that we have nearly the same setup otherwise, I'm pretty sure that has something to do with it. I recommend you uninstall your hand-installed nvidia stuff and stick with the 4xxx series of the nvidia drivers which are the stable ones at this time. Be sure to run opengl-update nvidia when you're done with that.
Also... the latest ~arch drivers in portage are quite stable. You could always try an "ACCEPT_KEYWODS=~x86 emerge nvidia-kernel nvidia-glx" to get the newest drivers then try ode again.
yea installing the drivers from portage for nvidia fixed the problem, not sure why that is making a difference though :( thanks guys
Great, glad things are working for you.