aMule Forum

English => Backtraces => Topic started by: wolfy3d on August 21, 2004, 11:55:10 AM

Title: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: wolfy3d on August 21, 2004, 11:55:10 AM
g++  -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0     -o alc  alc-alc.o alc-alcframe.o alc-ed2khash.o alc-alcpix.o alc-md4.o -L/usr/local/lib -pthread -lwx_gtk-2.4
alc-alcframe.o(.text+0x6d39): In function `AlcFrame::OnStartButton(wxCommandEvent&)':
/home/miha/src/amule-cvs/src/utils/aLinkCreator/src/alcframe.cpp:524: undefined reference to `Ed2kHash::GetED2KLink(bool, wxArrayString const&)'
collect2: ld returned 1 exit status
make[5]: *** [alc] Error 1
make[5]: Leaving directory `/home/miha/src/amule-cvs/src/utils/aLinkCreator/src'make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/miha/src/amule-cvs/src/utils/aLinkCreator'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/miha/src/amule-cvs/src/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/miha/src/amule-cvs/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/miha/src/amule-cvs/src'
make: *** [install-recursive] Error 1
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: wolfy3d on August 23, 2004, 08:03:41 PM
today's cvs

make[5]: Entering directory `/home/miha/src/amule-cvs/src/utils/aLinkCreator/src'
g++  -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0     -o alc  al c-alc.o alc-alcframe.o alc-ed2khash.o alc-alcpix.o alc-md4.o -L/usr/local/lib -pthread -lwx_gtk-2.4
alc-alcframe.o(.text+0x6d39): In function `AlcFrame::OnStartButton(wxCommandEvent&)':
/home/miha/src/amule-cvs/src/utils/aLinkCreator/src/alcframe.cpp:524: undefined reference to `Ed2kHash::GetED2KLink(bool, wxArrayString const&)'
collect2: ld returned 1 exit status
make[5]: *** [alc] Error 1
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: phoenix on August 23, 2004, 10:03:26 PM
wolfy3d,

Strange, it is working for me. Try:
$ ./autogen.sh && ./configure --bla bla bla && make clean && make

Change bla bla bla for your configuration parameters :)

Cheers!
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: wolfy3d on August 25, 2004, 11:15:38 AM
it seems autogen.sh was missiing ingredient.
./autogen.sh ; ./configure ; make clean; make ; make install
works much better
thanks didnt know it. configure; make was my only idea

greetings!
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: phoenix on August 25, 2004, 01:14:12 PM
wolfy3d,

The explanation: whenever someone adds or removes a file from the project, or change compilation flags or libs, the configure script must be regenerated. autogen.sh is the script that does that job.

Usually, when we release a distro, configure goes ready, so that the user never has to ./autogen.sh. But when working with cvs, you will have to do it sometimes.

Please, report your results, and thanks for testing!
Cheers!
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: wolfy3d on August 25, 2004, 02:52:02 PM
will do now.

i like to test amule. i see much improvement from 2.0rc3. 3 months ago, it crashed every 5 hours, now i dont even include -debug, because i havent seen it crash fin a month.

 this is getting good:)
Title: Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
Post by: phoenix on August 25, 2004, 08:06:52 PM
Hey, thanks buddy, but do include --enable-debug on cvs builds, because in the rare event :) that amule crashes, we don't want to miss the backtrace.

Thank you for your support.
Cheers!