aMule Forum

English => en_Bugs => Topic started by: gbvalor on April 11, 2004, 11:35:49 PM

Title: Can't compile 2.0.0rc2
Post by: gbvalor 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
Title: Re: Can't compile 2.0.0rc2
Post by: Jacobo221 on April 12, 2004, 06:26:44 AM
Quite a lot of errors there :-(
Make sure to follow the aMule Compiling HowTo correctly ;-)

Greetings!
Title: Re: Can't compile 2.0.0rc2
Post by: deltaHF 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
Title: Re: Can't compile 2.0.0rc2
Post by: gbvalor 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
Title: Re: Can't compile 2.0.0rc2
Post by: Kry on April 12, 2004, 08:09:57 PM
Will be fixed ;)


And bienvenido