Crystalspace fails to compile with the attached output. tom CS # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r12 i686) ================================================================= System uname: 2.6.9-gentoo-r12 i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 6 2004, 22:58:27)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r1, 1.9.3, 1.8.5-r2, 1.4_p6, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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=athlon-mp -O2 -pipe" DISTDIR="/usr/portage-distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr ftp://ftp.tiscali.nl/pub/mirror/gentoo http://mir.zyrianes.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage-packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X acl alsa apm avi berkdb bitmap-fonts cdr crypt cups dga dvd dvdr eds encode evo fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jikes jpeg ldap libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses network nls nntp nptl offensive oggvorbis opengl oss pam pda pdflib perl png python quicktime readline sdl slang smime spell ssl svga tcltk tcpd tetex tiff truetype unicode xine xml2 xv zlib linguas_en_GB"
Created attachment 46900 [details] Compilation log
what version of xorg-x11 ? you're using xorg-x11's opengl instead of nvidia right ?
Sorry, should've mentioned: xorg is at 6.8.0-r4 and I'm be using nvidia's glx files.
did you try `opengl-update nvidia` before emerging crystalspace ? i'm using nvidia 6629 and i'm not having any problems ...
Just tried that and am getting exactly the same. Any other ideas? Was kinda looking forward to wasting some holiday time in planeshift ;)
Strange that it works for you. Are you using a gcc version lower than 3.4.3? It seems there is a typedef that differs from the one in nvidia's headers. I've created a patch that makes it work for me, but probably breaks it for people not using nvidia...
Created attachment 46954 [details, diff] diff to change typedef to match nvidia's headers
Created attachment 46955 [details, diff] patch against ebuild to use the above
nope, using gcc-3.4.3-r1
mmm just re-emerged some packages and i can reproduce now ... i'll check out the patches
added a similar patch to cvs ... tested with nvidia and xorg-x11 header files thanks for the patch