Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82932 - dosbox emake failed Line 40, Exitcode 2, undefined reference to `SDL_JoystickName'
Summary: dosbox emake failed Line 40, Exitcode 2, undefined reference to `SDL_Joystic...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 03:08 UTC by w8habender
Modified: 2005-02-22 07:28 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 w8habender 2005-02-22 03:08:57 UTC
It was not possible to compile dosbox correct. It always break with the Error "undefined reference to `SDL_JoystickName'". This problem appear if i use the ebuild-scripts dosbox-0.58.ebuild, dosbox-0.62.ebuild and dosbox-0.63.ebuild.
The posted error messages are from the dosbox-0.63.ebuild.

Reproducible: Always
Steps to Reproduce:
1. emerge dosbox
2.
3.
Actual Results:  
compiles correct till:
...
i686-pc-linux-gnu-g++  -O2 -march=pentium3 -fomit-frame-pointer -pipe   -o
dosbox  dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a 
hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a
shell/libshell.a -lSDL_sound -lasound -lm -ldl -lpthread -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpng -lz -lSDL_net
gui/libgui.a(sdl_mapper.o)(.text+0x23cd): In function `CreateDefaultBinds()':
: undefined reference to `SDL_NumJoysticks'
gui/libgui.a(sdl_mapper.o)(.text+0x28cb): In function `CreateBindGroups()':
: undefined reference to `SDL_NumJoysticks'
gui/libgui.a(sdl_mapper.o)(.text+0x2919): In function `CreateBindGroups()':
: undefined reference to `SDL_JoystickEventState'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroupC1Ej+0x6f): In
function `CStickBindGroup::CStickBindGroup[in-charge](unsigned)':
: undefined reference to `SDL_JoystickOpen'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroupC1Ej+0x86): In
function `CStickBindGroup::CStickBindGroup[in-charge](unsigned)':
: undefined reference to `SDL_JoystickNumAxes'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroupC1Ej+0x98): In
function `CStickBindGroup::CStickBindGroup[in-charge](unsigned)':
: undefined reference to `SDL_JoystickNumButtons'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroupC1Ej+0xaa): In
function `CStickBindGroup::CStickBindGroup[in-charge](unsigned)':
: undefined reference to `SDL_JoystickNumHats'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroupC1Ej+0x1d0): In
function `CStickBindGroup::CStickBindGroup[in-charge](unsigned)':
: undefined reference to `SDL_JoystickName'
gui/libgui.a(sdl_mapper.o)(.gnu.linkonce.t._ZN15CStickBindGroup9BindStartEv+0xc):
In function `CStickBindGroup::BindStart()':
: undefined reference to `SDL_JoystickName'
collect2: ld returned 1 exit status
make[3]: *** [dosbox] Error 1
make[3]: Leaving directory `/var/tmp/portage/dosbox-0.63/work/dosbox-0.63/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dosbox-0.63/work/dosbox-0.63/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dosbox-0.63/work/dosbox-0.63'
make: *** [all] Error 2

!!! ERROR: games-emulation/dosbox-0.63 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 15:55:45)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mirror.icd.hu/
http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apm avi bash-completion bdf bitmap-fonts bzlib cdr
crypt cups curl dga dio divx4linux dvd dvdr emboss encode f77 fam flac
font-server foomaticdb fortran gdbm gif gimpprint gnome gtk gtk2 guile icq
imagemagick imlib java jikes jpeg kerberos krb4 libg++ libwww mad mmx mmx2 motif
mpeg ncurses nls no_wxgtk1 nojoystick oggvorbis oscar pcmcia pdflib perl png pnp
ppds python quicktime readline sdl slang spell sse ssl tcltk tcpd tiff truetype
truetype-fonts type1-fonts unicode usb wxwindows xine xml xml2 xmms xv xvid zlib
linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-22 07:28:18 UTC
You didn't heed the warnings from the libsdl ebuild.