Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98974 - games-arcade/koules-1.4-r1 refuses to compile with USE="svga" (link failure)
Summary: games-arcade/koules-1.4-r1 refuses to compile with USE="svga" (link failure)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 02:28 UTC by Simon Farnsworth
Modified: 2005-07-17 04:49 UTC (History)
1 user (show)

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 Simon Farnsworth 2005-07-14 02:28:12 UTC
When I try and build koules, I get the following messages:
gcc -I svgalib -fomit-frame-pointer -O6  -ffast-math -funroll-loops
-finline-functions   -s -Dlinux -Wall -DHAVEUSLEEP   
-DSOUNDDIR="\"/usr/local/lib/koules\"" -D SOUND -D MOUSE -D NETSUPPORT
-DSOUNDSERVER=\"/usr/local/lib/koules/koules.sndsrv.linux\"
-DSOUNDDIR=\"/usr/local/lib/koules\" -DSOUNDDEV=\"/dev/dsp\"  -o koules.svga
koules.o sound.o menu.o gameplan.o font.o intro.o svgalib/init.o framebuffer.o
cmap.o rcfiles.o server.o client.o sock.o objectsio.o -lvgagl -lvga -lm
menu.o: In function `draw_menu':
menu.c:(.text+0xe0c): undefined reference to `DrawRectangle'
menu.c:(.text+0xe5c): undefined reference to `DrawRectangle'
menu.c:(.text+0xe8a): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0xeb8): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0xee6): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0xf14): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0xf42): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0xf70): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0xf9e): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0xfcc): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0xffa): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0x1028): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0x1550): undefined reference to `DrawBlackMaskedText'
menu.c:(.text+0x15ce): undefined reference to `DrawWhiteMaskedText'
menu.o: In function `keys_keys':
menu.c:(.text+0x1dae): undefined reference to `GetKey'
menu.o: In function `draw_keys':
menu.c:(.text+0x1ef2): undefined reference to `DrawWhiteMaskedText'
menu.c:(.text+0x1fab): undefined reference to `DrawWhiteMaskedText'
gameplan.o: In function `effect':
gameplan.c:(.text+0x23c): undefined reference to `DrawText'
gameplan.c:(.text+0x249): undefined reference to `CopyToScreen'
intro.o: In function `starwars':
intro.c:(.text+0xd73): undefined reference to `CopyVSToVS'
intro.c:(.text+0x103b): undefined reference to `CopyToScreen'
intro.c:(.text+0x1324): undefined reference to `Pressed'
intro.c:(.text+0x1332): undefined reference to `Pressed'
intro.o: In function `outro':
intro.c:(.text+0x14fd): undefined reference to `CopyVSToVS'
intro.c:(.text+0x15eb): undefined reference to `CopyToScreen'
intro.c:(.text+0x16a0): undefined reference to `Pressed'
intro.o: In function `outro2':
intro.c:(.text+0x1ac0): undefined reference to `CopyVSToVS'
intro.c:(.text+0x1c6b): undefined reference to `CopyToScreen'
intro.c:(.text+0x1f2c): undefined reference to `Pressed'
framebuffer.o: In function `draw_ball_bitmap':
framebuffer.c:(.text+0x1b1): undefined reference to `CompileBitmap'
framebuffer.o: In function `draw_reversed_ball_bitmap':
framebuffer.c:(.text+0x37a): undefined reference to `CompileBitmap'
framebuffer.o: In function `draw_apple_bitmap':
framebuffer.c:(.text+0x5c2): undefined reference to `CompileBitmap'
framebuffer.o: In function `create_bitmap':
framebuffer.c:(.text+0x861): undefined reference to `CompileBitmap'
framebuffer.c:(.text+0x884): undefined reference to `CompileBitmap'
collect2: ld returned 1 exit status
make: *** [koules.svga] Error 1

USE="-svga" emerge koules works, however.

Reproducible: Always
Steps to Reproduce:




emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -fweb -funit-at-a-time -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -fweb -funit-at-a-time -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.ntua.gr/pub/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X a52 aac aalib acl acpi alsa amarok amr
apache2 arts artswrappersuid asm audiofile avi bash-completion berkdb
bitmap-fonts bluetooth bzip2 bzlib cacheemu cairo calendar ccache cdda cddb cdio
cdparanoia cdr cdrom crypt css cups curl dbi dbm dbus dbx delays dga dio
dlloader dnd doc dpms dts dv dvb dvd dvdr dvdread editor edl emboss emoticon
encode examples exif ext-png ext-zlib fam fame fdftk festival ffmpeg fftw flac
foomaticdb fortran freetts freetype ftp ftruncate gcj gd gdbm gif gimp glitz
glut gnokii gnome gphoto2 gpm gstreamer gtk gtk2 hal haskell howl ide ieee1394
imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack java javascript jit
joystick jpeg jpeg2k kcal kde kdeenablefinal kdepim kipi ladcca ladspa lcms ldap
libclamav libdsk libg++ libwww lirc live lm_sensors logitech-mouse lufsusermount
lzo lzw lzw-tiff mad maildir maps mbox md5sum mikmod mime mixer mjpeg mmap mmx
mmxext mng motif moznocompose moznoirc moznomail mozplaintext mozsvg mp3 mpeg
mpeg4 mplayer msn multicall music mysql mysqli mythtv native ncurses net network
nls nntp no-old-linux nodrm nowin nptl ntlm nviz offensive ogg oggvorbis openal
opengl oss pam pcntl pcre pda pdf pdflib perl pic png postgres python qemu-fast
qt quicktime rdesktop readline real recode remix rtc ruby sasl scanner sdl
session sharedmem smime sms sndfile sockets softmmu sounds soundtouch sox speech
speex spell sql sse ssl stencil-buffer stream subtitles subversion suid svg svga
svgz tcltk tcpd tetex theora tiff timidity transcode truetype truetype-fonts
type1-fonts usb utf8 v4l v4l2 vcd vhosts videos vidix vim-with-x virtual
visualization vmdbpostgres vnc vorbis win32codecs withsamplescripts wmf xanim
xine xinerama xml xml2 xrandr xscreensaver xv xvid yahoo yv12 zeroconf zlib zvbi
video_cards_radeon linguas_en linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Nikolas Garofil 2005-07-14 02:45:57 UTC
Works fine here, the installation of svgalib probably failed.
Try "emerge -C svgalib" and let koules reinstall it with "emerge koules" (with
svgalib USE flag enabled)
Comment 2 Stian Skjelstad 2005-07-16 06:17:00 UTC
configure has issues about respecting -without-svgalib the correct way?
Comment 3 Simon Farnsworth 2005-07-17 04:49:25 UTC
"emerge -C svgalib && emerge koules" did indeed fix it. Thanks for the help.