Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92456 - games-emulation/xmame-0.96 - fails compilation: error In function `joy_SDL_init'
Summary: games-emulation/xmame-0.96 - fails compilation: error In function `joy_SDL_i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 17:14 UTC by Nuno Alexandre
Modified: 2005-05-12 22:27 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 Nuno Alexandre 2005-05-12 17:14:27 UTC
dep/dsp-drivers/oss.o xmame.obj/unix.SDL/sysdep/mixer-drivers/oss.o xmame.obj/unix.SDL/sysdep/dsp-dr                                      ivers/alsa.o xmame.obj/unix.SDL/sysdep/mixer-drivers/alsa.o xmame.obj/unix.SDL/sysdep/dsp-drivers/sd                                      l.o xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o xmame.obj/unix.SDL/frameskip-drivers/dos.o xmame.o                                      bj/unix.SDL/frameskip-drivers/barath.o xmame.obj/unix.SDL/osdepend.a -lexpat -lz  -L/usr/X11R6/lib `                                      sdl-config --libs` -lz -lm -lasound `sdl-config --libs` `sdl-config --libs`
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x27): In function `joy_SDL_init':
: undefined reference to `SDL_NumJoysticks'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x5f): In function `joy_SDL_init':
: undefined reference to `SDL_JoystickName'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x76): In function `joy_SDL_init':
: undefined reference to `SDL_JoystickOpen'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x99): In function `joy_SDL_init':
: undefined reference to `SDL_JoystickNumButtons'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0xac): In function `joy_SDL_init':
: undefined reference to `SDL_JoystickNumAxes'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x19f): In function `joy_SDL_poll':
: undefined reference to `SDL_JoystickUpdate'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x1e4): In function `joy_SDL_poll':
: undefined reference to `SDL_JoystickGetAxis'
xmame.obj/unix.SDL/joystick-drivers/joy_SDL.o(.text+0x222): In function `joy_SDL_poll':
: undefined reference to `SDL_JoystickGetButton'
collect2: ld returned 1 exit status
make: *** [xmame.SDL] Error 1

Calculating dependencies ...done!
[ebuild     U ] games-emulation/xmame-0.96 [0.95] +X +alsa -arts -debug +dga -esd -expat -ggi -joystick -lirc (-mmx) -net +opengl +sdl (-svga) +xv 0 kB 



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.21-r1 (default-linux/amd64/2005.0/no-multilib,
gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc4 x86_64)
=================================================================
System uname: 2.6.12-rc4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.7
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache distlocks noinfo notitles sandbox strict"
GENTOO_MIRRORS="ftp://rsync.gentoo.diku.dk ftp://ftp.dkuug.dk/pub/gentoo/
http://ftp.du.se/pub/os/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa dga ncurses opengl rtc sdl truetype xv video_cards_nvidia
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-05-12 21:42:45 UTC
what does `emerge libsdl -pv` show ?
Comment 2 Nuno Alexandre 2005-05-12 22:16:07 UTC
[ebuild   R   ] media-libs/libsdl-1.2.8-r1  +X -aalib +alsa -arts -debug +dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio +nojoystick -novideo +opengl -oss (-svga) -xinerama +xv 2,541 kB 
Comment 3 SpanKY gentoo-dev 2005-05-12 22:27:56 UTC
read the documentation on the nojoystick USE flag:
grep -h nojoystick /usr/portage/profiles/use.local.desc