qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] error compiling qemu 0.6.1 when trying to enable gprof supp


From: Mulyadi Santosa
Subject: [Qemu-devel] error compiling qemu 0.6.1 when trying to enable gprof support
Date: Mon, 13 Dec 2004 10:38:57 +0700
User-agent: KMail/1.5

Hello Qemu'ers

When I try to compile qemu-0.6.1 on Redhat 9 with --enable-gprof, I ended up 
with the following error:

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 -g -Wl,-T,/usr/src/misc/qemu-0.6.1/i386.ld -p -o qemu-i386 elfload.o 
main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a   
-lm
libqemu.a(helper2.o)(.text+0x1c): In function `modify_ldt':
/usr/src/misc/qemu-0.6.1/target-i386/helper2.c:38: undefined reference to 
`errno'
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory `/usr/src/misc/qemu-0.6.1/i386-user'
make: *** [all] Error 1

Can someone help me to solve it? I have tried to manually track the source 
with no luck

regards

Mulyadi Santosa





reply via email to

[Prev in Thread] Current Thread [Next in Thread]