Emulator make qemu end up with errors

SEECS open Mobile Team openmoko.seecs at gmail.com
Tue Aug 26 07:51:14 CEST 2008


Sorry for taking your time...
I'm working with openmoko tech. right now settig up ubuntu for QEMU Emulator
by applying the commands from

http://wiki.openmoko.org/wiki/MokoMakefile
http://wiki.openmoko.org/wiki/Using_QEMU_with_MokoMakefile#Build_requirements

the right below error

qasim at qasim-desktop:~$ cd openmoko
qasim at qasim-desktop:~/openmoko$ make qemu
[ -e build/qemu ] || \
    ( mkdir -p build/qemu )
[ -e build/qemu/Makefile ] || \
    ( . ./setup-env && cd build/qemu && \
      ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \
        --target-list=arm-softmmu )
[ -e build/qemu/openmoko ] || \
    ( . ./setup-env && cd build/qemu && mkdir openmoko && \
      for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do
\
        ln -s $f openmoko/`basename $f` ; \
      done )
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env
build/qemu/openmoko/env
[ -d stamps ] || mkdir stamps
touch stamps/qemu
( cd build/qemu && make )
make[1]: Entering directory `/home/qasim/openmoko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu'
../dyngen -o op.h op.o
make[2]: ../dyngen: Command not found
make[2]: *** [op.h] Error 127
make[2]: Leaving directory `/home/qasim/openmoko/build/qemu/arm-softmmu'
make[1]: *** [subdir-arm-softmmu] Error 2
make[1]: Leaving directory `/home/qasim/openmoko/build/qemu'
make: *** [build-qemu] Error 2

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 http://www.krugle.org

/***************************************************************************
                         op.h  -  Render operation data
                             -------------------
    begin                : Sun Mar 30 2003
    copyright            : (C) 2003 by Reality Rift Studios
    email                : mattias at realityrift.com
 ***************************************************************************

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/

 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.

 The Original Code is the NeoEngine, NeoDevOpenGL, op.h

 The Initial Developer of the Original Code is Mattias Jansson.
 Portions created by Mattias Jansson are Copyright (C) 2003
 Reality Rift Studios. All Rights Reserved.

 ***************************************************************************/

#ifndef __NEOGLOP_H
#define __NEOGLOP_H


#include <neoengine/renderprimitive.h>


namespace NeoOGL
{


/**
  * \brief An array of render primitives
  * \author Mattias Jansson (mattias at realityrift.com)
  */
class OpArray
{
    public:

        /**
        * \brief Defines for op array
        */
        enum OPARRAYDEFS
        {
          /*! Size of array. must be a power of two */
          ARRAYSIZE                                   = 128,

          /*! Shift bits for getting array index from op number */
          ARRAYSHIFT                                  = 7,

          /*! Bitmask for getting op index in array from op number */
          ARRAYMASK                                   = 0x0000007F
        };



        /*! The ops */
        NeoEngine::RenderPrimitive                    m_akOps[ ARRAYSIZE ];
};


}; // namespace NeoOGL


#endif

and then when i ran the make qemu i end up with this


qasim at qasim-desktop:~/openmoko$ make qemu
[ -e build/qemu ] || \
    ( mkdir -p build/qemu )
[ -e build/qemu/Makefile ] || \
    ( . ./setup-env && cd build/qemu && \
      ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \
        --target-list=arm-softmmu )
[ -e build/qemu/openmoko ] || \
    ( . ./setup-env && cd build/qemu && mkdir openmoko && \
      for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do
\
        ln -s $f openmoko/`basename $f` ; \
      done )
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env
build/qemu/openmoko/env
[ -d stamps ] || mkdir stamps
touch stamps/qemu
( cd build/qemu && make )
make[1]: Entering directory `/home/qasim/openmoko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory `/home/qasim/openmoko/build/qemu/arm-softmmu'
../dyngen -c -o opc.h op.o
make[2]: ../dyngen: Command not found
make[2]: *** [opc.h] Error 127
make[2]: Leaving directory `/home/qasim/openmoko/build/qemu/arm-softmmu'
make[1]: *** [subdir-arm-softmmu] Error 2
make[1]: Leaving directory `/home/qasim/openmoko/build/qemu'
make: *** [build-qemu] Error 2
qasim at qasim-desktop:~/openmoko$


can you assist


-- 
-SEECS Open Mobile Squad
NUST School of Electrical Engineering and Computer Sciences

Blog: http://seecsopenmobile.wordpress.com
Phone: +92 345 593 5526



-- 
-SEECS Open Mobile Squad
NUST School of Electrical Engineering and Computer Sciences

Blog: http://seecsopenmobile.wordpress.com
Phone: +92 345 593 5526
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080826/64b9781b/attachment-0001.htm 


More information about the support mailing list