bugmldonkey, a multi-networks file-sharing client - Bugs: bug #19863, Compilation failure on ARM

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19863: Compilation failure on ARM

Submitted by:  MSX <msx>
Submitted on:  Fri 11 May 2007 11:48:23 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Compilation problemStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.8.5
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: ARM

Mon 31 Mar 2008 08:28:54 AM UTC, comment #5:

Since fabtar is providing ARM cores for months now I assume this bug fixed.

http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582

spiralvoice <spiralvoice>
Project Administrator
Fri 31 Aug 2007 09:38:55 PM UTC, comment #4:

ping

spiralvoice <spiralvoice>
Project Administrator
Fri 25 May 2007 08:16:32 AM UTC, comment #3:

Please do the following with MLDonkey 2.8.2, 2.8.3, 2.8.4 and 2.8.5:

Run ./configure, like you always do with MLDonkey, for each
version and post the created file ./config/Makefile.config
from each version here.

The most likely reason for your compile problem is a missing g++ compiler, needed for donkeySUI support.

But before you use donkeySUI please read http://forum.linkstationwiki.net,
because I am not sure that donkeySUI works on ARM CPUs at all.

You can disable this feature with ./configure --disable-donkeysui

spiralvoice <spiralvoice>
Project Administrator
Thu 24 May 2007 06:53:26 PM UTC, comment #2:

i don't know about hard or soft floating point. I've the ocaml debian package 3.08.3-3. i've previously compiler version 2.8.2 of mldonkey correctly with the same setup.
i didn't used any configure parameter, nor did i do anything on gpp.

Thanks

MSX <msx>
Sun 13 May 2007 01:05:11 PM UTC, comment #1:

Does your ARM machine + toolchain support soft- or hard floating-point?
Ocaml only support hard floating-point: http://caml.inria.fr/mantis/view.php?id=3746

Where did you get the Ocaml compiler from? Self-compiled or Debian package? Which Ocaml version?

Which configure parameter did you use for MLDonkey?
I am asking because of this: " -cc 'gpp ' -ccopt '"
Did you do anything special with gpp?

Here is some more info about MLDonkey and ARM:
http://forum.linkstationwiki.net/viewtopic.php?f=19&t=2433
http://forum.linkstationwiki.net/viewtopic.php?f=39&t=2697

spiralvoice <spiralvoice>
Project Administrator
Fri 11 May 2007 11:48:23 PM UTC, original submission:

I'm using debian on ARM.
Here the last lines of output:

ocamlc -I src/utils/cdk -I src/utils/lib -I src/utils/ocamlrss -I src/utils/ xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/drive r -I src/utils/mp3tagui -I src/config/unix -I src/networks/gnutella -I src/n etworks/gnutella2 -I src/networks/fasttrack -I src/networks/fileTP -I src/net works/bittorrent -I src/networks/donkey -c src/daemon/driver/driverInterface.ml i
ocamlopt -inline 10 -I src/utils/cdk -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I s rc/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/gnu tella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fil eTP -I src/networks/bittorrent -I src/networks/donkey -c src/daemon/driver/dri verInterface.ml
/tmp/camlasmea78f9.s: Assembler messages:
/tmp/camlasmea78f9.s:4: Warning: ignoring redefinition of register alias 'sp'
/tmp/camlasmea78f9.s:5: Warning: ignoring redefinition of register alias 'lr'
/tmp/camlasmea78f9.s:6: Warning: ignoring redefinition of register alias 'pc'
ocamlopt -inline 10 -I src/utils/cdk -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I s rc/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/gnu tella -I src/networks/gnutella2 -I src/networks/fasttrack -I src/networks/fil eTP -I src/networks/bittorrent -I src/networks/donkey -c src/daemon/driver/dri verMain.ml
/tmp/camlasm37fca9.s: Assembler messages:
/tmp/camlasm37fca9.s:4: Warning: ignoring redefinition of register alias 'sp'
/tmp/camlasm37fca9.s:5: Warning: ignoring redefinition of register alias 'lr'
/tmp/camlasm37fca9.s:6: Warning: ignoring redefinition of register alias 'pc'
ocamlopt -inline 10 -a -o build/driver.cmxa -ccopt " " -cclib "-lz " -ccl ib -lbz2 -ccopt "-pthread" src/daemon/driver/driverGraphics_nogd.cmx src/ daemon/driver/driverGraphics.cmx src/daemon/driver/driverInteractive.cmx s rc/daemon/driver/driverCommands.cmx src/daemon/driver/driverControlers.cmx src/daemon/driver/driverInterface.cmx src/daemon/driver/driverMain.cmx
ocamlopt -inline 10 -linkall -o mlnet \
unix.cmxa str.cmxa -ccopt " " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" \
\
\
-cc 'gpp ' -ccopt '' \
\
-I build build/cdk.cmxa build/magic.cmxa build/common.cmxa build/cli ent.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain .cmx
/tmp/camlstartup1119a7.s: Assembler messages:
/tmp/camlstartup1119a7.s:4: Warning: ignoring redefinition of register alias 'sp '
/tmp/camlstartup1119a7.s:5: Warning: ignoring redefinition of register alias 'lr '
/tmp/camlstartup1119a7.s:6: Warning: ignoring redefinition of register alias 'pc '
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]

default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)

-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output
+c : use next 2 args as comment start and comment end sequences
+s : use next 3 args as string start, end and quote character

Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output

--version : display version information and exit
-h, --help : display this message and exit

Error during linking
make: *** [mlnet] Error 2

MSX <msx>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by spiralvoice (Posted a comment)
  • -unavailable- added by msx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Mar 2008 08:28:54 AM UTCspiralvoiceStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Sun 13 May 2007 01:05:11 PM UTCspiralvoiceStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1