Hello together iam new here in this forum, i try to compile qemu 0.15.0 on Netbsd 5.1 MacPPC G4 machine i standing now here and i don't found any solution to fix this Error.
bash-4.2# make => Bootstrap dependency digest>=20010302: found digest-20080510 ===> Building for qemu-0.15.0nb1 LINK i386-softmmu/qemu tcg/tcg.o: In function `tcg_prologue_init': /usr/pkgsrc/emulators/qemu/work/qemu-0.15.0/tcg/tcg.c:250: undefined reference to `flush_icache_range' tcg/tcg.o: In function `ppc_tb_set_jmp_target': /usr/pkgsrc/emulators/qemu/work/qemu-0.15.0/tcg/ppc/tcg-target.c:1291: undefined reference to `flush_icache_range' tcg/tcg.o: In function `tcg_gen_code': /usr/pkgsrc/emulators/qemu/work/qemu-0.15.0/tcg/tcg.c:2161: undefined reference to `flush_icache_range' make[1]: *** [qemu] Error 1 gmake: *** [subdir-i386-softmmu] Error 2 *** Error code 2 Stop. make: stopped in /usr/pkgsrc/emulators/qemu *** Error code 1 i was trying with this code that i found with googling but without any success >tcg.c > /* return tcg_gen_code_common(s, gen_code_buf, offset); */ > int ret; > ret = tcg_gen_code_common(s, gen_code_buf, offset); > /* flush instruction cache */ > flush_icache_range((unsigned long)gen_code_buf, > ((unsigned long)s->code_ptr); > return ret; > } thanks for any help to solve me this problem. best regards Mauri -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone