Hi,
following problem:
g++ -Os -DUSE_EMBEDDED_CRYPTO -L/usr/X11R6/lib -lpthread -o amuled
amuled-amuled.o amuled-Timer.o amuled-AICHSyncThread.o amuled-AddFileThread.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-EMSocket.o
amuled-ECSpecialCoreTags.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-SearchList.o amuled-ServerConnect.o amuled-ServerList.o
amuled-ServerSocket.o amuled-ServerUDPSocket.o amuled-SharedFileList.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-ClientCredits.o
amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.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 amuled-CryptoPP.o -pthread -L/usr/X11R6/lib
/usr/lib/libwx_baseu-2.7.a /usr/lib/libwx_baseu_net-2.7.a -lwxregexu-2.7 -lz
-ldl -lm -L. -lmuleappcore -L. -lmuleappcommon -Llibs/common -Llibs/ec
-lmulecommon -lec -lz -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::wxTCPConnection()':
sckipc.cpp:(.text+0xaf): undefined reference to
`wxConnectionBase::wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::wxTCPConnection()':
sckipc.cpp:(.text+0x14f): undefined reference to
`wxConnectionBase::wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::wxTCPConnection(wchar_t*, int)':
sckipc.cpp:(.text+0x195): undefined reference to
`wxConnectionBase::wxConnectionBase(wchar_t*, int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::wxTCPConnection(wchar_t*, int)':
sckipc.cpp:(.text+0x1db): undefined reference to
`wxConnectionBase::wxConnectionBase(wchar_t*, int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::Advise(wxString const&, wchar_t*, int, wxIPCFormat)':
sckipc.cpp:(.text+0x238): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x245): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0x254): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x271): undefined reference to
`wxDataOutputStream::Write32(unsigned int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPEventHandler::Server_OnRequest(wxSocketEvent&)':
sckipc.cpp:(.text+0x321): undefined reference to
`wxDataInputStream::wxDataInputStream(wxInputStream&, wxMBConv&)'
sckipc.cpp:(.text+0x353): undefined reference to
`wxDataOutputStream::wxDataOutputStream(wxOutputStream&, wxMBConv&)'
sckipc.cpp:(.text+0x365): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x384): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x3ea): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x479): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`__static_initialization_and_destruction_0(int, int)':
sckipc.cpp:(.text+0x56f): undefined reference to `wxServerBase::ms_classInfo'
sckipc.cpp:(.text+0x5a0): undefined reference to `wxClientBase::ms_classInfo'
sckipc.cpp:(.text+0x5ce): undefined reference to
`wxConnectionBase::ms_classInfo'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::Execute(wchar_t const*, int, wxIPCFormat)':
sckipc.cpp:(.text+0x6fe): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x70d): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x72a): undefined reference to
`wxDataOutputStream::Write32(unsigned int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::Request(wxString const&, int*, wxIPCFormat)':
sckipc.cpp:(.text+0x76a): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x777): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0x786): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x790): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x79d): undefined reference to `wxDataInputStream::Read32()'
sckipc.cpp:(.text+0x7a8): undefined reference to
`wxConnectionBase::GetBufferAtLeast(unsigned int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::Poke(wxString const&, wchar_t*, int, wxIPCFormat)':
sckipc.cpp:(.text+0x7f8): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x805): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0x814): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x831): undefined reference to
`wxDataOutputStream::Write32(unsigned int)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::StartAdvise(wxString const&)':
sckipc.cpp:(.text+0x86e): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x87b): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0x885): undefined reference to `wxDataInputStream::Read8()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::StopAdvise(wxString const&)':
sckipc.cpp:(.text+0x8b2): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x8bf): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0x8c9): undefined reference to `wxDataInputStream::Read8()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPClient::MakeConnection(wxString const&, wxString const&, wxString const&)':
sckipc.cpp:(.text+0xb99): undefined reference to
`wxDataInputStream::wxDataInputStream(wxInputStream&, wxMBConv&)'
sckipc.cpp:(.text+0xbc2): undefined reference to
`wxDataOutputStream::wxDataOutputStream(wxOutputStream&, wxMBConv&)'
sckipc.cpp:(.text+0xc0b): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0xc16): undefined reference to
`wxDataOutputStream::WriteString(wxString const&)'
sckipc.cpp:(.text+0xc20): undefined reference to
`wxDataInputStream::Read8()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::Disconnect()':
sckipc.cpp:(.text+0xdbb): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o):
In function `wxTCPConnection::~wxTCPConnection()':
sckipc.cpp:(.text+0xe5e): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
sckipc.cpp:(.text+0xe75): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::~wxTCPConnection()':
sckipc.cpp:(.text+0xf00): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::~wxTCPConnection()':
sckipc.cpp:(.text+0xf9a): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPEventHandler::Client_OnRequest(wxSocketEvent&)':
sckipc.cpp:(.text+0x1024): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x103f): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x104d): undefined reference to `wxDataInputStream::Read32()'
sckipc.cpp:(.text+0x1058): undefined reference to
`wxConnectionBase::GetBufferAtLeast(unsigned int)'
sckipc.cpp:(.text+0x108b): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x10b3): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x10c1): undefined reference to `wxDataInputStream::Read32()'
sckipc.cpp:(.text+0x10cc): undefined reference to
`wxConnectionBase::GetBufferAtLeast(unsigned int)'
sckipc.cpp:(.text+0x1100): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x1155): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x11a1): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x11cc): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x11da): undefined reference to `wxDataInputStream::Read32()'
sckipc.cpp:(.text+0x11e5): undefined reference to
`wxConnectionBase::GetBufferAtLeast(unsigned int)'
sckipc.cpp:(.text+0x121c): undefined reference to
`wxDataInputStream::ReadString()'
sckipc.cpp:(.text+0x1247): undefined reference to `wxDataInputStream::Read8()'
sckipc.cpp:(.text+0x1279): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
sckipc.cpp:(.text+0x129d): undefined reference to
`wxDataOutputStream::Write32(unsigned int)'
sckipc.cpp:(.text+0x12df): undefined reference to
`wxDataOutputStream::Write8(unsigned char)'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::~wxTCPConnection()':
sckipc.cpp:(.text+0xf1e): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxTCPConnection::~wxTCPConnection()':
sckipc.cpp:(.text+0xfb8): undefined reference to
`wxConnectionBase::~wxConnectionBase()'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o):(.gnu.linkonce.r._ZTI15wxTCPConnection[typeinfo for wxTCPConnection]+0x8):
undefined reference to `typeinfo for wxConnectionBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o):(.gnu.linkonce.r._ZTI11wxTCPServer[typeinfo for wxTCPServer]+0x8):
undefined reference to `typeinfo for wxServerBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o):(.gnu.linkonce.r._ZTI11wxTCPClient[typeinfo for wxTCPClient]+0x8):
undefined reference to `typeinfo for wxClientBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxServerBase::~wxServerBase()':
sckipc.cpp:(.gnu.linkonce.t._ZN12wxServerBaseD2Ev[wxServerBase::~wxServerBase()]+0x8):
undefined reference to `vtable for wxServerBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxClientBase::~wxClientBase()':
sckipc.cpp:(.gnu.linkonce.t._ZN12wxClientBaseD2Ev[wxClientBase::~wxClientBase()]+0x8):
undefined reference to `vtable for wxClientBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxClientBase::wxClientBase()':
sckipc.cpp:(.gnu.linkonce.t._ZN12wxClientBaseC2Ev[wxClientBase::wxClientBase()]+0xf):
undefined reference to `vtable for wxClientBase'
/usr/lib/libwx_baseu_net-2.7.a(netlib_sckipc.o): In function
`wxServerBase::wxServerBase()':
sckipc.cpp:(.gnu.linkonce.t._ZN12wxServerBaseC2Ev[wxServerBase::wxServerBase()]+0xf):
undefined reference to `vtable for wxServerBase'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`CED2KServerLink::CED2KServerLink(wxString const&)':
ED2KLink.cpp:(.text+0x246): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x27f): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x2f3): undefined reference to `wxRegEx::~wxRegEx()'
ED2KLink.cpp:(.text+0x321): undefined reference to `wxRegEx::~wxRegEx()'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`CED2KServerLink::CED2KServerLink(wxString const&)':
ED2KLink.cpp:(.text+0x3e4): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x41d): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x491): undefined reference to `wxRegEx::~wxRegEx()'
ED2KLink.cpp:(.text+0x4bf): undefined reference to `wxRegEx::~wxRegEx()'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`CED2KServerListLink::CED2KServerListLink(wxString const&)':
ED2KLink.cpp:(.text+0x67f): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x6c3): undefined reference to `wxRegEx::~wxRegEx()'
ED2KLink.cpp:(.text+0x6e4): undefined reference to `wxRegEx::~wxRegEx()'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`CED2KServerListLink::CED2KServerListLink(wxString const&)':
ED2KLink.cpp:(.text+0x7b7): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x7fb): undefined reference to `wxRegEx::~wxRegEx()'
ED2KLink.cpp:(.text+0x81c): undefined reference to `wxRegEx::~wxRegEx()'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`CED2KLink::CreateLinkFromUrl(wxString const&)':
ED2KLink.cpp:(.text+0x135e): undefined reference to
`wxRegEx::GetMatch(wxString const&, unsigned int) const'
ED2KLink.cpp:(.text+0x143e): undefined reference to `wxRegEx::~wxRegEx()'
ED2KLink.cpp:(.text+0x144f): undefined reference to `wxRegEx::~wxRegEx()'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`wxRegEx::wxRegEx(wxString const&, int)':
ED2KLink.cpp:(.gnu.linkonce.t._ZN7wxRegExC1ERK8wxStringi[wxRegEx::wxRegEx(wxString const&, int)]+0x11):
undefined reference to `wxRegEx::Init()'
ED2KLink.cpp:(.gnu.linkonce.t._ZN7wxRegExC1ERK8wxStringi[wxRegEx::wxRegEx(wxString const&, int)]+0x27):
undefined reference to `wxRegEx::Compile(wxString const&, int)'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function
`wxRegEx::Matches(wxString const&, int) const':
ED2KLink.cpp:(.gnu.linkonce.t._ZNK7wxRegEx7MatchesERK8wxStringi[wxRegEx::Matches(wxString const&, int) const]+0x19):
undefined reference to `wxRegEx::Matches(wchar_t const*, int, unsigned int) const'
./libmuleappcommon.a(libmuleappcommon_a-FileFunctions.o): In function
`UnpackGZipFile(wxString const&)':
FileFunctions.cpp:(.text+0x83a): undefined reference to
`wxZlibInputStream::wxZlibInputStream(wxInputStream&, int)'
FileFunctions.cpp:(.text+0x8a9): undefined reference to
`wxZlibInputStream::~wxZlibInputStream()'
FileFunctions.cpp:(.text+0x8b6): undefined reference to
`wxZlibInputStream::~wxZlibInputStream()'
./libmuleappcommon.a(libmuleappcommon_a-FileFunctions.o): In function
`UnpackZipFile(wxString const&, wchar_t const**)':
FileFunctions.cpp:(.text+0x8f8): undefined reference to
`wxZipFSHandler::wxZipFSHandler()'
FileFunctions.cpp:(.text+0x917): undefined reference to
`wxZipFSHandler::FindFirst(wxString const&, int)'
FileFunctions.cpp:(.text+0xa1b): undefined reference to
`wxZipInputStream::~wxZipInputStream()'
FileFunctions.cpp:(.text+0xa2b): undefined reference to
`wxZipInputStream::~wxZipInputStream()'
FileFunctions.cpp:(.text+0xa44): undefined reference to
`wxZipFSHandler::FindNext()'
FileFunctions.cpp:(.text+0xaa2): undefined reference to
`wxZipFSHandler::~wxZipFSHandler()'
FileFunctions.cpp:(.text+0xabc): undefined reference to
`wxZipFSHandler::~wxZipFSHandler()'
./libmuleappcommon.a(libmuleappcommon_a-FileFunctions.o): In function
`wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)':
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0x11):
undefined reference to `wxZipInputStream::OpenFile(wxString const&)'
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0x20):
undefined reference to `wxArchiveInputStream::wxArchiveInputStream(wxInputStream&, wxMBConv&)'
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0x29):
undefined reference to `vtable for wxZipInputStream'
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0x66):
undefined reference to `wxZipEntry::wxZipEntry(wxString const&, wxDateTime const&, long long)'
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0x98):
undefined reference to `wxZipInputStream::Init(wxString const&)'
FileFunctions.cpp:(.gnu.linkonce.t._ZN16wxZipInputStreamC1ERK8wxStringS2_[wxZipInputStream::wxZipInputStream(wxString const&, wxString const&)]+0xb2):
undefined reference to `wxZipEntry::~wxZipEntry()'
collect2: ld returned 1 exit status
aMule CVS 20051118
wx CVS 20051117
GCC 4.0.2
binutils 2.16.91.0.2
aMule configuration:
CFLAGS="-Os" \
CXXFLAGS="-Os" \
LDFLAGS="-L/usr/X11R6/lib" \
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-debug \
--enable-monolithic \
--enable-amule-daemon \
--enable-amulecmd \
--enable-webserver \
--enable-amule-gui \
--enable-cas \
--enable-wxcas \
--enable-ed2k \
--enable-alc \
--enable-alcc \
--enable-systray \
--enable-embedded-crypto \
--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-static-2.7 \
--with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-static-2.7
wx configuration:
CFLAGS="-Os" \
CXXFLAGS="-Os" \
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--disable-shared \
--enable-unicode \
--without-libpng \
--without-libjpeg \
--without-libtiff \
--without-libxpm \
--without-libmspack \
--without-sdl \
--without-gnomeprint \
--without-opengl \
--without-dmalloc \
--with-zlib \
--without-odbc \
--without-expat
Did I disable too much in wx? I wouldn't know what as it's all GUI stuff which is not used by amuled anyway.
It didn't get far enough to compile the monolithic app, but all other apps before amuled compiled and linked fine, including amuleweb and amulegui.