User(s) browsing this thread: 1 Guest(s)
|
[200] Error compiling Mono.Net
|
|
02-15-2012, 11:29 PM
|
|||
|
|||
|
Error compiling Mono.Net
First of all I've to admit that I'm a total linux newbie so be understanding with my very first linux approach please
![]() I'm trying to compile it natively on my A300. My goal is to be able to execute 'mono myExecutable.exe' in the nmt. The short explanation: After compilation I get a 'mono' executable: Code: ./mono: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, dynamically linkBut it doesn't work ![]() Code: sh-3.00# ./monoCode: sh-3.00# strace ./monoCode: (gdb) runDoes anyone know what the problem can be? Large explanation: Vaidyasr compiled it and incuded it in the opkg package but it doesn't work either. It says "segmentation fault" too. Before asking him to fix it again I've tried it by myself. The compilation instructions in the mono.net page are quite easy: ./configure --prefix=/usr/local; make; make install Previous to compile I've setup the shell with this commands I've found in the forum: Code: PATH=/share/Apps/local/bin:$PATH;export PATHAfter messing around with a lot of opkg packages, symbolink links for missing libraries, etc. I ended up with an error in the ''make" command: Code: cd /share/mono-2.10.8/mcs && make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_I've been investigating and 'gmcs' is a .net executable. That means that is executed using 'mono gmcs' command, so at this point I should have a mono executable. I've found the 'mono' executable in a temp dir. Trying to execute it I get the results I've written before. Any help will be welcome. Thanks in advance. |
|||
|
02-19-2012, 04:29 AM
|
|||
|
|||
|
RE: Error compiling Mono.Net
I'll try to recompile again and release it for testing.
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
1 user says Thank You to vaidyasr for this post |
|
02-20-2012, 10:17 PM
|
|||
|
|||
|
RE: Error compiling Mono.Net
Vaidyasr, thank you so much.
|
|||
|
05-14-2012, 08:52 PM
|
|||
|
|||
|
RE: Error compiling Mono.Net
Mono has released the version 2.11.1. Since version 2.11.0 claims to have full MIPS support.
I've tried to compile it natively and I get a woking 'mono' executable. If I execute "mono -V", it works ok! What I have not been able is to compile the framework. When 'mono' is compiled in a system that already have mono installed, it uses the already existing mono in the system to create this part I fail to generate. Could you vaidyasr (or any other one) try to cross compile it? Here you have the last sources: http://download.mono-project.com/sources....1.tar.bz2 Here the instructions: http://www.mono-project.com/Compiling_Mono_From_Tarball I had problems compiling and I had to use: ./configure --prefix=/usr/local --enable-minimal=profiler And I have not tested it but I think that this creates the ipk package: make mono-ipk Thank you very much in advance! |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]








![[+]](images/collapse_collapsed.gif)
