Without "joystick" emerge fails. Reproducible: Always Steps to Reproduce: 1. USE="-joystick" emerge -N media-libs/libsdl 2. emerge openarena Actual Results: CC code/sys/sys_unix.c CC code/sdl/sdl_glimp.c code/sys/sys_unix.c: In function 'Sys_Cwd': code/sys/sys_unix.c:234: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result SMP_CC code/sdl/sdl_glimp.c LD openarena-build/oa_ded.amd64 LD openarena-build/openarena.amd64 LD openarena-build/openarena-smp.amd64 openarena-build/client/sdl_input.o: In function `IN_ShutdownJoystick': sdl_input.c:(.text+0x4b1): undefined reference to `SDL_JoystickClose' openarena-build/client/sdl_input.o: In function `IN_Init': sdl_input.c:(.text+0x750): undefined reference to `SDL_JoystickClose' sdl_input.c:(.text+0x793): undefined reference to `SDL_NumJoysticks' sdl_input.c:(.text+0x7b3): undefined reference to `SDL_JoystickName' sdl_input.c:(.text+0x807): undefined reference to `SDL_JoystickOpen' sdl_input.c:(.text+0x83c): undefined reference to `SDL_JoystickName' sdl_input.c:(.text+0x857): undefined reference to `SDL_JoystickNumAxes' sdl_input.c:(.text+0x871): undefined reference to `SDL_JoystickNumHats' sdl_input.c:(.text+0x88b): undefined reference to `SDL_JoystickNumButtons' sdl_input.c:(.text+0x8a5): undefined reference to `SDL_JoystickNumBalls' sdl_input.c:(.text+0x8bd): undefined reference to `SDL_JoystickEventState' openarena-build/client/sdl_input.o: In function `IN_Frame': sdl_input.c:(.text+0x9e5): undefined reference to `SDL_JoystickUpdate' sdl_input.c:(.text+0x9fe): undefined reference to `SDL_JoystickNumBalls' sdl_input.c:(.text+0xa42): undefined reference to `SDL_JoystickGetBall' sdl_input.c:(.text+0xa67): undefined reference to `SDL_JoystickNumButtons' sdl_input.c:(.text+0xa8c): undefined reference to `SDL_JoystickGetButton' sdl_input.c:(.text+0xad0): undefined reference to `SDL_JoystickNumHats' sdl_input.c:(.text+0xafc): undefined reference to `SDL_JoystickGetHat' sdl_input.c:(.text+0xbe5): undefined reference to `SDL_JoystickNumAxes' sdl_input.c:(.text+0xc2f): undefined reference to `SDL_JoystickGetAxis' collect2: ld returned 1 exit status make[2]: *** [openarena-build/openarena.amd64] Error 1 make[2]: *** Waiting for unfinished jobs.... openarena-build/client/sdl_input.o: In function `IN_ShutdownJoystick': sdl_input.c:(.text+0x4b1): undefined reference to `SDL_JoystickClose' openarena-build/client/sdl_input.o: In function `IN_Init': sdl_input.c:(.text+0x750): undefined reference to `SDL_JoystickClose' sdl_input.c:(.text+0x793): undefined reference to `SDL_NumJoysticks' sdl_input.c:(.text+0x7b3): undefined reference to `SDL_JoystickName' sdl_input.c:(.text+0x807): undefined reference to `SDL_JoystickOpen' sdl_input.c:(.text+0x83c): undefined reference to `SDL_JoystickName' sdl_input.c:(.text+0x857): undefined reference to `SDL_JoystickNumAxes' sdl_input.c:(.text+0x871): undefined reference to `SDL_JoystickNumHats' sdl_input.c:(.text+0x88b): undefined reference to `SDL_JoystickNumButtons' sdl_input.c:(.text+0x8a5): undefined reference to `SDL_JoystickNumBalls' sdl_input.c:(.text+0x8bd): undefined reference to `SDL_JoystickEventState' openarena-build/client/sdl_input.o: In function `IN_Frame': sdl_input.c:(.text+0x9e5): undefined reference to `SDL_JoystickUpdate' sdl_input.c:(.text+0x9fe): undefined reference to `SDL_JoystickNumBalls' sdl_input.c:(.text+0xa42): undefined reference to `SDL_JoystickGetBall' sdl_input.c:(.text+0xa67): undefined reference to `SDL_JoystickNumButtons' sdl_input.c:(.text+0xa8c): undefined reference to `SDL_JoystickGetButton' sdl_input.c:(.text+0xad0): undefined reference to `SDL_JoystickNumHats' sdl_input.c:(.text+0xafc): undefined reference to `SDL_JoystickGetHat' sdl_input.c:(.text+0xbe5): undefined reference to `SDL_JoystickNumAxes' sdl_input.c:(.text+0xc2f): undefined reference to `SDL_JoystickGetAxis' collect2: ld returned 1 exit status make[2]: *** [openarena-build/openarena-smp.amd64] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-fps/openarena-0.8.1/work/openarena-engine-0.8.1' make[1]: *** [targets] Error 2 make[1]: Leaving directory `/var/tmp/portage/games-fps/openarena-0.8.1/work/openarena-engine-0.8.1' make: *** [release] Error 2 * * ERROR: games-fps/openarena-0.8.1 failed. Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-zen2-nyth-v6 x86_64) ================================================================= System uname: Linux-2.6.29-zen2-nyth-v6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 09 Jun 2009 23:00:12 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" ALSA_CARDS="usb-audio" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc-4.3.3" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -pipe -march=native" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLISION_IGNORE="/lib/modules" COLORTERM="rxvt-xpm" CONFIG_PROTECT="/etc" CVS_RSH="ssh" CXX="x86_64-pc-linux-gnu-g++-4.3.3" CXXFLAGS="-O2 -pipe -march=native" DEFAULT_ABI="amd64"
fixed. thanks for the bug report.