aMule Forum
English => Compilation problems => Topic started by: skolnick on January 13, 2009, 01:40:00 AM
-
Hi!
I tried to compile aMule and it doesn't work. Here's the configure line:
./configure --disable-dependency-tracking --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-geoip --enable-optimize --disable-debug --with-denoise-level=3
here's the error:
...
Compiling NetworkFunctions.cpp
/usr/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/usr/include/wx-2.8/wx/hashmap.h:737: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
Linking amulecmd
libs/ec/cpp/libec.a(ECTag.o): In function `CECTag::GetDoubleData() const':
ECTag.cpp:(.text+0x1ef7): undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)'
libs/ec/cpp/libec.a(ECTag.o): In function `CECTag::CECTag(unsigned short, double)':
ECTag.cpp:(.text+0x2286): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)'
libs/ec/cpp/libec.a(ECTag.o): In function `CECTag::CECTag(unsigned short, double)':
ECTag.cpp:(.text+0x29e6): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)'
libs/ec/cpp/libec.a(ECSocket.o): In function `CECSocket::ReadPacket()':
ECSocket.cpp:(.text+0x1ec6): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
ECSocket.cpp:(.text+0x2050): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
ECSocket.cpp:(.text+0x207e): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
ECSocket.cpp:(.text+0x21b0): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)'
collect2: ld returned 1 exit status
make[3]: *** [amulecmd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[root@hades aMule-2.2.3]#
Any idea about what might be the problem?
Thanks!