aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date  (Read 3220 times)

wolfy3d

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
    • http://www.rulz.org
aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« 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
Logged

wolfy3d

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
    • http://www.rulz.org
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #1 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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #2 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!
Logged

wolfy3d

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
    • http://www.rulz.org
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #3 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!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #4 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!
Logged

wolfy3d

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
    • http://www.rulz.org
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #5 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:)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule-cvs-20040821 compile on Fedora Core 2 up-to-date
« Reply #6 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!
Logged