Subject: Re: Re: qemu compile success ?
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: Joel CARNAT <joel@carnat.net>
List: port-amd64
Date: 01/02/2006 17:17:43
erf :(
I think "op.h" was the kind of error I got when I last tried :(
From what I understood reading Qemu website, it seems to work on
linux/x86_64.

Anyway, I didn't found any "op.h" file to have a look at it...

Dans l'épisode précédent (Mon, Jan 02 2006 - 17:05), Kurt Schreiner nous apprenait que :
> On Mon, Jan 02, 2006 at 04:51:18PM +0100, Hubert Feyrer wrote:
> > On Mon, 2 Jan 2006, Joel CARNAT wrote:
> > >http://www.cs.stevens.edu/~jschauma/netbsd/bulk/NetBSD/3.0/amd64/20060101.2231/emulators/qemu/.broken
> > >says qemu-0.7.x is broken on /amd64.
> > >
> > >anyone had success compiling/running qemu-0.8 ?
> > >(wish I could use /amd64 rather that /i386 on my shuttle ;)
> > 
> > FWIW, pkgsrc-current has qemu 0.8.0. Maybe I should run qemu-system-x86_64 
> > to try building qemu-0.8.0 in it. 8-)
> Qemu-0.8.0 still doesn't compile on amd64 - Just tried on a real
> opteron ;-) running -current from today: (pkgsrc cvs updated just a few minutes ago)
> 
> Kurt
> 
> gcc -O2 -pipe -I/opt/nb/include -DGLX_GLXEXT_LEGACY -I/usr/include -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386 -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/fpu -DHAS_AUDIO -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/slirp -c -o op.o /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386/op.c
> /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386/op.c: In function `op_goto_tb0':
> /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386/op.c:1301: warning: cast to pointer from integer of different size
> /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386/op.c: In function `op_goto_tb1':
> /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386/op.c:1306: warning: cast to pointer from integer of different size
> ../dyngen -o op.h op.o
> ../dyngen -c -o opc.h op.o
> gcc -O2 -pipe -I/opt/nb/include -DGLX_GLXEXT_LEGACY -I/usr/include -I. -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/target-i386 -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/fpu -DHAS_AUDIO -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/slirp -c -o translate-op.o /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/translate-op.c
> In file included from /u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/translate-op.c:36:
> op.h: In function `dyngen_code':
> op.h:5935: error: parse error before '.' token
> op.h:5937: error: parse error before '.' token
> op.h:5944: error: parse error before '.' token
> op.h:5946: error: parse error before '.' token
> gmake[1]: *** [translate-op.o] Error 1
> gmake[1]: Leaving directory `/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.8.0/i386-softmmu'
> gmake: *** [all] Error 1
> *** Error code 2
> 
> Stop.
> make: stopped in /u/NetBSD/pkgsrc/emulators/qemu
> ===> 
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===>      * log of the build
> ===>      * /u/NetBSD/pkgobj/emulators/qemu/work/.work.log
> ===> 
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/emulators/qemu
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/emulators/qemu
>