[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to build qemu 0.8.2 on freebsd 6.0-RELEASE-p9 on am
From: |
Juergen Lock |
Subject: |
Re: [Qemu-devel] How to build qemu 0.8.2 on freebsd 6.0-RELEASE-p9 on amd64? |
Date: |
Sat, 9 Sep 2006 01:16:27 +0200 |
User-agent: |
Mutt/1.5.11 |
On Tue, Sep 05, 2006 at 09:47:57AM +0800, Frank.Ning wrote:
> Hi
> I have update qemu to 0.8.2, but when I compile it from ports, it tell me
> there is error:
> ../dyngen -o op.h op.o
> ../dyngen -c -o opc.h op.o
> cc -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
> -I/usr/local/include -I. -I..
> -I/usr/ports/emulators/qemu/work/qemu-0.8.2/target-i386
> -I/usr/ports/emulators/qemu/work/qemu-0.8.2 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD=\"/usr/local/sbin/smbd\"
> -I/usr/ports/emulators/qemu/work/qemu-0.8.2/fpu -DHAS_AUDIO
> -I/usr/ports/emulators/qemu/work/qemu-0.8.2/slirp -c -o translate-op.o
> /usr/ports/emulators/qemu/work/qemu-0.8.2/translate-op.c
> In file included from
> /usr/ports/emulators/qemu/work/qemu-0.8.2/translate-op.c:36:
> ./op.h: In function `dyngen_code':
> ./op.h:8018: error: syntax error before '.' token
> ./op.h:8022: error: syntax error before '.' token
> ./op.h:8044: error: syntax error before '.' token
> ./op.h:8048: error: syntax error before '.' token
> gmake[1]: *** [translate-op.o] ´íÎó 1
> gmake[1]: Leaving directory
> `/usr/ports/emulators/qemu/work/qemu-0.8.2/i386-softmmu'
> gmake: *** [subdir-i386-softmmu] ´íÎó 2
> *** Error code 2
>
> Stop in /usr/ports/emulators/qemu.
>
> In file op.h line 8018: extern char .LC24;
> line 8044: extern char .LC27;
>
> someone can help me?
Hmm I don't have no .LC anywhere in the file and the port builds and
runs just fine on amd64 here. What version of gcc do you have?
Oh and those `\x91\xb4\xed\x91\xce\xf3'... do you have LANG set?
If yes try rebuilding with it unset...
HTH,
Juergen