Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 626898

Summary: games-arcade/cdogs-sdl-0.4-r1 : joystick.c:(.text+<snip>): undefined reference to SDL_JoystickUpdate
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:cdogs-sdl-0.4-r1:20170802-113329.log

Description Toralf Förster gentoo-dev 2017-08-02 17:25:14 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-08-02 17:25:17 UTC
Created attachment 487708 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-08-02 17:25:20 UTC
Created attachment 487710 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-08-02 17:25:23 UTC
Created attachment 487712 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-08-02 17:25:26 UTC
Created attachment 487714 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-08-02 17:25:30 UTC
Created attachment 487716 [details]
games-arcade:cdogs-sdl-0.4-r1:20170802-113329.log
Comment 6 Pacho Ramos gentoo-dev 2018-02-28 16:24:12 UTC
this compiles for me, are you still able to reproduce?