Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82716 - emerge doomlegacy-1.42 fails to link (undefined references)
Summary: emerge doomlegacy-1.42 fails to link (undefined references)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 11:43 UTC by Gerry
Modified: 2007-02-02 01:05 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 Gerry 2005-02-20 11:43:29 UTC
Subject says it all.  Log:

--- 8< ---
(...)
Linking...
gcc -DLINUX -DHWRENDER -DDIRECTFULLSCREEN -DHAVE_MIXER -DSDL -DVID_X11  -I. -I/usr/local/include/SDL -I/usr/X11R6/include -Wall  -fwritable-strings -O2 -march=pentium3 -fomit-frame-pointer -pipe -L/usr/X11R6/lib -L/usr/local/lib ../objs/i_video.o ../objs/dosstr.o ../objs/endtxt.o ../objs/hw_bsp.o ../objs/hw_draw.o ../objs/hw_light.o ../objs/hw_main.o ../objs/hw_md2.o ../objs/hw_cache.o ../objs/hw_trick.o ../objs/r_opengl.o ../objs/ogl_sdl.o ../objs/hwsym_sdl.o ../objs/dstrings.o ../objs/i_cdmus.o ../objs/i_net.o ../objs/i_tcp.o ../objs/i_system.o ../objs/i_sound.o ../objs/tables.o ../objs/f_finale.o ../objs/f_wipe.o ../objs/d_main.o ../objs/d_net.o ../objs/d_items.o ../objs/g_game.o ../objs/m_menu.o ../objs/m_misc.o ../objs/m_argv.o ../objs/m_bbox.o ../objs/m_fixed.o ../objs/m_swap.o ../objs/m_cheat.o ../objs/m_random.o ../objs/am_map.o ../objs/p_ceilng.o ../objs/p_doors.o ../objs/p_enemy.o ../objs/p_floor.o ../objs/p_genlin.o ../objs/p_info.o ../objs/p_inter.o ../objs/p_lights.o ../objs/p_map.o ../objs/p_maputl.o ../objs/p_plats.o ../objs/p_pspr.o ../objs/p_setup.o ../objs/p_sight.o ../objs/p_spec.o ../objs/p_switch.o ../objs/p_mobj.o ../objs/p_telept.o ../objs/p_tick.o ../objs/p_saveg.o ../objs/p_user.o ../objs/r_bsp.o ../objs/r_data.o ../objs/r_draw.o ../objs/r_main.o ../objs/r_plane.o ../objs/r_segs.o ../objs/r_sky.o ../objs/r_things.o ../objs/w_wad.o ../objs/wi_stuff.o ../objs/v_video.o ../objs/st_lib.o ../objs/st_stuff.o ../objs/hu_stuff.o ../objs/s_sound.o ../objs/z_zone.o ../objs/info.o ../objs/sounds.o ../objs/p_fab.o ../objs/dehacked.o ../objs/qmus2mid.o ../objs/g_input.o ../objs/screen.o ../objs/console.o ../objs/command.o ../objs/d_netcmd.o ../objs/d_clisrv.o ../objs/r_splats.o ../objs/g_state.o ../objs/t_func.o ../objs/t_oper.o ../objs/t_parse.o ../objs/t_prepro.o ../objs/t_script.o ../objs/t_spec.o ../objs/t_vari.o ../objs/d_netfil.o ../objs/mserv.o ../objs/p_hsight.o ../objs/s_amb.o ../objs/sb_bar.o ../objs/p_heretic.o ../objs/md5.o ../objs/p_chex.o ../objs/filesrch.o ../objs/b_game.o ../objs/b_look.o ../objs/b_node.o ../objs/b_search.o ../objs/i_main.o \
-o ../bin/lsdldoom -lm -lSDL -lSDL_mixer -lpthread -lGL -lGLU
../objs/i_sound.o(.text+0x4d1): In function `I_UpdateSound_sdl':
: undefined reference to `music_mixer'
../objs/i_sound.o(.text+0x821): In function `I_ShutdownMusic':
: undefined reference to `close_music'
../objs/i_sound.o(.text+0x888): In function `I_InitMusic':
: undefined reference to `open_music'
collect2: ld returned 1 exit status
make: *** [../bin/lsdldoom] Error 1

!!! ERROR: games-fps/doomlegacy-1.42 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! build failed
!!! If you need support, post the topmost build error, NOT this status message.
--- 8< ---


Reproducible: Always
Steps to Reproduce:
1. emerge doomlegacy



# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 15:53:01)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.8.1-r2
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 /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 ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
LANG="nb_NO.UTF-8"
LC_ALL="nb_NO.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit S3TC X Xaw3d a52 aac aalib acpi acpi4linux aim alsa amd apache2
apm asm async audiofile avi bash-completion bdf berkdb bitmap-fonts blender-game
bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cdrom chroot clamav codecs
crypt css cups curl curlwrappers divx4linux dlopen droproot dts dvd dvdr dvdread
dxr3 edl encode exif expat f77 faad fam fb fbcon fbdev ffmpeg flac flash fmod
font-server foomaticdb fortran freetype ftp gcj gdbm gif gimp glitz gnome gpm
gtk gtk2 hal icq image imap imlib imlib2 ipv6 jabber jack jack-tmpfs java jit
jpeg kde kdeenablefinal ladspa libcaca libclamav libg++ libwww linguas_nb
linguas_nb_NO linguas_no linguas_no_NO live logitech-mouse lua mad matroska
md5sum mhash mikmod mime mixer mjpeg mmap mmx mmx2 mng motif mozilla mpeg mpeg2
mpeg4 mplayer msn music mysql native ncurses nls nptl nvidia oav objc ocaml ogg
oggvorbis openal opengl oscar oss pam pdflib perl php physfs png python
qemu-fast qt quicktime readline real ruby samba scanner sdk sdl slang spell sse
ssl stencil-buffer stream svg svga tcpd theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb usepackagedmakefiles utf8 v4l v4l2 videos
vidix vorbis wma123 wxwindows xanim xine xml xml2 xmms xrandr xscreensaver xv
xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-02-20 16:02:04 UTC
hmm, ive seen this before ... has something to do with doomlegacy trying to use internal SDL_mixer functions instead of the exported API iirc ...
Comment 2 Patrizio Bassi 2005-04-16 04:54:56 UTC
same problem here
Comment 3 Matthias Langer 2005-06-24 07:58:23 UTC
Same here:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 15:59:28)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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="x86 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts bonobo
bzlib cdr crypt cups curl dvdr emboss encode esd fam firebird foomaticdb fortran
gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6
java jpeg libg++ libwww mad mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls
ogg oggvorbis opengl oss pam pdflib perl png python readline ruby sdl slang
speex spell sqlite sse ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts unicode usb vorbis xine xml xml2 xmms xv xvid zlib
video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 4 Matthias Langer 2005-06-24 08:12:48 UTC
New ebuild works for me ...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-06-24 08:45:54 UTC
For now I've turned off the building of the sdl client.  It only builds the X
version.  That's real ugly but it's better than nothing.  upstream claims it
will be fixed in 1.43.
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2007-02-02 01:05:16 UTC
Removed from the tree.