DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-10-26 08:40:40

chapin
New member
Registered: 2009-10-26
Posts: 2

compile mldonkey fail on DNS-323

I tried to compile mldonkey-2.9.6 on arm platform which is armv5tejl (Dlink NAS dns-323), and my ocaml is 3.10.2. when I built mldonkey, I couldn't build on "make mlnet.static" but I can build on "make mlnet.byte".
My environment is ffp 0.5, and I update all *.tgz in packages and extra-packages folders.

This is part of my message
******************************
/ffp/bin/ld: failed to merge target specific data of file /ffp/lib/ocaml/stdlib.a(arrayLabels.o)
/ffp/bin/ld: ERROR: /ffp/lib/ocaml/stdlib.a(listLabels.o) uses hardware FP, whereas mlnet.static uses software FP
/ffp/bin/ld: failed to merge target specific data of file /ffp/lib/ocaml/stdlib.a(listLabels.o)
/ffp/bin/ld: ERROR: /ffp/lib/ocaml/stdlib.a(stringLabels.o) uses hardware FP, whereas mlnet.static uses software FP
/ffp/bin/ld: failed to merge target specific data of file /ffp/lib/ocaml/stdlib.a(stringLabels.o)
/ffp/bin/ld: ERROR: /ffp/lib/ocaml/stdlib.a(moreLabels.o) uses hardware FP, whereas mlnet.static uses software FP
/ffp/bin/ld: failed to merge target specific data of file /ffp/lib/ocaml/stdlib.a(moreLabels.o)
/ffp/bin/ld: ERROR: /ffp/lib/ocaml/stdlib.a(stdLabels.o) uses hardware FP, whereas mlnet.static uses software FP
/ffp/bin/ld: failed to merge target specific data of file /ffp/lib/ocaml/stdlib.a(stdLabels.o)
collect2: ld returned 1 exit status
Error during linking
make: *** [mlnet.static] Error 2
******************************************

gcc -v

Using built-in specs.
Target: arm-unknown-linux-uclibc
Configured with: /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4_1-branch/configure
--enable-languages=c,c++ --enable-__cxa_atexit --with-local-prefix=/ffp
--disable-multilib --disable-libssp --disable-libgomp --disable-libmudflap
--disable-tls --with-float=soft --disable-bootstrap
Thread model: posix
gcc version 4.1.3 20080414 (prerelease)

uname -r

2.6.12.6-arm1

Does anyone help me?? thanks

Offline

 

#2 2009-10-27 10:36:34

chapin
New member
Registered: 2009-10-26
Posts: 2

Re: compile mldonkey fail on DNS-323

Does anyone can compile mldonkey successfully, please show me the steps. thanks...

Offline

 

#3 2009-10-27 11:00:52

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: compile mldonkey fail on DNS-323

ocaml uses hardware floating point, whereas all of ffp uses software floating point. that's not compatible. you need to compile ocaml with software-fp, too.

Offline

 

#4 2009-11-03 11:24:03

HaikuZen
New member
Registered: 2009-11-03
Posts: 2

Re: compile mldonkey fail on DNS-323

I'm having the same problem: I'm trying to  compile mpd, all the required libraries are from the optware packages. These library are compiled with hardware fp so I cannot link.
My question is:
Are the library from optware, which are compiled with hardware fp, reliable with ffp?

cheers

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB