Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66324 - Blobwars doesn't compile when SDL is compiled without joystick support.
Summary: Blobwars doesn't compile when SDL is compiled without joystick support.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Games
URL: http://www.saunalahti.fi/~praty/gento...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 10:45 UTC by Petteri Räty (RETIRED)
Modified: 2004-10-04 11:40 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 Petteri Räty (RETIRED) gentoo-dev 2004-10-04 10:45:30 UTC
Boss.o teleporters.o title.o trains.o traps.o triggers.o weapons.o widgets.o main.o -o blobwars
init.o(.text+0x614): In function `initSystem()':
: undefined reference to `SDL_NumJoysticks'
init.o(.text+0x62b): In function `initSystem()':
: undefined reference to `SDL_JoystickEventState'
init.o(.text+0x630): In function `initSystem()':
: undefined reference to `SDL_NumJoysticks'
init.o(.text+0x63c): In function `initSystem()':
: undefined reference to `SDL_JoystickOpen'
init.o(.text+0x9d2): In function `cleanup()':
: undefined reference to `SDL_NumJoysticks'
init.o(.text+0x9e9): In function `cleanup()':
: undefined reference to `SDL_JoystickEventState'
init.o(.text+0x9ee): In function `cleanup()':
: undefined reference to `SDL_NumJoysticks'
init.o(.text+0xa04): In function `cleanup()':
: undefined reference to `SDL_JoystickClose'
options.o(.text+0xa41): In function `showOptions()':
: undefined reference to `SDL_NumJoysticks'
options.o(.text+0xe0c): In function `showOptions()':
: undefined reference to `SDL_NumJoysticks'
collect2: ld returned 1 exit status
distcc[12158] ERROR: compile (null) on localhost failed
make: *** [blobwars] Error 1

!!! ERROR: games-arcade/blobwars-0.91-r2 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. USE="nojoystick" emerge libsdl
2. emerge blobwars
3.




pena portage # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS=" ftp://aria/ http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://aria/portage"
USE="X acpi alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts
bootsplash bzlib cdb cdparanoia cdr crypt cups divx4linux dv dvd dvdr dvdread
encode fbcon foomaticdb ftp gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++
libwww mad mikmod mmx mmx2 motif mozilla mpeg nas ncurses network nls nojoystick
oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc samba sdl
slang slp spell sse sse2 ssl svg svga tcltk tcpd truetype unicode usb v4l v4l2
x86 xine xinerama xml2 xmms xprint xv xvid zlib"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2004-10-04 10:48:05 UTC
Full log:
http://www.saunalahti.fi/~praty/gentoo/2383-blobwars-0.91-r2.log

workaround:
USE="-nojoystick" emerge libsdl
emerge blobwars 
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-10-04 10:57:21 UTC
Yeah, don't do that.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2004-10-04 11:29:35 UTC
Sorry about my incorrect use of USE flags in my examples. I should have said something like: "if you have nojoystick in your USE flags". Blobwars itself doesn't have any use flags. Was my incorrect use of USE flags the reason for this being invalid or something else?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-10-04 11:40:22 UTC
From the ebuild:

        ewarn "Since you've chosen to turn off some of libsdl's functionality,"
        ewarn "don't bother filing libsdl-related bugs until trying to remerge"
        ewarn "libsdl without the no* flags in USE.  You need to know what"
        ewarn "you're doing to selectively turn off parts of libsdl."