aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile?compile!  (Read 11035 times)

laochang

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Compile?compile!
« on: September 01, 2004, 09:23:53 AM »

I used mingw dev studio to compile amule .But when link,lots of error take place,can anybody give me a suggestion?
The error of "multiple definition " also takes place when link to libcryptopp.a.
Linking...
\mingw\lib\libstdc++.a(eh_personality.o)(.data$_ZTISt9exception+0x0): multiple definition of `typeinfo for std::exception'
D:\msys\1.0\home\Administrator\aMule-2.0.0rc5\Release\BaseClient.o(.rdata$_ZTISt9exception+0x0):BaseClient.cpp: first defined here
\mingw\lib\libstdc++.a(eh_personality.o)(.text$_ZTSSt9exception+0x0): multiple definition of `typeinfo name for std::exception'
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #1 on: September 01, 2004, 09:57:13 AM »

I will have a look this evening at home :)

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #2 on: September 04, 2004, 04:52:08 PM »

Hi,

Yes, rc5 doesnt compile. U have to try a cvs snapshot: the one from 18/07 or 17/07 shloud compile. The cvs snapshot from nowsdays doent compile 2 du to (again) crypto++ stuff.

Anyway, even if compile, amule for win32 isnt fully fonctionnal, so just use it for tsting purpose :)

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

newl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Compile?compile!
« Reply #3 on: September 11, 2004, 01:15:47 PM »

Has there been any more progress on this?  I too have been able to get it to successfully compile (even with the mod code and classes used from my linux build) but am also getting the same link problems using the full studio installation with msys compiled and copied libraries.
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #4 on: September 11, 2004, 07:00:04 PM »

crypto 5.1 or 5.2 ?

5.1 link well, 5.2, dunno

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

newl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Compile?compile!
« Reply #5 on: September 13, 2004, 03:27:21 PM »

crypto51.  I suppose if CVS compiles and links then I'll wait for RC6 to hit.  Can't be bothered sorting out CVS and Windows. :)
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #6 on: September 13, 2004, 04:00:11 PM »

For now, cvs from yesterday compile and link, but crash at startup with

- wx-2.4.2
- crypto5.2

- mingw-3.4

cvs form 18/07 compile and start with

- wx-2.4.2
- crypto5.1

- mingw-3.3.1

Thepolish

PS: i will contact DeltaHF to see if can distribute crypto and curl win32 binaries
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

newl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Compile?compile!
« Reply #7 on: September 14, 2004, 02:19:56 PM »

Okay, thanks.  I'll keep my eyes on this thread as well as the site for any other new developments on this particular issue.
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #8 on: September 15, 2004, 11:59:40 PM »

Hi,

Current CVS with wxwindows CVS too :) Now connect, but low ID

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

karmacoma

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile?compile!
« Reply #9 on: September 24, 2004, 02:11:12 PM »

sorry guys, just two stupid questions

1.- Which Min GW Studio should I use, the full one, the full plus???

2.- where shall I add the Zlib, Curl and Crypto++ compilled libs ??

thanks a lot !!!!
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Compile?compile!
« Reply #10 on: September 24, 2004, 02:27:29 PM »

Hi,

depend on what u want to do :)

i explain: u need wx, curl, zlib, crypto++ libs.

Use the full + if u dont want to compile wx yourself ans want to use wx-2.4.2

Use the simple full, if u want to compile wx and libs yourself

Std places for libs is c:\MinGWStudio\lib and for *.h c:\MinGWStudio\include, nut u cant put them where u want just by configuring mingwstudio to look in your specific folders. (project setting)

Note that compilation under win32 is still experimental, and even when compile, aMule doesnt fully work :)

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)