<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><br>Sorry for taking your time... <br>I&#39;m working with openmoko tech. right now settig up ubuntu for QEMU Emulator by applying the commands from <br clear="all"><br>
<a href="http://wiki.openmoko.org/wiki/MokoMakefile" target="_blank">http://wiki.openmoko.org/wiki/MokoMakefile</a><br>
<a href="http://wiki.openmoko.org/wiki/Using_QEMU_with_MokoMakefile#Build_requirements" target="_blank">http://wiki.openmoko.org/wiki/Using_QEMU_with_MokoMakefile#Build_requirements</a><br><br>the right below error <br><br>
qasim@qasim-desktop:~$ cd openmoko<br>qasim@qasim-desktop:~/openmoko$ make qemu<br>[ -e build/qemu ] || \<br>&nbsp;&nbsp;&nbsp; ( mkdir -p build/qemu )<br>
[ -e build/qemu/Makefile ] || \<br>&nbsp;&nbsp;&nbsp; ( . ./setup-env &amp;&amp; cd build/qemu &amp;&amp; \<br>&nbsp;&nbsp;&nbsp; &nbsp; ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --target-list=arm-softmmu )<br>[ -e build/qemu/openmoko ] || \<br>

&nbsp;&nbsp;&nbsp; ( . ./setup-env &amp;&amp; cd build/qemu &amp;&amp; mkdir openmoko &amp;&amp; \<br>&nbsp;&nbsp;&nbsp; &nbsp; for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ln -s $f openmoko/`basename $f` ; \<br>&nbsp;&nbsp;&nbsp; &nbsp; done )<br>

ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env build/qemu/openmoko/env<br>[ -d stamps ] || mkdir stamps<br>touch stamps/qemu<br>( cd build/qemu &amp;&amp; make )<br>make[1]: Entering directory `/home/qasim/openmoko/build/qemu&#39;<br>

make -C arm-softmmu all<br>make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu&#39;<br>../dyngen -o op.h op.o<br>make[2]: ../dyngen: Command not found<br>make[2]: *** [op.h] Error 127<br>make[2]: Leaving directory `/home/qasim/openmoko/build/qemu/arm-softmmu&#39;<br>

make[1]: *** [subdir-arm-softmmu] Error 2<br>make[1]: Leaving directory `/home/qasim/openmoko/build/qemu&#39;<br>make: *** [build-qemu] Error 2<br><br>then when i look into the folder home/qasim/openmoko/build/qemu/arm-softmmu&#39; the op.h file was missing and get the file from <a href="http://www.krugle.org" target="_blank">http://www.krugle.org</a><br>

<br>/***************************************************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op.h&nbsp; -&nbsp; Render operation data<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -------------------<br>&nbsp;&nbsp;&nbsp; begin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Sun Mar 30 2003<br>

&nbsp;&nbsp;&nbsp; copyright&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : (C) 2003 by Reality Rift Studios<br>&nbsp;&nbsp;&nbsp; email&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <a href="mailto:mattias@realityrift.com" target="_blank">mattias@realityrift.com</a><br>&nbsp;***************************************************************************<br>

<br>&nbsp;The contents of this file are subject to the Mozilla Public License Version<br>&nbsp;1.1 (the &quot;License&quot;); you may not use this file except in compliance with<br>&nbsp;the License. You may obtain a copy of the License at <br>

&nbsp;<a href="http://www.mozilla.org/MPL/" target="_blank">http://www.mozilla.org/MPL/</a><br><br>&nbsp;Software distributed under the License is distributed on an &quot;AS IS&quot; basis,<br>&nbsp;WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License<br>

&nbsp;for the specific language governing rights and limitations under the<br>&nbsp;License.<br><br>&nbsp;The Original Code is the NeoEngine, NeoDevOpenGL, op.h<br><br>&nbsp;The Initial Developer of the Original Code is Mattias Jansson.<br>
&nbsp;Portions created by Mattias Jansson are Copyright (C) 2003<br>
&nbsp;Reality Rift Studios. All Rights Reserved.<br><br>&nbsp;***************************************************************************/<br><br>#ifndef __NEOGLOP_H<br>#define __NEOGLOP_H<br><br><br>#include &lt;neoengine/renderprimitive.h&gt;<br>

<br><br>namespace NeoOGL<br>{<br><br><br>/**<br>&nbsp; * \brief An array of render primitives<br>&nbsp; * \author Mattias Jansson (<a href="mailto:mattias@realityrift.com" target="_blank">mattias@realityrift.com</a>)<br>&nbsp; */<br>class OpArray<br>
{<br>
&nbsp;&nbsp;&nbsp; public:<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /**<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; * \brief Defines for op array<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; */<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; enum OPARRAYDEFS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; /*! Size of array. must be a power of two */<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ARRAYSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 128,<br>

<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; /*! Shift bits for getting array index from op number */<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ARRAYSHIFT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 7,<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; /*! Bitmask for getting op index in array from op number */<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ARRAYMASK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0x0000007F<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br><br><br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /*! The ops */<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NeoEngine::RenderPrimitive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_akOps[ ARRAYSIZE ];<br>};<br><br><br>}; // namespace NeoOGL<br><br><br>#endif<br><br>and then when i ran the make qemu i end up with this <br>

<br><br>qasim@qasim-desktop:~/openmoko$ make qemu<br>[ -e build/qemu ] || \<br>&nbsp;&nbsp;&nbsp; ( mkdir -p build/qemu )<br>[ -e build/qemu/Makefile ] || \<br>&nbsp;&nbsp;&nbsp; ( . ./setup-env &amp;&amp; cd build/qemu &amp;&amp; \<br>&nbsp;&nbsp;&nbsp; &nbsp; ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --target-list=arm-softmmu )<br>[ -e build/qemu/openmoko ] || \<br>&nbsp;&nbsp;&nbsp; ( . ./setup-env &amp;&amp; cd build/qemu &amp;&amp; mkdir openmoko &amp;&amp; \<br>&nbsp;&nbsp;&nbsp; &nbsp; for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ln -s $f openmoko/`basename $f` ; \<br>&nbsp;&nbsp;&nbsp; &nbsp; done )<br>ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env build/qemu/openmoko/env<br>[ -d stamps ] || mkdir stamps<br>touch stamps/qemu<br>( cd build/qemu &amp;&amp; make )<br>

make[1]: Entering directory `/home/qasim/openmoko/build/qemu&#39;<br>make -C arm-softmmu all<br>make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu&#39;<br>../dyngen -c -o opc.h op.o<br>make[2]: ../dyngen: Command not found<br>

make[2]: *** [opc.h] Error 127<br>make[2]: Leaving directory `/home/qasim/openmoko/build/qemu/arm-softmmu&#39;<br>make[1]: *** [subdir-arm-softmmu] Error 2<br>make[1]: Leaving directory `/home/qasim/openmoko/build/qemu&#39;<br>

make: *** [build-qemu] Error 2<br>qasim@qasim-desktop:~/openmoko$ <br><br><br>can you assist <br><br><br>-- <br>-SEECS Open Mobile Squad<br>NUST School of Electrical Engineering and Computer Sciences<br><br>Blog: <a href="http://seecsopenmobile.wordpress.com" target="_blank">http://seecsopenmobile.wordpress.com</a><br>

Phone: +92 345 593 5526<br>
</div>
</div><br><br clear="all"><br>-- <br>-SEECS Open Mobile Squad<br>NUST School of Electrical Engineering and Computer Sciences<br><br>Blog: <a href="http://seecsopenmobile.wordpress.com">http://seecsopenmobile.wordpress.com</a><br>
Phone: +92 345 593 5526<br>
</div>