From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RA8In-0004Gl-DB for qemu-devel@nongnu.org; Sat, 01 Oct 2011 18:45:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RA8Im-0005aR-5h for qemu-devel@nongnu.org; Sat, 01 Oct 2011 18:45:01 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:53109) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RA8Il-0005aN-Li for qemu-devel@nongnu.org; Sat, 01 Oct 2011 18:45:00 -0400 Content-Type: text/plain; charset="utf-8" Date: Sun, 02 Oct 2011 00:44:56 +0200 From: "Maurizio Caloro" Message-ID: <20111001224456.269470@gmx.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Qemu - compiling error in tcg.c - flush_icache_range List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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