How to build qemu 0.8.2 on freebsd 6.0-RELEASE-p9 on amd64?
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?
Quoted 16 lines · Frank.Ning
Hi
I have update qemu to 0.8.2, but when I compile it from ports, it tell me there is error:
../dyngen -oop.hop.o
../dyngen -c -oopc.hop.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.cIn 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
Quoted 6 lines
Stop in
/usr/ports/emulators/qemu.In file
op.hline 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