Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57998 - qemu-0.6.0 failed to compile
Summary: qemu-0.6.0 failed to compile
Status: RESOLVED DUPLICATE of bug 51078
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 16:21 UTC by Fabio Di Fabio
Modified: 2005-07-17 13: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 Fabio Di Fabio 2004-07-22 16:21:08 UTC
qemu-0.6.0 failed due to a linking problem

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" USE="qemu-fast" emerge  qemu

Actual Results:  
rm -f libqemu.a
ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o
helper2.o translate-copy.o disas.o  i386-dis.o
gcc  -static -Wl,-T,/var/tmp/portage/qemu-0.6.0/work/qemu-0.6.0/i386-vl.ld  -o
qemu-fast vl.o osdep.o block.o monitor.o pci.o ide.o ne2000.o pckbd.o vga.o
sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o
cirrus_vga.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o
slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o
slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o
slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o
libqemu.a  -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound
-L/usr/X11R6/lib -lX11 -lXext -lutil
/usr/lib/libSDL.a(SDL_x11gl.o)(.text+0x8fd): In function `X11_GL_LoadLibrary':
: warning: Using 'dlopen' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lasound
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/var/tmp/portage/qemu-0.6.0/work/qemu-0.6.0/i386'
make: *** [all] Error 1

!!! ERROR: app-emulation/qemu-0.6.0 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! make failed
Comment 1 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-07-27 08:48:19 UTC
Same here.

# emerge info
Portage 2.0.51_pre13 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.8-rc2 i686 AMD Duron(tm) Processor)
=================================================================
System uname: 2.6.8-rc2 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="http://src.gentoo.pl/ http://gentoo.oregonstate.edu/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.pl.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa apache2 apm avi berkdb cdr crypt cups doc encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod mmx mono mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis oss pam pdflib perl png python qemu-fast quicktime readline sdl spell sse ssl svga tcpd truetype unicode x86 xml2 xv zlib"


# ls /usr/lib/libasound* -al
-rwxr-xr-x  1 root root    721 Jul 23 22:49 /usr/lib/libasound.la
lrwxrwxrwx  1 root root     18 Jul 23 22:49 /usr/lib/libasound.so -> libasound.so.2.0.0
lrwxrwxrwx  1 root root     23 Jul 23 22:49 /usr/lib/libasound.so.1 -> /usr/lib/libasound.so.2
lrwxrwxrwx  1 root root     18 Jul 23 22:49 /usr/lib/libasound.so.2 -> libasound.so.2.0.0
-rwxr-xr-x  1 root root 731380 Jul 23 22:49 /usr/lib/libasound.so.2.0.0
Comment 2 Luca Barbato gentoo-dev 2004-08-02 15:11:57 UTC
seems that the .a lib is missing and that qemu requires that. I'll remove the i386 target since looks like it is still broken for our toolchain.
Comment 3 Luca Barbato gentoo-dev 2004-08-11 23:35:03 UTC

*** This bug has been marked as a duplicate of 51078 ***