aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved] aMule CVS compilation problem on Slamd64  (Read 2521 times)

MsZ

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
[solved] aMule CVS compilation problem on Slamd64
« on: April 25, 2007, 02:42:59 PM »

Hello everyone. ;D
First of all, let me thank every single developer/tester/anybody-working-on-amule here: aMule really rocks. Just the best p2p app IMHO.

Well, here's the problem.
I'm running a Slamd64 (64-bit Slackware-based distro) on a AMD64 Athlon 3700+. When I had the good ol'32-bit Slack on it, aMule CVS compiled just fine.
But, here's a little complication. I've tried compiling the latest aMule CVS .tar.bz2 (as of today, 4/25/2007), but I can only build the stable 2.1.3 version.
Here's the output:
Code: [Select]
`.gnu.linkonce.t._ZNK6CECTag6GetIntEv' referenced in section `.rodata' of amule-ECSpecialMuleTags.o: defined in discarded section `.gnu.linkonce.t._ZNK6CECTag6GetIntEv' of amule-ECSpecialMuleTags.o
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/home/temp/src/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/temp/src/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/temp/src/amule-cvs'
make: *** [all] Error 2
just when it tries to build the 'amule' app. I'm pretty much sure that it's the only error in the build process.

I've the latest 2.8.3 wxGTK, compiled from scratch. (I should be able to remember the './configure' settings, if you need them.)
ls -l /usr/local/bin/wx*:
Code: [Select]
lrwxrwxrwx 1 root root    49    2007-04-24 16:06 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-release-2.8*
lrwxrwxrwx 1 root root     8     2007-04-24 16:06 /usr/local/bin/wxrc -> wxrc-2.8*
-rwxr-xr-x    1 root root 99347 2007-04-24 16:06 /usr/local/bin/wxrc-2.8*

To point it out: aMule 2.1.3 finishes compiling successfully. This problem only appears with CVS .tar.bz2s. With the same wxGTK.
Any ideas? Could you help me?
Thank you very much for your time, and for aMule. ;D Please keep rockin'.
« Last Edit: May 02, 2007, 04:15:03 PM by MsZ »
Logged

MsZ

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: aMule CVS compilation problem on Slamd64
« Reply #1 on: May 02, 2007, 04:14:26 PM »

This seemed to be a distro-related problem. (I should've noticed it sooner. Oh, well. ::) )
You know, I was using binutils 2.16.92 for x86_64. Strolling around the net I found out that it really was an ld problem.
So, I downgraded binutils to 2.15.92 and aMule CVS compiled successfully. It isn't complaining, and I think it shouldn't complain too much.
(It could be useful also for cross-compilations. So I could suggest to compile an older version of binutils into another path.)

Ahem, that's all. If you feel like this thread could turn out to be useful to someone, please leave it. If you don't, then you may trash it for good. ;D

Anyway, thank you very much for your hard work. I'm looking forward for aMule 2.2.0 ;D
« Last Edit: May 02, 2007, 04:17:30 PM by MsZ »
Logged