Building ioemu on NetBSD
Hey,
I am still on my quest to be able to run unmodified os on NetBSD. I therefore need to build ioemu. I have succesfully built SDL and libVNCserver. I am in tools/ioemu and am trying to gmake it (after having configured it) and I get the following:
sh create_keysym_header.sh sdl "-I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE"
sh create_keysym_header.sh vnc "-I/usr/pkg/include"
for d in i386-softmmu ppc-softmmu sparc-softmmu; do \
gmake -C $d all || exit 1 ; \
done
gmake[1]: Entering directory /usr/pkgsrc/sysutils/xentools30/work/xen-3.0.2-2/tools/ioemu/i386-softmmu' gmake[1]: *** No rule to make target all'. Stop.
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/xentools30/work/xen-3.0.2-2/tools/ioemu/i386-softmmu'
gmake: *** [all] Error 1
There is no Makefile in any of the xxx-softmmu directories. What should I do ?
Thank you
-Pierrick Brossin
Quoted 8 lines · Pierrick Brossin
for d in i386-softmmu ppc-softmmu sparc-softmmu; do \
gmake -C $d all || exit 1 ; \
done
[..]
gmake[1]: *** No rule to make target `all'. Stop.There is no
Makefilein any of the xxx-softmmu directories. What should I do ?
Nobody ?
Best Regards
-Pierrick Brossin
Quoted 9 lines · Pierrick Brossin
Quoted 8 lines · Pierrick Brossin
for d in i386-softmmu ppc-softmmu sparc-softmmu; do \
gmake -C $d all || exit 1 ; \
done
[..]
gmake[1]: *** No rule to make target `all'. Stop.There is no
Makefilein any of the xxx-softmmu directories. What should I do ?
Hey. I've made a new step. What is this for ?
(configure file in ioemu)
if [ "$bsd" = "yes" ] ; then
if [ ! "$darwin" = "yes" ] ; then make="gmake" fi target_list="i386-softmmu ppc-softmmu sparc-softmmu"
fi
The problem is that those target directories have no Makefile. Linux builds target-i386-dm and this also work on BSD.
Thanks you
-Pierrick Brossin
Quoted 25 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pierrick Brossin
Sent: 06 October 2006 10:05
To: [email protected]
Subject: Re: [Xen-devel] Building ioemu on NetBSDQuoted 8 lines · Pierrick Brossin
Quoted 7 lines · Pierrick Brossin
for d in i386-softmmu ppc-softmmu sparc-softmmu; do \
gmake -C $d all || exit 1 ; \
done
[..]
gmake[1]: *** No rule to make target `all'. Stop.There is no
Makefilein any of the xxx-softmmudirectories. What should
Quoted 1 line
Quoted 1 line
I do ?
Hey. I've made a new step. What is this for ?
(configure file in ioemu)
Quoted 6 lines
if [ "$bsd" = "yes" ] ; then
if [ ! "$darwin" = "yes" ] ; then make="gmake" fi target_list="i386-softmmu ppc-softmmu sparc-softmmu"fi
I don't know what it's for, but I would comment it out and see if it builds - I'm pretty sure that the "softmmu" option is not for QEMU to use - it uses Xen to resolve memory mapping anyways.
--
Mats
Quoted 16 lines
The problem is that those target directories have no
Makefile. Linux builds target-i386-dm and this also work on BSD.Thanks you
-Pierrick Brossin
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 3 lines · Mats
I don't know what it's for, but I would comment it out and see if it builds - I'm pretty sure that the "softmmu" option is not for QEMU to use - it uses Xen to resolve memory mapping anyways.
That's what I did and it builds fine. We will see if things work like this.
Thanks
-Pierrick Brossin