x86_64-pc-linux-gnu-gcc cdogs.o draw.o pics.o actors.o map.o sounds.o defs.o objs.o gamedata.o ai.o triggers.o input.o prep.o hiscores.o automap.o mission.o game.o mainmenu.o password.o files.o menu.o joystick.o sprcomp.o grafx.o blit.o text.o keyboard.o events.o utils.o drawtools.o -o cdogs -Wl,-O1 -Wl,--as-needed -lSDL -lpthread -lSDL_mixer joystick.o: In function `PollSticks': joystick.c:(.text+0x1d): undefined reference to `SDL_JoystickUpdate' joystick.c:(.text+0x92): undefined reference to `SDL_JoystickGetAxis' joystick.c:(.text+0xa4): undefined reference to `SDL_JoystickGetAxis' joystick.c:(.text+0xce): undefined reference to `SDL_JoystickGetButton' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_20170731-194316 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * [2] ruby22 (with Rubygems) emerge -qpv games-arcade/cdogs-sdl [ebuild N ] games-arcade/cdogs-sdl-0.4-r1
Created attachment 487708 [details] emerge-info.txt
Created attachment 487710 [details] emerge-history.txt
Created attachment 487712 [details] environment
Created attachment 487714 [details] etc.portage.tbz2
Created attachment 487716 [details] games-arcade:cdogs-sdl-0.4-r1:20170802-113329.log
this compiles for me, are you still able to reproduce?