|
|

楼主 |
发表于 2006-12-14 22:01:52
|
显示全部楼层
Post by zhllg
出错信息给的不少,不过有效信息没贴。错误信息里大概从下面这一行开始,都是无效信息
collect2: ld returned 1 exit status
编译过程中不断出现类似如下 的警告:
/usr/include/wx-2.6/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
google搜了一下,好像是和GCC的-O2选项有关,-O2应该是安全滴啊
截了最后的一段:
amule-ClientCreditsList.o: In function `CryptoPP::AlignedAllocator<unsigned int>::pointer CryptoPP::StandardReallocate<unsigned int, CryptoPP::AlignedAllocator<unsigned int> >(CryptoPP::AlignedAllocator<unsigned int>&, unsigned int*, CryptoPP::AlignedAllocator<unsigned int>::size_type, CryptoPP::AlignedAllocator<unsigned int>::size_type, bool)':
ClientCreditsList.cpp .text._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[CryptoPP::AlignedAllocator<unsigned int>::pointer CryptoPP::StandardReallocate<unsigned int, CryptoPP::AlignedAllocator<unsigned int> >(CryptoPP::AlignedAllocator<unsigned int>&, unsigned int*, CryptoPP::AlignedAllocator<unsigned int>::size_type, CryptoPP::AlignedAllocator<unsigned int>::size_type, bool)]+0x69): undefined reference to `CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
ClientCreditsList.cpp .text._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[CryptoPP::AlignedAllocator<unsigned int>::pointer CryptoPP::StandardReallocate<unsigned int, CryptoPP::AlignedAllocator<unsigned int> >(CryptoPP::AlignedAllocator<unsigned int>&, unsigned int*, CryptoPP::AlignedAllocator<unsigned int>::size_type, CryptoPP::AlignedAllocator<unsigned int>::size_type, bool)]+0x85): undefined reference to `CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
amule-ClientCreditsList.o: In function `CryptoPP::Integer::~Integer()':
ClientCreditsList.cpp .text._ZN8CryptoPP7IntegerD1Ev[CryptoPP::Integer::~Integer()]+0x25): undefined reference to `CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2'
make: *** [all] Error 2
!!! ERROR: net-p2p/amule-2.1.2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
amule-2.1.2.ebuild, line 102: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|