aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Cannot build Feb 22 CVS  (Read 2190 times)

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
Cannot build Feb 22 CVS
« on: February 22, 2007, 10:49:15 PM »

Hi,
no luck  :(
The NSLU spent the whole day compiling amuled. gcc died several times cause it run out of memory, I even had to kill cron. I don't know if it is because of amule or is gcc fault, but I've built amuled before without problems (perhaps gcc version was not the same).
When I thought it was almost done, it failed:

g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS  -lpthread -o amuled  amuled-amuled.o amuled-Timer.o amuled-RC4Encrypt.o amuled-amule.o amuled-BaseClient.o amuled-ClientList.o amuled-ClientCreditsList.o amuled-ClientTCPSocket.o amuled-ClientUDPSocket.o amuled-DownloadClient.o amuled-DownloadQueue.o amuled-ECSpecialCoreTags.o amuled-EMSocket.o amuled-EncryptedStreamSocket.o amuled-EncryptedDatagramSocket.o amuled-ExternalConn.o amuled-Friend.o amuled-FriendList.o amuled-HTTPDownload.o amuled-IPFilter.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 amuled-ServerUDPSocket.o amuled-SharedFileList.o amuled-ThreadTasks.o amuled-UploadBandwidthThrottler.o amuled-UploadClient.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-UPnP.o amuled-UPnPCompatibility.o amuled-ClientCredits.o amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.o amuled-GuiEvents.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-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec     -L. -lmuleappcore -L/usr/local/lib -pthread   -lwx_baseu_net-2.8 -lwx_baseu-2.8  -lz

amuled-amuled.o: In function `__static_initialization_and_destruction_0(int, int)':
amuled.cpp:(.text+0x600): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amuled.cpp:(.text+0x61c): undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
amuled-amuled.o: In function `CamuleDaemonApp::OnRun()':
amuled.cpp:(.text+0x15d8): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amuled.cpp:(.text+0x1654): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amuled.cpp:(.text+0x1794): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amuled-amuled.o: In function `CDaemonAppTraits::WaitForChild(wxExecuteData&)':
amuled.cpp:(.text+0x19d4): undefined reference to `wxLogSysError(wchar_t const*, ...)'
amuled-amuled.o: In function `CamuleDaemonApp::ShowAlert(wxString, wxString, int)':
amuled.cpp:(.text+0x1b9c): undefined reference to `operator+(wxString const&, wchar_t const*)'
amuled.cpp:(.text+0x1c38): undefined reference to `operator+(wxString const&, wchar_t const*)'
amuled-amuled.o: In function `wxAppTraitsBase::GetDesktopEnvironment() const':
amuled.cpp:(.text._ZNK15wxAppTraitsBase21GetDesktopEnvironmentEv[wxAppTraitsBase::GetDesktopEnvironment() const]+0x28): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amuled-amuled.o:(.rodata._ZTV15CamuleDaemonApp[vtable for CamuleDaemonApp]+0x44): undefined reference
to `wxAppConsole::Initialize(int&, wchar_t**)'
amuled-Timer.o: In function `__static_initialization_and_destruction_0(int, int)':
Timer.cpp:(.text+0x60): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
[...]
collect2: ld returned 1 exit status
make[3]: *** [amuled] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The whole ouput is 283KB long.
Is there anything I can do without recompiling all the stuff?

Logged