aMule Forum
English => Compilation problems => Topic started by: MsZ 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:
`.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*:
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'.
-
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