pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Qemu break - tcg.c "flush_icache_range"



>Datum: Sat, 01 Oct 2011 02:55:48 +0200
>>Datum: Fri, 30 Sep 2011 16:48:15 +0200
>>>Datum: Fri, 30 Sep 2011 11:29:14 +0200

Hello
Ok, finaly Qemu it's compiling on me MACPPC G4, here i paste me litle fix :-). 
possible this aren't the final solution but now for me it's running.

/usr/pkgsrc/emulators/qemu/ Make install clean distclean 

>  LINK  qemu-ga
> cache-utils.o: In function `qemu_cache_utils_init':
> /usr/pkgsrc/emulators/qemu/work/qemu-0.15.0/cache-utils.c:93: undefined 
> reference to `ppc_init_cacheline_sizes'
> gmake: *** [qemu-ga] Error 1
> *** Error code 2

vi /qemu/work/qemu-0.15.0/cache-utils.c 
:set nu
-18 #elif defined __linux__
+18 #elif defined __NetBSD__

-84 #ifdef __linux__
+84 #ifdef __NetBSD__

>  CC    i386-softmmu/virtio-net.o
> ../cpu-all.h: In function 'virtio_net_get_config':
> ../cpu-all.h:279: error: output number 0 not directly addressable
> make[1]: *** [virtio-net.o] Error 1
> gmake: *** [subdir-i386-softmmu] Error 2
> *** Error code 2

vi /qemu/work/qemu-0.15.0/cpu.h
:set nu
-278 #ifdef _ARCH_PPC
+278 #ifdef _MACPPC

Thanks and best regards
Mauri
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index