Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114377 - crack-attack fails to compile: cannot find -lGL
Summary: crack-attack fails to compile: cannot find -lGL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 11:16 UTC by Carlos Eduardo Santos
Modified: 2005-12-03 20:03 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 Carlos Eduardo Santos 2005-12-03 11:16:54 UTC
Crack-attack can't be compiled and wxGTK-2.6.1 wxpython-2.6.1.0 fox-1.2.6-r2
must have the opengl flag disabled to be installed successfuly.

Reproducible: Always
Steps to Reproduce:
1.USE=opengl emerge wxGTK wxpython fox crac-attack

Actual Results:  
Output of crack-attack. If you need others, please ask me.

i686-pc-linux-gnu-g++ -DBR_PTHREAD=0  -I/usr/include/SDL -D_REENTRANT -march=ath
lon-xp -O3 -pipe -fomit-frame-pointer   -o crack-attack  ActionRecorder.o Attack
.o Block.o BlockManager.o CelebrationManager.o Clock.o ComboManager.o ComboTabul
ator.o Communicator.o ComputerPlayer.o ComputerPlayerAI.o Controller.o CountDown
Manager.o Creep.o Displayer.o Game.o Garbage.o GarbageFlavorImage.o GarbageGener
ator.o GarbageManager.o GarbageQueue.o Grid.o LevelLights.o LightManager.o LoseB
ar.o MessageManager.o MetaState.o Random.o Sine.o Score.o ScoreRecordManager.o S
wapper.o SparkleManager.o Spring.o SignManager.o String.o TextureLoader.o WinRec
ord.o X.o DrawBlocks.o DrawGarbage.o DrawCandy.o DrawScoreRecord.o DrawSwapper.o
 DrawExternalCandy.o DrawLevelLights.o DrawCountDown.o DrawMessages.o DrawWinRec
ord.o obj_block.o obj_garbage.o obj_garbage_thin_middle.o obj_garbage_thin_cap.o
 obj_garbage_thick_corner.o obj_garbage_thick_edge.o obj_garbage_thick_middle.o 
obj_garbage_small.o obj_sparkle.o obj_sign.o obj_swapper.o obj_external_candy.o 
obj_level_lights.o obj_messages.o obj_clock.o obj_name.o obj_score_record.o pref
ix.o Music.o Sound.o -lSM -lICE   -lGL -lGLU -lglut -lXi -lX11 -lXmu gtk-gui/lib
gtkgui.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1
.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr
/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: c
annot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [crack-attack] Error 1
make[3]: Leaving directory `/var/tmp/portage/crack-attack-1.1.14-r1/work/crack-a
ttack-1.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/crack-attack-1.1.14-r1/work/crack-a
ttack-1.1.14/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/crack-attack-1.1.14-r1/work/crack-a
ttack-1.1.14/src'
make: *** [all-recursive] Error 1

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

Expected Results:  
Should be emerged successfuly

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.1
4-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-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/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/s
hare/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/g
eneric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/q
mail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicam
p.br/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X apache2 audiofile avi bash-completion berkdb bitm
ap-fonts bluetooth bonobo bzip2 bzlib cddb cdr crypt cups curl divx4linux dts dv
d dvdr emboss esd ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran
 gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagi
ck imlib innodb java javascript jpeg jpeg2k junit kdeenablefinal lcms libg++ lib
www logrotate mad mmx mmx2 mmxext mng motif mp3 mpeg msn mysql ncurses nls nptl 
nsplugin nvidia offensive ogg oggvorbis opengl oscar pam pcre pdflib perl php pn
g python quicktime readline rtc ruby samba sasl sdl slang sqlite sse ssl tcpd te
tex threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 v
hosts vorbis win32codecs xine xinerama xml xml2 xmms xosd xprint xv xvid yv12 zl
ib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-12-03 11:24:44 UTC
try running opengl-update --use-old.
Comment 2 SpanKY gentoo-dev 2005-12-03 11:32:18 UTC
not an issue with crack-attack, your GL is broken somehow
Comment 3 Carlos Eduardo Santos 2005-12-03 20:03:43 UTC
(In reply to comment #1)
> try running opengl-update --use-old.
> 

I tried that and also `opengl-update xorg-x11`. The last one worked! Thank you!