aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Help!: collect2: ld returned 1 exit status  (Read 2758 times)

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Help!: collect2: ld returned 1 exit status
« on: April 02, 2004, 03:58:34 PM »

Hi people!

Im getting this error when trying to compile amule from source. I have had the previous versions working fine though, compiled from source too, right now i have amule 1.2.6 running with no problems.

I edit the post to add the command I give to compile:
./configure --disable-amulecmd --disable-debug --enable-optimise && make

This is the error sequence:
Quote
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/emuleuser/tmp/aMule-2.0.0rc1/intl'
Making all in po
make[2]: Entering directory `/home/emuleuser/tmp/aMule-2.0.0rc1/po'
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/emuleuser/tmp/aMule-2.0.0rc1/po'
Making all in src
make[2]: Entering directory `/home/emuleuser/tmp/aMule-2.0.0rc1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__  -O2  -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" \
  -c -o ED2KLinkParser.o `test -f 'ED2KLinkParser.cpp' || echo './'`ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; \
else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; \
fi
g++  -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__  -O2    -o ed2k  ED2KLinkParser.o  -L/usr/lib -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcryptopp
/usr/bin/ld: cannot find -lcryptopp
collect2: ld returned 1 exit status
make[2]: *** [ed2k] Error 1
make[2]: Leaving directory `/home/emuleuser/tmp/aMule-2.0.0rc1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emuleuser/tmp/aMule-2.0.0rc1'
make: *** [all] Error 2

And the output of get-info.sh:

Quote
I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)

     B. wxWindows Info
        Version: 2.4.2
        -pthread -lwx_gtk-2.4

     C. GTK Info
        GTK 1: 1.2.10
./get-info.sh: line 1: pkg-config: command not found
        GTK 2:

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium II (Deschutes)
        Speed: 400.900
        BMips: 790.52
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr

     B. Memory Info
        Total:   321040 kB
        Unused:  115200 kB

     C. Kernel Info
        Version: 2.6.2-3mdk

     D. Library Info
        wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so


Since the other versions of amule compiled fine, where is the problem? Do I need to update wxWindows??

Please help  :baby:
« Last Edit: April 02, 2004, 04:00:46 PM by feralertx »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Help!: collect2: ld returned 1 exit status
« Reply #1 on: April 02, 2004, 04:13:33 PM »

no, u need libcrypto

look plz at our portal -> downloads box and dl crypto..tar.bz2. untar it and do make && make install

greets

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: Help!: collect2: ld returned 1 exit status
« Reply #2 on: April 02, 2004, 04:34:27 PM »

Thanks deltaHF, Im rigth to it, but can you tell me why i didnt need it before? What is it for?

Thanks a lot!  :D
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Help!: collect2: ld returned 1 exit status
« Reply #3 on: April 02, 2004, 04:51:11 PM »

aMule v2rc1 is now suporting SecureIdent, so that's the reason ;-)
In fact, this new support is one of the features that makes aMule's version change (apart from multiplatfrom support and some others).

Geetings! ;-)
Logged