0.6.0 compilation failure
I'm self-compiling 0.6.0 on Gentoo with GCC 3.3.4:
# ./configure --target-list=i386-softmmu Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/local/src/qemu-0.6.0 C compiler gcc make make host CPU i386 host big endian no target list i386-softmmu gprof enabled no static build no SDL support yes SDL static link yes mingw32 support no # make
[...]
gcc -o qemu 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 -lutil vl.o(.text+0xe41): In function `init_timers':/usr/local/src/qemu-0.6.0/vl.c:906: undefined reference to `__libc_sigaction'
vl.o(.text+0xf19):/usr/local/src/qemu-0.6.0/vl.c:930: undefined reference to `__libc_sigaction'vl.o(.text+0x3515): In function `main':/usr/local/src/qemu-0.6.0/vl.c:2793: undefined reference to `__libc_sigaction'
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make[1]: Leaving directory `/usr/local/src/qemu-0.6.0/i386-softmmu'
make: *** [all] Error 1
#
This appears to be a glibc-related error. Here's what I've got:
$ /lib/libc.so.6
GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6).
Compiled on a Linux 2.6.8 system on 2004-10-19.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
$Any ideas?
Signature · 4 lines
Joel Konkle-Parker Webmaster [Ballsome.com] E-mail [[email protected]]