From: "Maurizio Caloro" <mauric@gmx.ch>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Qemu - compiling error in tcg.c - flush_icache_range
Date: Sun, 02 Oct 2011 00:44:56 +0200 [thread overview]
Message-ID: <20111001224456.269470@gmx.net> (raw)
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
next reply other threads:[~2011-10-01 22:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-01 22:44 Maurizio Caloro [this message]
2011-10-02 7:28 ` [Qemu-devel] Qemu - compiling error in tcg.c - flush_icache_range Mulyadi Santosa
[not found] ` <20111002144321.293550@gmx.net>
2011-10-02 17:30 ` Mulyadi Santosa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111001224456.269470@gmx.net \
--to=mauric@gmx.ch \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.