bugmldonkey, a multi-networks file-sharing client - Bugs: bug #7854, Can't compile MLDonkey 2.5.9 -...

 
 

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

bug #7854: Can't compile MLDonkey 2.5.9 - 2.5.12 under MinGW with OCaml 3.06

Submitted by:  None
Submitted on:  Mon 23 Feb 2004 02:53:08 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Compilation problemStatus: Wont Fix
Assigned to: NoneOpen/Closed: Closed
Release: 2.5.12 (2.5.9-2.5.12)Release: Before 1.14
Operating System: CygwinBinaries Origin: Binary from Savannah
CPU type: None

Thu 26 Feb 2004 11:00:08 PM UTC, comment #2:

So, solution is to take ar.exe from Cygwin for use in MinGW.
I had to do the same thing, ar.exe is here:
ftp://ftp.fit.vutbr.cz/pub/systems/cygwin/release/binutils/binutils-20030901-1.tar.bz2
cygwin1.dll here:
ftp://ftp.fit.vutbr.cz/pub/systems/cygwin/release/cygwin/cygwin-1.5.7-1.tar.bz2
or from any other Cygwin mirrir.

spiralvoice <spiralvoice>
Project Administrator
Mon 23 Feb 2004 11:43:16 AM UTC, comment #1:

ocaml-3.07pl2 is not designed to be compiled under MinGw. There is no support for MinGW. It has to be compiled with Cygwin. Please note that if you want to build the GTK GUI, you have to compile ocaml with the switch '-mwindows'. Otherwise the console will open each time you use the GUI. However this produces native win32 binaries (you can check with objdump) that can be used under MinGW.
Your problem is very well known.
Rename the file mingw/bin/ar.exe in ar.exe.back and copy and paste the ar.exe & cygwin1.dll from cygwin in mingw/bin/. Then it should work.
You can check after that your mldonkey binary does not depend on cygwin at all with objdump.

su_blanc <su_blanc>
Project Member
Mon 23 Feb 2004 02:53:08 AM UTC, original submission:

MLDonkey 2.5.3 and 2.5.4 working (compiling) very well but 2.5.9 - 2.5.12 doesn't working (compiling):

You receive this error during compiling process:
(Windows XP SP1
mingw_038.exe
mingw_tools_032.exe
MSYS-1.0.10-rc-4.exe
ocaml-3.06.tar.gz)

ar: illegal option -- @
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count ] archive-file file...
ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
t - display contents of archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[u] - only replace files that are newer than current archive contents
generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[v] - be verbose
[V] - display the version number
emulation options:
No emulation specific options
ar: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec s ymbolsrec tekhex binary ihex
Error while creating the library build/core.a
make: *** [build/core.cmxa] Error 2

Can you fix this problem or tell me how can I going trough this problem?

Thanx -unavailable-

PS: ocaml-3.07pl2.tar.gz cause compiling error under MinGW therefore i using ocaml-3.06.tar.gz - it is going very well against 3.07p12.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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
Thu 26 Feb 2004 11:00:08 PM UTCspiralvoiceStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed
Tue 24 Feb 2004 11:54:39 PM UTCspiralvoiceCarbon-Copy-=>Added tz --DOT-- jouda --AT-- centrum --DOT-- cz

Back to the top


Powered by Savane 3.1-cleanup1