I'm getting an ld error... can't find -lGL when trying to compile GL-117 on AMD64, 2005.1. Let me know what else you need, if anything. ~~ Andrew D. StubbornAesthetics ~ # emerge gl117 Calculating dependencies ...done! >>> emerge (1 of 1) games-simulation/gl117-1.3.2 to / >>> Downloading http://gentoo.chem.wisc.edu/gentoo/distfiles/gl-117-1.3.2-src.tar.bz2 --16:51:39-- http://gentoo.chem.wisc.edu/gentoo/distfiles/gl-117-1.3.2-src.tar.bz2 => `/usr/portage/distfiles/gl-117-1.3.2-src.tar.bz2' Resolving gentoo.chem.wisc.edu... 128.104.70.13 Connecting to gentoo.chem.wisc.edu[128.104.70.13]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,411,075 [application/x-tar] 100%[====================================>] 2,411,075 194.75K/s ETA 00:00 16:51:50 (212.79 KB/s) - `/usr/portage/distfiles/gl-117-1.3.2-src.tar.bz2' saved [2,411,075/2,411,075] >>> md5 files ;-) gl117-1.3.1.ebuild >>> md5 files ;-) gl117-1.3.2.ebuild >>> md5 files ;-) files/digest-gl117-1.3.1 >>> md5 files ;-) files/digest-gl117-1.3.2 >>> md5 files ;-) files/1.3-gcc-3.4-gentoo.patch >>> md5 src_uri ;-) gl-117-1.3.2-src.tar.bz2 >>> Unpacking source... >>> Unpacking gl-117-1.3.2-src.tar.bz2 to /var/tmp/portage/gl117-1.3.2/work >>> Source unpacked. * Using GNU config files from /usr/share/libtool * No config.sub found in /var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src, skipping ... * No config.guess found in /var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src, skipping ... ./configure --prefix=/usr/games --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... libraries /usr/lib64, headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether byte ordering is bigendian... no checking for OpenGL directory... /usr checking for SDL directory... /usr checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for glEnable in -lGL... no configure: WARNING: GL not found - please install GL or MesaGL checking for gluPerspective in -lGLU... no configure: WARNING: GLU not found - please install GLU or MesaGLU checking for glutMainLoop in -lglut... no configure: WARNING: GLUT not found - please install GLUT or MesaGLUT checking for SDL_Init in -lSDL... no configure: WARNING: SDL not found - please install SDL checking for Mix_LoadMUS in -lSDL_mixer... no configure: WARNING: SDL_mixer not found - please install SDL_mixer configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src'Making all in src make[2]: Entering directory `/var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src/src' if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi main.cpp:5154: warning: 'void myIdleFunc()' defined but not used if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT gl.o -MD -MP -MF ".deps/gl.Tpo" -c -o gl.o gl.cpp; \ then mv -f ".deps/gl.Tpo" ".deps/gl.Po"; else rm -f ".deps/gl.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT model.o -MD -MP -MF ".deps/model.Tpo" -c -o model.o model.cpp; \ then mv -f ".deps/model.Tpo" ".deps/model.Po"; else rm -f ".deps/model.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT 3ds.o -MD -MP -MF ".deps/3ds.Tpo" -c -o 3ds.o 3ds.cpp; \ then mv -f ".deps/3ds.Tpo" ".deps/3ds.Po"; else rm -f ".deps/3ds.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT audio.o -MD -MP -MF ".deps/audio.Tpo" -c -o audio.o audio.cpp; \ then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f ".deps/audio.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT land.o -MD -MP -MF ".deps/land.Tpo" -c -o land.o land.cpp; \ then mv -f ".deps/land.Tpo" ".deps/land.Po"; else rm -f ".deps/land.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT glland.o -MD -MP -MF ".deps/glland.Tpo" -c -o glland.o glland.cpp; \ then mv -f ".deps/glland.Tpo" ".deps/glland.Po"; else rm -f ".deps/glland.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT aiobject.o -MD -MP -MF ".deps/aiobject.Tpo" -c -o aiobject.o aiobject.cpp; \ then mv -f ".deps/aiobject.Tpo" ".deps/aiobject.Po"; else rm -f ".deps/aiobject.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT effects.o -MD -MP -MF ".deps/effects.Tpo" -c -o effects.o effects.cpp; \ then mv -f ".deps/effects.Tpo" ".deps/effects.Po"; else rm -f ".deps/effects.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT vertexarray.o -MD -MP -MF ".deps/vertexarray.Tpo" -c -o vertexarray.o vertexarray.cpp; \ then mv -f ".deps/vertexarray.Tpo" ".deps/vertexarray.Po"; else rm -f ".deps/vertexarray.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.cpp; \ then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT mathtab.o -MD -MP -MF ".deps/mathtab.Tpo" -c -o mathtab.o mathtab.cpp; \ then mv -f ".deps/mathtab.Tpo" ".deps/mathtab.Po"; else rm -f ".deps/mathtab.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT dirs.o -MD -MP -MF ".deps/dirs.Tpo" -c -o dirs.o dirs.cpp; \ then mv -f ".deps/dirs.Tpo" ".deps/dirs.Po"; else rm -f ".deps/dirs.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT objload.o -MD -MP -MF ".deps/objload.Tpo" -c -o objload.o objload.cpp; \ then mv -f ".deps/objload.Tpo" ".deps/objload.Po"; else rm -f ".deps/objload.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT pilots.o -MD -MP -MF ".deps/pilots.Tpo" -c -o pilots.o pilots.cpp; \ then mv -f ".deps/pilots.Tpo" ".deps/pilots.Po"; else rm -f ".deps/pilots.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT loader_tga.o -MD -MP -MF ".deps/loader_tga.Tpo" -c -o loader_tga.o loader_tga.cpp; \ then mv -f ".deps/loader_tga.Tpo" ".deps/loader_tga.Po"; else rm -f ".deps/loader_tga.Tpo"; exit 1; fi loader_tga.cpp:42:1: warning: multi-line comment if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT object.o -MD -MP -MF ".deps/object.Tpo" -c -o object.o object.cpp; \ then mv -f ".deps/object.Tpo" ".deps/object.Po"; else rm -f ".deps/object.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT conf.o -MD -MP -MF ".deps/conf.Tpo" -c -o conf.o conf.cpp; \ then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; else rm -f ".deps/conf.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT mission.o -MD -MP -MF ".deps/mission.Tpo" -c -o mission.o mission.cpp; \ then mv -f ".deps/mission.Tpo" ".deps/mission.Po"; else rm -f ".deps/mission.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT cockpit.o -MD -MP -MF ".deps/cockpit.Tpo" -c -o cockpit.o cockpit.cpp; \ then mv -f ".deps/cockpit.Tpo" ".deps/cockpit.Po"; else rm -f ".deps/cockpit.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o common.cpp; \ then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o menu.cpp; \ then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT fileloader.o -MD -MP -MF ".deps/fileloader.Tpo" -c -o fileloader.o fileloader.cpp; \ then mv -f ".deps/fileloader.Tpo" ".deps/fileloader.Po"; else rm -f ".deps/fileloader.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -march=k8 -O2 -pipe -I/usr/include -I/usr/include -MT maploader.o -MD -MP -MF ".deps/maploader.Tpo" -c -o maploader.o maploader.cpp; \ then mv -f ".deps/maploader.Tpo" ".deps/maploader.Po"; else rm -f ".deps/maploader.Tpo"; exit 1; fi x86_64-pc-linux-gnu-g++ -march=k8 -O2 -pipe -I/usr/include -I/usr/include -lm -lGL -lGLU -lglut -o gl-117 main.o gl.o model.o 3ds.o audio.o land.o glland.o aiobject.o effects.o vertexarray.o net.o mathtab.o dirs.o objload.o pilots.o loader_tga.o object.o conf.o mission.o cockpit.o common.o menu.o fileloader.o maploader.o -L/usr/X11R6/lib -L/usr/lib -L/usr/lib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[2]: *** [gl-117] Error 1 make[2]: Leaving directory `/var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gl117-1.3.2/work/gl-117-1.3.2-src' make: *** [all] Error 2 !!! ERROR: games-simulation/gl117-1.3.2 failed. !!! Function games_src_compile, Line 164, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. Set gl117 to ~amd64 2. emerge gl117 Actual Results: Emerge failed. StubbornAesthetics ~ # emerge info Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64) ================================================================= System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com" LANG="en_US.utf8" LC_ALL="en_US.utf8" 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 aac aalib accessibility acpi aim alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdparanoia cdr cjk crypt cups curl curlwrappers dbus ddbm dga dio dvd dvdr dvdread eds emboss emul-linux-x86 encode esd ethereal exif expat f77 faad fam fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib inifile ipv6 jabber jack java javascript joystick jp2 jpeg kde ladcca ldap lesstif libcaca libg++ libwww lm_sensors lmcs lzw lzw-tiff mad mbox mikmod mng motif mozilla mp3 mpeg msn mysql nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pdds pdflib perl png portaudio ppds python qt quicktime readline ruby samba sambasasl scanner sdl slang sndfile snmp sockets sox speex spell ssl svg tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wifi wmf xine xinerama xml xml-rpc xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Just a note... looking through the configure stage... I do have SDL stuff installed, but it's apparently not finding it... same with -lGL...
looks like screwed up links, opengl-update nvidia or opengl-update xorg-x11 (depending on what you are using) should fix it. please reopen if that's not the case
"eselect opengl set nvidia" fixed the issue. Thanks!