Error in cross-compiling mono for hand

I am trying to cross-compile mono for arm architecture using scratchbox2 on Ubuntu 12.04 LTS operating system, but was unable to do so.

The whole process I have done is given below

and. Setting up scratchbox2

  • Clone a repository from scratch:

    $ git clone git://gitorious.org/scratchbox2/scratchbox2.git
    
          

  • To build and install SB2:

    $ cd scratchbox2
    $ dpkg-buildpackage -rfakeroot
    $ cd ..
    $ sudo dpkg -i libsb2*deb scratchbox2*deb
    
          

Status: successful

B. Configuring qemu

  • Clone qemu repository

    git clone git://git.qemu.org/qemu.git
    
          

  • To build and install qemu

    $ cd qemu $. / configure --prefix = $ HOME / sb2 --target-list = arm-linux-user $ make && & install $ cd ..

Status: successful

C. Setting up the hand tool chain

  • Getting the tool chain for hands

    $ wget https://sourcery.mentor.com/sgpp/lite/arm/portal/package8739/public/arm-none-linux-gnueabi/arm-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    
    $ tar xjvf arm-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    
          

  • Creating a working target configuration.

    $ cp -a arm-2011.03/arm-none-linux-gnueabi/libc/{lib,etc,usr} .
    $ sb2-init ARM9 arm-2011.03/bin/arm-none-linux-gnueabi-gcc    [ ARM9-> name of target]
    
          

Status: successful

E. Cross-compiling mono

   $ sb2

   [SB2 simple arm9] root@Vostro-460 $ cd Desktop/mono-2.10.8.1
   [SB2 simple arm9] root@Vostro-460 mono-2.10.8.1 $ ./configure --disable-mcs-build
   [SB2 simple arm9] root@Vostro-460 mono-2.10.8.1 $ make

      

Status: failed

Mistake:

/usr/local/lib/libgmodule-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [test-glib] Error 1
make[4]: Leaving directory `/home/ushus/Desktop/mono-2.10.8.1/eglib/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ushus/Desktop/mono-2.10.8.1/eglib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ushus/Desktop/mono-2.10.8.1/eglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ushus/Desktop/mono-2.10.8.1'
make: *** [all] Error 2

      

I am stuck at this step. Any idea how to resolve this error?

+3
arm mono ubuntu-12.04 cross-compiling


source to share


No one has answered this question yet

See similar questions:

five
Unable to cross-compile Mono for ARM
4
Mono cross compilation for hand
3
Cross-compiled mono for a proprietary ARM device
1
Mono on ARM linux
0
Error creating mono in scraper

or similar:

6
Cross-compiling a mono source for ARM?
five
Unable to cross-compile Mono for ARM
1
Cross-compiling Nano-x for ARM
1
Mono Compile Stuck on mscorlib
1
How to cross-compile Microwindows for ARM arch
0
install cross compiler to build a custom kernel for qemu
0
Lack of libraries when installing qt-everywhere for cross-compiling on hand
0
Cross compilation error: hidden symbol ... final link failed
0
Cross-compiling SQLite3 with multithreading support
0
Qt 5.8 Cross Compile by arm-none-linux-gnueabi faild?



All Articles
Loading...
X
Show
Funny
Dev
Pics