<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><br>Sorry for taking your time... <br>I'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> ( mkdir -p build/qemu )<br>
[ -e build/qemu/Makefile ] || \<br> ( . ./setup-env && cd build/qemu && \<br> ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \<br> --target-list=arm-softmmu )<br>[ -e build/qemu/openmoko ] || \<br>
( . ./setup-env && cd build/qemu && mkdir openmoko && \<br> for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \<br> ln -s $f openmoko/`basename $f` ; \<br> 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 && make )<br>make[1]: Entering directory `/home/qasim/openmoko/build/qemu'<br>
make -C arm-softmmu all<br>make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu'<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'<br>
make[1]: *** [subdir-arm-softmmu] Error 2<br>make[1]: Leaving directory `/home/qasim/openmoko/build/qemu'<br>make: *** [build-qemu] Error 2<br><br>then when i look into the folder home/qasim/openmoko/build/qemu/arm-softmmu' 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> op.h - Render operation data<br> -------------------<br> begin : Sun Mar 30 2003<br>
copyright : (C) 2003 by Reality Rift Studios<br> email : <a href="mailto:mattias@realityrift.com" target="_blank">mattias@realityrift.com</a><br> ***************************************************************************<br>
<br> The contents of this file are subject to the Mozilla Public License Version<br> 1.1 (the "License"); you may not use this file except in compliance with<br> the License. You may obtain a copy of the License at <br>
<a href="http://www.mozilla.org/MPL/" target="_blank">http://www.mozilla.org/MPL/</a><br><br> Software distributed under the License is distributed on an "AS IS" basis,<br> WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License<br>
for the specific language governing rights and limitations under the<br> License.<br><br> The Original Code is the NeoEngine, NeoDevOpenGL, op.h<br><br> The Initial Developer of the Original Code is Mattias Jansson.<br>
Portions created by Mattias Jansson are Copyright (C) 2003<br>
Reality Rift Studios. All Rights Reserved.<br><br> ***************************************************************************/<br><br>#ifndef __NEOGLOP_H<br>#define __NEOGLOP_H<br><br><br>#include <neoengine/renderprimitive.h><br>
<br><br>namespace NeoOGL<br>{<br><br><br>/**<br> * \brief An array of render primitives<br> * \author Mattias Jansson (<a href="mailto:mattias@realityrift.com" target="_blank">mattias@realityrift.com</a>)<br> */<br>class OpArray<br>
{<br>
public:<br><br> /**<br> * \brief Defines for op array<br> */<br> enum OPARRAYDEFS<br> {<br> /*! Size of array. must be a power of two */<br> ARRAYSIZE = 128,<br>
<br> /*! Shift bits for getting array index from op number */<br> ARRAYSHIFT = 7,<br><br> /*! Bitmask for getting op index in array from op number */<br> ARRAYMASK = 0x0000007F<br>
};<br><br><br><br> /*! The ops */<br> NeoEngine::RenderPrimitive 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> ( mkdir -p build/qemu )<br>[ -e build/qemu/Makefile ] || \<br> ( . ./setup-env && cd build/qemu && \<br> ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \<br>
--target-list=arm-softmmu )<br>[ -e build/qemu/openmoko ] || \<br> ( . ./setup-env && cd build/qemu && mkdir openmoko && \<br> for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \<br>
ln -s $f openmoko/`basename $f` ; \<br> 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 && make )<br>
make[1]: Entering directory `/home/qasim/openmoko/build/qemu'<br>make -C arm-softmmu all<br>make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu'<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'<br>make[1]: *** [subdir-arm-softmmu] Error 2<br>make[1]: Leaving directory `/home/qasim/openmoko/build/qemu'<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>