Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111637 - vamos-0.5.5 build fails with undefined plib references
Summary: vamos-0.5.5 build fails with undefined plib references
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-11-05 14:19 UTC by Tom
Modified: 2005-11-05 17:06 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 Tom 2005-11-05 14:19:44 UTC
When I try to emerge vamos, I get the linker error shown below. It appears to be
having trouble linking to plib, but the command options appear to list all of
the necessary libraries. I have plib-1.8.4 installed, and I just re-emerged it
to make sure it was compiled with the same compiler.

Reproducible: Always
Steps to Reproduce:
1. emerge -v vamos
Actual Results:  
i686-pc-linux-gnu-g++ -Wall -pedantic -O1 -g -gstabs+
-DDATADIR=\"/usr/share/vamos\" -O3 -march=athlon-xp -pipe -fomit-frame-pointer
-o .libs/vamos vamos.o  ../world/.libs/libvamos-world.so -lpng -L/usr/X11R6/lib
-L/usr/lib -lplibul ../body/.libs/libvamos-body.so -lpng -lplibul
../track/.libs/libvamos-track.so ../geometry/.libs/libvamos-geometry.so
../media/.libs/libvamos-media.so -lpng -lplibul -lplibul -lplibsl -lplibjs
/usr/lib/libsigc-1.2.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so
-L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -lpng -lpng
/usr/lib/libglut.so /usr/lib/libGLU.so -lSM -lICE -lXmu -lXt -lXi -lpthread
/usr/lib/libGL.so -lm -lX11 -lXext -ldl -lplibul -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6
../world/.libs/libvamos-world.so: undefined reference to `slDSP::open(char*,
int, int, int)'
../media/.libs/libvamos-media.so: undefined reference to `slSample::loadFile(char*)'
collect2: ld returned 1 exit status
make[1]: *** [vamos] Error 1
make[1]: Leaving directory `/var/tmp/portage/vamos-0.5.5/work/vamos-0.5.5/vamos'
make: *** [all-recursive] Error 1

!!! ERROR: dev-games/vamos-0.5.5 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Installed vamos.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.cc.vt.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi aim alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bonobo bzlib calendar cdparanoia cdr crypt
cscope cups curl curlwrappers dba dga divx4linux doc dvd dvdr dvdread eds emboss
encode esd evo exif fam fame flac flash foomaticdb fortran ftp gb gd gdbm gif
gimp gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
imagemagick imap imlib ipv6 jabber jack java jikes joystick jpeg jpeg2k junit
kde kerberos krb4 ldap libg++ libwww lm_sensors mad maildir mcal mikmod mime
ming mjpeg mmap mmx mng motif mozilla mp3 mpeg mysql mythtv nas ncurses nis nls
offensive ogg oggvorbis openal opengl oss pam pcre pda pdflib perl png ppds
python qt quicktime readline samba sasl scanner sdl slp soap sockets spell
sqlite sse sse2 ssl svg svga tcpd tetex tiff transcode truetype truetype-fonts
type1-fonts usb v4l vorbis wmf xine xinerama xml xml2 xmms xpm xscreensaver xsl
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Tom 2005-11-05 17:06:43 UTC
I figured out that I had old plib libraries in /usr/local, and those headers
were being used but the linker was attempting to link against the newer
libraries in /usr. Once I removed the old stuff in /usr/local, everything
emerged without problem.