aMule Forum
English => Compilation problems => Topic started by: tekwyzrd on December 24, 2007, 07:44:52 AM
-
After several snapshots that failed to build I am glad to see that the 20071224 CVS snapshot builds and eliminates the crash caused by server list download that I observed with the 20071218 snapshot. The process went perfectly using a static build of wxGTK 2.8.4 .2
-
Thanks a lot! I will try :D
What operating system do you use?
-
Thanks a lot! I will try :D
What operating system do you use?
I use Sabayon Linux (a gentoo based distribution)
-
Dont work :-\ :
i486-linux-gnu-g++ -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -Wl,-z,defs -lGeoIP -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-TerminationProcess.o amuled-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec -L. -lmuleappcore -pthread -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lz
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::Transform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:794: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::InverseTransform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:803: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
collect2: ld devolvió el estado de salida 1
make[4]: *** [amuled] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071224/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071224/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071224'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071224'
make: *** [build-stamp] Error 2
-
The process went perfectly using a static build of wxGTK 2.8.4 .2
You mean you compiled wxwidgets in static mode (only .a libs, no .so libs) and linked it against aMule ? Did you run it ? I've tried this before and found the GUI crashes immedeatedly (or after clicking through a few dialogs) this way.
BtW: there are no differences at all between 1222 and 1224 (except for CVS date). You should consider not building a tarball at all if there are no changes. ;)
-
If I see this correct, it just suffers to build if it reaches the daemon in a complete build. Without the daemon it seems to work, and maybe it works if you build only the daemon.
-
20071224 compiled ok on Debian Lenny (wxwidgets 2.8.7) but crashes after a couple of minutes with the same error message as before (20071222).
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/vector:192:
error: attempt to subscript container with out-of-bounds index 2, but
container only holds 2 elements.
Objects involved in the operation:
sequence "this" @ 0x0xb50360a0 {
type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted
Cheers,
Attila
-
Check http://forum.amule.org/index.php?topic=14021.new#new
-
The process went perfectly using a static build of wxGTK 2.8.4 .2
You mean you compiled wxwidgets in static mode (only .a libs, no .so libs) and linked it against aMule ? Did you run it ? I've tried this before and found the GUI crashes immedeatedly (or after clicking through a few dialogs) this way.
BtW: there are no differences at all between 1222 and 1224 (except for CVS date). You should consider not building a tarball at all if there are no changes. ;)
I did the monolithic static build of wxGTK (.a libs) a few weeks ago hoping to get a static build of BOINC. I still haven't succeeded there but the static build of wxGTK has worked well with aMule so far, excluding the 20071219-20071222 snapshots.
I did a standard amule build without extra options, configured using ./configure --prefix=/usr without extra options (which has failed for the last few days)
My reason for trying new snapshots was the crash on server list download with the 20071218 snapshot. It's working so far so I'll probably stick with it until next month or until I find another problem. I had a problem with amule crashing when child windows were created with the 20070624 snapshot built via portage crashing when child windows opened but that was prior to the static build of wxGTK, and it hasn't happened with any of the recent snapshots.
-
20071224 compiled ok on Debian Lenny (wxwidgets 2.8.7) but crashes after a couple of minutes with the same error message as before (20071222).
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/vector:192:
error: attempt to subscript container with out-of-bounds index 2, but
container only holds 2 elements.
Objects involved in the operation:
sequence "this" @ 0x0xb50360a0 {
type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted
Cheers,
Attila
I started aMule via konsole and it did eventually crash
/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/include/g++-v4/debug/vector:194:error:
attempt to subscript container with out-of-bounds index 2, but
container only holds 2 elements.
Objects involved in the operation:
sequence "this" @ 0x0xb645e0a0 {
type = N15__gnu_debug_def6vectorIcSaIcEEE;
}
Aborted
Time to revert to the 20071218 snapshot and hope it's fixed in tomorrow's snapshot.
-
Did you even read my post?
-
Did you even read my post?
Yes I did. I was just confirming the observation posted by another individual and correcting my statement that the problems had been resolved.