Subject: emulators/qemu fails to link
To: None <pkgsrc-users@NetBSD.org>
From: Rhialto <rhialto@falu.nl>
List: pkgsrc-users
Date: 07/04/2007 22:05:06
Fragment of build output:

gcc -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -Wall -O2 -g =
-fno-strict-aliasing -I. -I.. -I/pkg_comp/obj/pkgsrc/emulators/qemu/default=
/qemu-0.9.0/target-i386 -I/pkg_comp/obj/pkgsrc/emulators/qemu/default/qemu-=
0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -I/pkg_com=
p/obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/fpu -DHAS_AUDIO -I/pkg_comp/=
obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/slirp  -c -o fpu/softfloat-nat=
ive.o /pkg_comp/obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/fpu/softfloat-=
native.c
/pkg_comp/obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/fpu/softfloat-native=
.c: In function `float64_trunc_to_int':
/pkg_comp/obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/fpu/softfloat-native=
.c:226: warning: implicit declaration of function `trunc'

=2E..

gcc  -o qemu vl.o osdep.o readline.o monitor.o pci.o console.o loader.o isa=
_mmio.o cutils.o block.o block-raw.o block-cow.o block-qcow.o aes.o block-v=
mdk.o block-cloop.o block-dmg.o block-bochs.o block-vpc.o block-vvfat.o blo=
ck-qcow2.o scsi-disk.o cdrom.o lsi53c895a.o usb.o usb-hub.o usb-linux.o usb=
-hid.o usb-ohci.o usb-msd.o ne2000.o rtl8139.o pcnet.o ide.o pckbd.o ps2.o =
vga.o sb16.o es1370.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o ossaudi=
o.o wavcapture.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o =
cirrus_vga.o mixeng.o apic.o parallel.o acpi.o piix_pci.o usb-uhci.o smbus_=
eeprom.o gdbstub.o sdl.o x_keymap.o vnc.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 sl=
irp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o sl=
irp/tftp.o libqemu.a  -lm -lz -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL =
-lpthread  -lutil -lrt
libqemu.a(softfloat-native.o)(.text+0x21a): In function `float64_trunc_to_i=
nt':
/pkg_comp/obj/pkgsrc/emulators/qemu/default/qemu-0.9.0/fpu/softfloat-native=
.c:226: undefined reference to `trunc'
gmake[1]: *** [qemu] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/emulators/qemu/default/qe=
mu-0.9.0/i386-softmmu'
gmake: *** [subdir-i386-softmmu] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/emulators/qemu

-Olaf.
--=20
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.