Hi to all!
I am literally going crazy!
I am trying to cross-compile mldonkey 2.9.1 under DS15.2 toolchain.
As described in the wiki i have added the right PATH with shell command:
export PATH=/home/inshar/fritz_ds_mod/kernel2.6/ds26-15.2/toolchain/target/bin:$PATH
(this is exact path on my system)
After i give the ./configure
LDFLAGS=-static ./configure --host=mipsel-linux --enable-minimum
It seems all goes perfect and at end the configure says me:
Configuring MLDonkey 2.9.1 completed.
Network modules:
- eDonkey enabled (eMule SUI disabled)
- BitTorrent disabled
- FileTP (aka wget) disabled
- Fasttrack disabled
- Gnutella disabled - unmaintained
- Gnutella2 disabled - unmaintained
- Direct Connect disabled
- Open Napster disabled - currently not usable
- Soulseek disabled - currently not usable
- OpenFT disabled - currently not usable
Core features:
- zlib (required) enabled
- threads enabled
- bzip2 disabled
- iconv disabled
- libmagic disabled
- graphical stats disabled
Compilers:
- Ocaml version 3.09.2
- mipsel-linux-gcc version 4.2.0
Now execute 'make' to start compiling. Good luck!
To compile a static code execute: make mlnet.static
To produce a release tarball execute: make release.mlnet.static
To clean the build directory execute: make maintainerclean
root@inshar-desktop:/home/inshar/mldonkey-2.9.1#
Looking in the Compilers i see that is right cross platform (mipsel-gcc-version 4.2.0)
So at this point i give: make mlnet.static
All the compile & linking goes well...
But at the end the executable i get does not work on fritz!
I have tried to execute on UBUNTU machine and it works!!!!
So it compiles the mlnet.static for i386 and i do not understand why!?
So where is my mistake??? I am sure there is something i am missing!!!
Thanks a lot in advance
I am literally going crazy!
I am trying to cross-compile mldonkey 2.9.1 under DS15.2 toolchain.
As described in the wiki i have added the right PATH with shell command:
export PATH=/home/inshar/fritz_ds_mod/kernel2.6/ds26-15.2/toolchain/target/bin:$PATH
(this is exact path on my system)
After i give the ./configure
LDFLAGS=-static ./configure --host=mipsel-linux --enable-minimum
It seems all goes perfect and at end the configure says me:
Configuring MLDonkey 2.9.1 completed.
Network modules:
- eDonkey enabled (eMule SUI disabled)
- BitTorrent disabled
- FileTP (aka wget) disabled
- Fasttrack disabled
- Gnutella disabled - unmaintained
- Gnutella2 disabled - unmaintained
- Direct Connect disabled
- Open Napster disabled - currently not usable
- Soulseek disabled - currently not usable
- OpenFT disabled - currently not usable
Core features:
- zlib (required) enabled
- threads enabled
- bzip2 disabled
- iconv disabled
- libmagic disabled
- graphical stats disabled
Compilers:
- Ocaml version 3.09.2
- mipsel-linux-gcc version 4.2.0
Now execute 'make' to start compiling. Good luck!
To compile a static code execute: make mlnet.static
To produce a release tarball execute: make release.mlnet.static
To clean the build directory execute: make maintainerclean
root@inshar-desktop:/home/inshar/mldonkey-2.9.1#
Looking in the Compilers i see that is right cross platform (mipsel-gcc-version 4.2.0)
So at this point i give: make mlnet.static
All the compile & linking goes well...
But at the end the executable i get does not work on fritz!
I have tried to execute on UBUNTU machine and it works!!!!

So it compiles the mlnet.static for i386 and i do not understand why!?

So where is my mistake??? I am sure there is something i am missing!!!
Thanks a lot in advance