aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Can't compile 2.0.0rc2  (Read 2652 times)

gbvalor

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.oxixares.com/~gbv/
Can't compile 2.0.0rc2
« on: April 11, 2004, 11:35:49 PM »

Hello,
I'm usually build amule RPM packages for suse 9.0 and 8.2, even 8.0. You can see them in the directories at

http://ftp://ftp.oxixares.com/pub/rpms

Well, when 2.0.0rc1 was released I built a the RPM without problems (I also have to build libcrytopp packages to be used). But now something as changed, it aborts when trying to compile first souce with gcc (not g++). I'm using just the same spec.file, only the source package has changed. I recompiled again rc1, no problem. But something is weird in rc2. This is the begining of problematic output:

 make[2]: Entering directory `/usr/src/packages/BUILD/aMule-2.0.0rc2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT cas.o -MD -MP -MF ".deps/cas.Tpo" \
  -c -o cas.o `test -f 'utils/cas/cas.c' || echo './'`utils/cas/cas.c; \
then mv -f ".deps/cas.Tpo" ".deps/cas.Po"; \
else rm -f ".deps/cas.Tpo"; exit 1; \
fi
gcc  -Wall -g -ggdb -fno-inline -D__DEBUG__ -g     -o cas  cas.o  -L/usr/lib -lcurl -L/usr/ssl/lib -lz -lssl -lcrypto -ldl -lz -lcryptopp
/usr/lib/libcryptopp.so: referencia a `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)' sin definir
/usr/lib/libcryptopp.so: referencia a `operator new[](unsigned)' sin definir
/usr/lib/libcryptopp.so: referencia a `log' sin definir
/usr/lib/libcryptopp.so: referencia a `std::basic_string, std::allocator >::assign(char const*, unsigned)' sin definir
/usr/lib/libcryptopp.so: referencia a `__cxa_rethrow' sin definir
/usr/lib/libcryptopp.so: referencia a `typeinfo for int const*' sin definir
....

Any hint?.

Guillermo
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Can't compile 2.0.0rc2
« Reply #1 on: April 12, 2004, 06:26:44 AM »

Quite a lot of errors there :-(
Make sure to follow the aMule Compiling HowTo correctly ;-)

Greetings!
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: Can't compile 2.0.0rc2
« Reply #2 on: April 12, 2004, 06:48:26 AM »

seems smth wrong with your crypto ..
mh, try to dl the tarball again and recompile (remove the old one)

greets

gbvalor

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.oxixares.com/~gbv/
Re: Can't compile 2.0.0rc2
« Reply #3 on: April 12, 2004, 07:47:48 PM »

Hello,

I've tried again. It seems the problem is when compiling cas. if I add '--disable-cas' then I can build.

I'm wondering why the configure scripts make a bad job for src/utils/cas/cas.c file. It is linked against wrong libraries (libcryptopp and others) . Any idea?.

More info of my system SuSE linux 8.2 (athlon XP) :
automake 1.8.3
make 3.80
autoconf   2.59
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)

Guillermo
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Can't compile 2.0.0rc2
« Reply #4 on: April 12, 2004, 08:09:57 PM »

Will be fixed ;)


And bienvenido
Logged