pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

emulators/qemu fails to link



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=64 -D_LARGEFILE_SOURCE 
-I/pkg_comp/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-native.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'

...

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-vmdk.o block-cloop.o block-dmg.o block-bochs.o block-vpc.o block-vvfat.o 
block-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 ossaudio.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 
slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o 
slirp/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_int':
/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/qemu-0.9.0/i386-softmmu'
gmake: *** [subdir-i386-softmmu] Error 2
*** Error code 2

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

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



Home | Main Index | Thread Index | Old Index