aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: make error  (Read 4742 times)

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
make error
« on: March 11, 2006, 10:30:13 PM »

I have just downloaded the 11 March CVS. The first time I compiled it I had no problems, and amule ran fine. But then I realized it didn't automatically include amuleweb so I enabled the options indicated on this page: http://www.amule.org/wiki/index.php/HowTo_Compile_In_FC3

Code: [Select]
./configure --prefix=/opt/amule --enable-optimize --disable-debug --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-amule-daemon --enable-amulecmd --enable-webserver
However, now the make is failing at this point:
Code: [Select]
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2   -lpthread -o amuled  amuled-amu led.o amuled-Timer.o amuled-ThreadTasks.o amuled-amule.o amuled-BaseClient.o amuled-Client List.o amuled-ClientCreditsList.o amuled-ClientTCPSocket.o amuled-ClientUDPSocket.o amuled -DownloadClient.o amuled-DownloadQueue.o amuled-EMSocket.o amuled-ECSpecialCoreTags.o amul ed-ExternalConn.o amuled-Friend.o amuled-FriendList.o amuled-HTTPDownload.o amuled-IPFilte r.o amuled-KnownFileList.o amuled-ListenSocket.o amuled-MuleUDPSocket.o amuled-SearchFile. o amuled-SearchList.o amuled-ServerConnect.o amuled-ServerList.o amuled-ServerSocket.o amu led-ServerUDPSocket.o amuled-SharedFileList.o amuled-UploadBandwidthThrottler.o amuled-Upl oadClient.o amuled-UploadQueue.o amuled-Kademlia.o amuled-Search.o amuled-Indexed.o amuled -KademliaUDPListener.o amuled-Prefs.o amuled-RoutingZone.o amuled-Contact.o amuled-ClientC redits.o amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.o amuled-GuiEve nts.o amuled-Logger.o amuled-PartFile.o amuled-Preferences.o amuled-Proxy.o amuled-Server. o amuled-Statistics.o amuled-StatTree.o amuled-SHAHashSet.o amuled-OtherFunctions.o -L. -l muleappcommon -Llibs/common -Llibs/ec -lmulecommon -lec -lz  -lbfd -liberty  -L. -lmuleapp core -L/usr/local/lib -pthread   -L/usr/X11R6/lib  -lwx_baseu_net-2.6 -lwx_baseu-2.6
amuled-Search.o(.text+0x44a3): In function `Kademlia::CSearch::PreparePacketForTags(CMemFi le*, CKnownFile*)':
Search.cpp: undefined reference to `CFileDataIO::WriteTagPtrList(std::list > const&)'
amuled-Indexed.o(.text+0xc79): In function `Kademlia::CIndexed::SendValidNoteResult(Kademl ia::CUInt128 const&, Kademlia::CUInt128 const&, unsigned int, unsigned short)':
Indexed.cpp: undefined reference to `CFileDataIO::WriteTagPtrList(std::list > const&)'
amuled-Indexed.o(.text+0x2101): In function `Kademlia::CIndexed::SendValidSourceResult(Kad emlia::CUInt128 const&, unsigned int, unsigned short)':
Indexed.cpp: undefined reference to `CFileDataIO::WriteTagPtrList(std::list > const&)'
amuled-Indexed.o(.text+0x2305): In function `Kademlia::CIndexed::SendValidKeywordResult(Ka demlia::CUInt128 const&, SSearchTerm const*, unsigned int, unsigned short)':
Indexed.cpp: undefined reference to `CFileDataIO::WriteTagPtrList(std::list > const&)'
amuled-Indexed.o(.text+0x3593): In function `Kademlia::CIndexed::~CIndexed()':
Indexed.cpp: undefined reference to `CFileDataIO::WriteTagPtrList(std::list > const&)'
amuled-Indexed.o(.text+0x3a99):Indexed.cpp: more undefined references to `CFileDataIO::Wri teTagPtrList(std::list > const&)' follow
amuled-KademliaUDPListener.o(.text+0x22d3): In function `Kademlia::CKademliaUDPListener::P rocessSearchResponse(unsigned char const*, unsigned int, unsigned int, unsigned short)':
KademliaUDPListener.cpp: undefined reference to `CFileDataIO::ReadTagPtrList(std::list >*, bool)'
amuled-KademliaUDPListener.o(.text+0x22e9):KademliaUDPListener.cpp: undefined reference to  `Kademlia::CSearchManager::ProcessResult(Kademlia::CUInt128 const&, unsigned int, unsigne d short, Kademlia::CUInt128 const&, std::list >*)'
amuled-KademliaUDPListener.o(.text+0x23ab):KademliaUDPListener.cpp: undefined reference to  `deleteTagPtrListEntries(std::list >*)'
amuled-KademliaUDPListener.o(.text+0x2543): In function `Kademlia::CKademliaUDPListener::P rocessSearchNotesResponse(unsigned char const*, unsigned int, unsigned int, unsigned short )':
KademliaUDPListener.cpp: undefined reference to `CFileDataIO::ReadTagPtrList(std::list >*, bool)'
amuled-KademliaUDPListener.o(.text+0x2559):KademliaUDPListener.cpp: undefined reference to  `Kademlia::CSearchManager::ProcessResult(Kademlia::CUInt128 const&, unsigned int, unsigne d short, Kademlia::CUInt128 const&, std::list >*)'
amuled-KademliaUDPListener.o(.text+0x261b):KademliaUDPListener.cpp: undefined reference to  `deleteTagPtrListEntries(std::list >*)'
amuled-KademliaUDPListener.o(.text+0x32c2): In function `Kademlia::CKademliaUDPListener::P rocessKademliaResponse(unsigned char const*, unsigned int, unsigned int, unsigned short)':
KademliaUDPListener.cpp: undefined reference to `Kademlia::CSearchManager::ProcessResponse (Kademlia::CUInt128 const&, unsigned int, unsigned short, std::list >*)'
amuled-KademliaUDPListener.o(.text+0x42e7): In function `Kademlia::CKademliaUDPListener::P rocessPublishNotesRequest(unsigned char const*, unsigned int, unsigned int, unsigned short )':
KademliaUDPListener.cpp: undefined reference to `CFileDataIO::ReadTagPtrList(std::list >*, bool)'
amuled-RoutingZone.o(.text+0x807): In function `Kademlia::CRoutingZone::Split()':
RoutingZone.cpp: undefined reference to `Kademlia::CRoutingBin::GetEntries(std::list >*, bool)'
amuled-RoutingZone.o(.text+0x1443): In function `Kademlia::CRoutingZone::Merge()':
RoutingZone.cpp: undefined reference to `Kademlia::CRoutingBin::GetEntries(std::list >*, bool)'
amuled-RoutingZone.o(.text+0x1454):RoutingZone.cpp: undefined reference to `Kademlia::CRou tingBin::GetEntries(std::list >*,  bool)'
amuled-RoutingZone.o(.text+0x168a): In function `Kademlia::CRoutingZone::OnSmallTimer()':
RoutingZone.cpp: undefined reference to `Kademlia::CRoutingBin::GetEntries(std::list >*, bool)'
amuled-RoutingZone.o(.text+0xf8): In function `Kademlia::CRoutingZone::GetAllEntries(std:: list >*, bool)':
RoutingZone.cpp: undefined reference to `Kademlia::CRoutingBin::GetEntries(std::list >*, bool)'
amuled-RoutingZone.o(.text+0x160):RoutingZone.cpp: more undefined references to `Kademlia: :CRoutingBin::GetEntries(std::list >*, bool)' follow
amuled-RoutingZone.o(.text+0x43a): In function `Kademlia::CRoutingZone::GetClosestTo(unsig ned int, Kademlia::CUInt128 const&, Kademlia::CUInt128 const&, unsigned int, std::map, std::allocator > >*, bool, bool) const':
RoutingZone.cpp: undefined reference to `Kademlia::CRoutingBin::GetClosestTo(unsigned int,  Kademlia::CUInt128 const&, unsigned int, std::map, std::allocator > >*, bool, bool)'
amuled-KnownFile.o(.text+0x431f): In function `CKnownFile::SetFileName(wxString const&)':
KnownFile.cpp: undefined reference to `Kademlia::CSearchManager::GetWords(wxString const&,  std::list >*)'
./libmuleappcore.a(libmuleappcore_a-SearchManager.o)(.text+0x1c35): In function `Kademlia: :CSearchManager::ProcessResult(Kademlia::CUInt128 const&, unsigned int, unsigned short, Ka demlia::CUInt128 const&, __gnu_debug_def::list >*)':
kademlia/kademlia/SearchManager.cpp:537: undefined reference to `Kademlia::CSearch::Proces sResult(unsigned int, unsigned short, Kademlia::CUInt128 const&, __gnu_debug_def::list >*)'
./libmuleappcore.a(libmuleappcore_a-SearchManager.o)(.text+0x21e3): In function `Kademlia: :CSearchManager::ProcessResponse(Kademlia::CUInt128 const&, unsigned int, unsigned short, __gnu_debug_def::list >*)':
kademlia/kademlia/SearchManager.cpp:517: undefined reference to `Kademlia::CSearch::Proces sResponse(unsigned int, unsigned short, __gnu_debug_def::list >*)'
collect2: ld returned 1 exit status
make[3]: *** [amuled] Error 1
make[3]: Leaving directory `/down/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/down/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/down/amule-cvs'
make: *** [all] Error 2

Anyone have any idea what is going wrong?

Compiling it under Fedora Core 4.
« Last Edit: March 11, 2006, 10:31:11 PM by Ezeltje »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: make error
« Reply #1 on: March 11, 2006, 11:14:01 PM »

"make clean" and recompile
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #2 on: March 12, 2006, 01:55:24 AM »

OK, fixed. thanks.

For some reason, my 2.0.2 "Remote control" settings no longer seem to work with amuleweb; I get an "unable to connect" error message from firefox when I try to connect to localhost:4711. Any configuration changes in Preferences need to be made?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: make error
« Reply #3 on: March 12, 2006, 09:45:28 AM »

if you start amuleweb in command line yes

you need a remote.conf file now...search the forum for that
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #4 on: March 12, 2006, 10:13:47 AM »

I would like to continue to use amuleweb the way I have for the past nine months; start amule, login to amuleweb via another machine on my LAN.

In this case, I don't need remote.conf, right?
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #5 on: March 12, 2006, 11:43:00 AM »

Never mind, I solved it. /opt/amle/bin wasn't in my path, so amule was launching an older version of amuleweb. In the terminal window, I changed the path of that particular session to /opt/amule/bin, so the CVS amule now finds the right amuleweb, but if anyone knows a more elegant solution... well, I suppose that would be just installing it in the default location, ie. usr/...

At first glimpse, the new amuleweb looks the same as is it did when I first looked at it two months ago, ie, not an improvement in various ways, so I entered "default" in the "Web template" field of the Remote Controls page of the Preferences notebook (just in case anyone else wants to know) and restored the original skin.

FWIW, a small bug in the install which I pointed out two months ago (http://forum.amule.org/thread.php?threadid=8819&sid=, see: Missing GIFs), is still there, namely that a number of GIFs are not properly copied to ../amule/webserver/php-default/, and hence the progress bar graph is not correctly displayed with the new skin (this is not a problem with the old default).
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: make error
« Reply #6 on: March 12, 2006, 12:06:36 PM »

and its still a issue with your gd-lib and libpng and not a bug in our install script...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

toshi

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 67
Re: make error
« Reply #7 on: March 12, 2006, 09:09:08 PM »

By the way, that 11'th March CVS is a mysterious thing!
It crashed every second time I used "Global Search", and when i compiled with '--enable-debug' (that one was an optimized version) to make a backtrace it stopped crushing on searching...
« Last Edit: March 12, 2006, 09:09:58 PM by toshi »
Logged
God is real, unless declared as integer...

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: make error
« Reply #8 on: March 12, 2006, 10:00:11 PM »

it crashes here on debug as well ;)
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #9 on: March 13, 2006, 12:58:04 PM »

Quote
Originally posted by stefanero
and its still a issue with your gd-lib and libpng and not a bug in our install script...

My sincere apologies. You posted instructions on how to fix that and I didn't see that.
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #10 on: March 13, 2006, 01:14:01 PM »

I have gone back to 2.02. Yesterday I left the 11 March CVS running for about eight hours, and when I got back my system was swapping so heavily that I couldn't even ssh in to kill anything and had to hit the reset button. (This on a 1GB system.) I had the same problem with the 2.1 back in January when it was first released; some kinda horrendous memory leak? In any case, even though I will miss kad and a couple other things, 2.0.2 runs for a month or a longer without problem. I'll try again in a couple of months to see again whether the problem has been fixed. Bye for now...
Logged

toshi

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 67
Re: make error
« Reply #11 on: March 13, 2006, 02:12:57 PM »

U're just unlucky )
I also have 1 GB, everything seems to be OK, I dunno notice any productivity losses after 2 days uptime with aMule, so IMHO it's not fair to claim aMule in it...
« Last Edit: March 13, 2006, 02:13:32 PM by toshi »
Logged
God is real, unless declared as integer...

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: make error
« Reply #12 on: March 13, 2006, 02:52:16 PM »

about the webserver thing,

what else you want me todo then tell you to install those 2libs and recompile amule(web) ?
I did that in the other post already..so why should I tell ya again?!
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: make error
« Reply #13 on: March 13, 2006, 06:23:36 PM »

Quote
Originally posted by toshi
I also have 1 GB, everything seems to be OK, I dunno notice any productivity losses after 2 days uptime with aMule, so IMHO it's not fair to claim aMule in it...

This isn't a totally random observation on my part. When I first tried v2.1 in January, I noticed (via top) that its virtual memory rapidly ballooned after running for a half day or so -- I saw it reach ~700MB once. Yesterday, the same thing appeared to be taking place, but I can't say for sure, since I couldn't ssh into my box ; it was literally being choked by disk thrashing. I don't see this problem when I am not running v2.1

Possibly the problem is because I am sharing a lot: >1300 files/500 GBs. Just out of curiousity: how many files are you sharing? FWIW, I don't have any problems handling this volume with v2.0.2, only v2.1.
Logged