compile error with cvs version
Hello,
I do not get QEMU 0.7.1 from the cvs (7.8.2005) compiled with SuSE 9.2 . It seem that make does not find cpu.h ...
I do have several cpu.h on my system:
/usr/include/asm/cpu.h /usr/include/linux/cpu.h /usr/src/linux-2.6.8-24.16/arch/arm/mach-s3c2410/cpu.h /usr/src/linux-2.6.8-24.16/arch/i386/kernel/cpu/cpu.h /usr/src/linux-2.6.8-24.16/include/asm-i386/cpu.h /usr/src/linux-2.6.8-24.16/include/asm-ia64/cpu.h /usr/src/linux-2.6.8-24.16/include/asm-mips/cpu.h /usr/src/linux-2.6.8-24.16/include/asm-x86_64/cpu.h /usr/src/linux-2.6.8-24.16/include/linux/cpu.h
I change the include statement in the souce to /usr/include/linux/cpu.h instead ofcpu.h but then I get other errors.
Here is the error message with the original code. What am I missing???
Thanks a lot
Michael
make[1]: Entering directory `/home/michael/tmp/qemu-0.7.1/i386-user' gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/michael/tmp/qemu-0.7.1/target-i386 -I/home/michael/tmp/qemu-0.7.1 -I/home/michael/tmp/qemu-0.7.1/linux-user -I/home/michael/tmp/qemu-0.7.1/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/michael/tmp/qemu-0.7.1/fpu -I/home/michael/tmp/qemu-0.7.1/slirp -c -o elfload.o /home/michael/tmp/qemu-0.7.1/linux-user/elfload.c In Datei, eingef?gt von /home/michael/tmp/qemu-0.7.1/linux-user/qemu.h:4,
von /home/michael/tmp/qemu-0.7.1/linux-user/elfload.c:13:/home/michael/tmp/qemu-0.7.1/thunk.h:24:17: cpu.h: Datei oder Verzeichnis nicht gefunden
Quoted 5 lines · On Monday 08 August 2005 21:35, [email protected] wrote:
Hello,
I do not get QEMU 0.7.1 from the cvs (7.8.2005) compiled with SuSE 9.2 . It seem that make does not find
cpu.h...
I do have severalcpu.hon my system:
<snip list of uninteresting files>
Quoted 4 lines
make[1]: Entering directory `/home/michael/tmp/qemu-0.7.1/i386-user' gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I.
-I/home/michael/tmp/qemu-0.7.1/target-i386
It should be in this directory.
Paul
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thanks Paul,
yes due to the error messages I could assume that this was not kernel related stuff.
I have checked out the latest version from the cvs and all works perfectly well. I still have
no idea why the chp.h was not there but somehow I have the feeling that the ball is on my
side ;-)
Thanks a lot
Michael
-----Original Message-----
Quoted 26 lines
Date: Mon, 8 Aug 2005 23:35:35 +0200
Subject: Re: [Qemu-devel] compile error with cvs version
From: Paul Brook <[email protected]>
To: Michael Hoeller <[email protected]>Quoted 4 lines
Quoted 3 lines
Quoted 1 line
-I/home/michael/tmp/qemu-0.7.1/target-i386
It should be in this directory.
Quoted 9 lines
I double checked the directory and there is no
cpu.hfile at all:
michael@tamboti:~/tmp/qemu-0.7.1> find . | grepcpu.hmichael@tamboti:~/tmp/qemu-0.7.1>To be sure I downloaded the qemu-0.7.1.tar.gz file and neither there is a
cpu.h. I would have thought that there is somewhere an a general include for the kernel src -- but I do not if and if so where.I'd look again. I just checked and it's definitely there.
Note that the qemu
cpu.hhas nothing to do with the kernelcpu.h. They're totally different.Paul