aMule Forum
English => Compilation problems => Topic started by: Onkelvent on June 24, 2006, 12:14:40 PM
-
SafeFile.h:201:2: warning: #warning DOCS
UploadClient.cpp:226:6: warning: #warning This seems a good idea from eMule. We must import this.
UploadClient.cpp:286:5: warning: #warning Part of the above import.
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/sven/aMule/zlibdll//include -I/usr/local/lib/wx/include/msw-unicode-release-static-2.6 -I/usr/local/include/wx-2.6 -D__WXMSW__ -mthreads -DNO_GCC_PRAGMA -I./libs -Ilibs -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -MT amule-UploadQueue.o -MD -MP -MF ".deps/amule-UploadQueue.Tpo" -c -o amule-UploadQueue.o `test -f 'UploadQueue.cpp' || echo './'`UploadQueue.cpp; \
then mv -f ".deps/amule-UploadQueue.Tpo" ".deps/amule-UploadQueue.Po"; else rm -f ".deps/amule-UploadQueue.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/sven/aMule/zlibdll//include -I/usr/local/lib/wx/include/msw-unicode-release-static-2.6 -I/usr/local/include/wx-2.6 -D__WXMSW__ -mthreads -DNO_GCC_PRAGMA -I./libs -Ilibs -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -MT amule-UPnP.o -MD -MP -MF ".deps/amule-UPnP.Tpo" -c -o amule-UPnP.o `test -f 'UPnP.cpp' || echo './'`UPnP.cpp; \
then mv -f ".deps/amule-UPnP.Tpo" ".deps/amule-UPnP.Po"; else rm -f ".deps/amule-UPnP.Tpo"; exit 1; fi
UPnP.cpp:33:58: dlfcn.h: No such file or directory
UPnP.cpp: In constructor `CDynamicLibHandle::CDynamicLibHandle(const char*)':
UPnP.cpp:56: error: `RTLD_LAZY' undeclared (first use this function)
UPnP.cpp:56: error: (Each undeclared identifier is reported only once for each function it appears in.)
UPnP.cpp:56: error: `dlopen' undeclared (first use this function)
UPnP.cpp: In destructor `CDynamicLibHandle::~CDynamicLibHandle()':
UPnP.cpp:74: error: `dlclose' undeclared (first use this function)
UPnP.cpp:77: error: `dlerror' undeclared (first use this function)
UPnP.cpp: In constructor `CUPnPLib::CUPnPLib(CUPnPControlPoint&)':
UPnP.cpp:152: error: `dlsym' undeclared (first use this function)
UPnP.cpp:591:2: warning: #warning Chech this limit.
UPnP.cpp: In member function `bool CUPnPControlPoint::AcquirePortList(const amuleIPV4Address*, int)':
UPnP.cpp:750: warning: unused variable 'protocol'
make[3]: *** [amule-UPnP.o] Error 1
make[3]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sven/amule/amule-cvs'
make: *** [all] Error 2
What is the problem? How can I remove the mistake?
OS = WinXP
msys = 1.0.10
WXwidgets = 2.6.3
zlib = 1.2.3
mingw = 4.1.1
Thank you Onkelvent
-
Check tomorrow's tarball.
-
The same problem with the CVS from today. In the log stands same like yesterday.
Onkelvent
-
My fault. I forgot to commit the fix. Now done.
-
THX
Tomorrow I will do an attempt again. :)
Onkelvent
-
$ ./configure --with-zlib=/home/sven/aMule/zlibdll/ --disable-debug --enable-optimize --enable-static && make
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.exe
checking whether the C++ compiler works... yes
.
.
.
.
.
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing denoiser commands
Configure script has finished system check.
Configured aMule CVS for 'i686-pc-mingw32'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr/local
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule monolithic application be built? yes
Should aMule daemon version be built? no
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.6.3
crypto++ embedded
zlib 1.2.3
make all-recursive
make[1]: Entering directory `/home/sven/amule/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/sven/amule/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sven/amule/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/home/sven/amule/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/home/sven/amule/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
.
.
.
.
.
SafeFile.h:201:2: warning: #warning DOCS
In file included from amule.cpp:63:
FriendList.h:62:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
amule.cpp: In member function `virtual bool CamuleApp::OnInit()':
amule.cpp:391: error: `CLoggerTarget' has not been declared
amule.cpp:743: error: `AddLogLineM' undeclared (first use this function)
amule.cpp:743: error: (Each undeclared identifier is reported only once for each function it appears in.)
amule.cpp: In member function `bool CamuleApp::ReinitializeNetwork(wxString*)':
amule.cpp:822: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::OnlineSig(bool)':
amule.cpp:1028: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::Localize_mule()':
amule.cpp:1204: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::OnCoreTimer(CTimerEvent&)':
amule.cpp:1337: error: `CLogger' has not been declared
amule.cpp:1337: error: `FlushPendingEntries' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::OnFinishedHashing(CHashingEvent&)':
amule.cpp:1444: error: `logKnownFiles' undeclared (first use this function)
amule.cpp:1444: error: `AddDebugLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::OnFinishedCompletion(CCompletionEvent&)':
amule.cpp:1511: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::OnFinishedHTTPDownload(CMuleInternalEvent&)':
amule.cpp:1724: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::CheckNewVersion(uint32)':
amule.cpp:1737: error: `AddLogLineM' undeclared (first use this function)
amule.cpp:1745: error: `logGeneral' undeclared (first use this function)
amule.cpp:1745: error: `AddDebugLogLineM' undeclared (first use this function)
amule.cpp: In member function `void CamuleApp::StartKad()':
amule.cpp:2033: error: `AddLogLineM' undeclared (first use this function)
amule.cpp: At global scope:
amule.cpp:102: warning: 'void UnlimitResource(int)' defined but not used
make[3]: *** [amule-amule.o] Error 1
make[3]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sven/amule/amule-cvs'
make: *** [all] Error 2
I also have today a mistake. If this is able to do itself sometimes one looking.
THX
Onkelvent
-
Fixed. Let's hope noone breaks it 'till tarball creation.
-
amule-ChatSelector.o(.text+0x4724):ChatSelector.cpp: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
amule-ClientDetailDialog.o(.text+0x1d3):ClientDetailDialog.cpp: undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
amule-ClientDetailDialog.o(.text+0x2d3):ClientDetailDialog.cpp: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-ClientDetailDialog.o(.text+0x367):ClientDetailDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
amule-ClientDetailDialog.o(.text+0x3a4):ClientDetailDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amule-ClientDetailDialog.o(.text+0x427):ClientDetailDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
amule-ClientDetailDialog.o(.text+0x464):ClientDetailDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amule-ClientDetailDialog.o(.text+0x4e7):ClientDetailDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
amule-ClientDetailDialog.o(.text+0x524):ClientDetailDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
amule-ClientDetailDialog.o(.text+0x604):ClientDetailDialog.cpp: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-ClientDetailDialog.o(.text+0x654):ClientDetailDialog.cpp: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-ClientDetailDialog.o(.text+0x7bf):ClientDetailDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
amule-ClientDetailDialog.o(.text+0x81b):ClientDetailDialog.cpp: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-ClientDetailDialog.o(.text+0x8d5):ClientDetailDialog.cpp: undefined reference to `wxString::Format(wchar_t const*, ...)'
.
.
.
.
.
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x11b):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x14a):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x1b9):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x1e8):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x3f1):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x48b):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x4ba):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x529):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x558):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
collect2: ld returned 1 exit status
make[3]: *** [amule.exe] Error 1
make[3]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sven/amule/amule-cvs'
make: *** [all] Error 2
Hello, tarball from today produces this mistake.
aMule-CVS-20060627.tar.bz2
THX
Onkelvent
aMule-CVS-20060627.tar.bz2
-
The same mistake today.
'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x1dea):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x1e15):CatDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x1e48):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x1fb6):CatDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x1fe9):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x2014):CatDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x2047):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x23dd):CatDialog.cpp: undefined reference to `wxDirExists(wchar_t const*)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x28f4):CatDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x2927):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x2952):CatDialog.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x2985):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x3078):CatDialog.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-CatDialog.o)(.text+0x30f6):CatDialog.cpp: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x86):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x11b):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x14a):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x1b9):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x1e8):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x3f1):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x48b):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x4ba):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x529):FileDetailListCtrl.cpp: undefined reference to `wxLocale::GetString(wchar_t const*, wchar_t const*) const'
.\libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o)(.text+0x558):FileDetailListCtrl.cpp: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
collect2: ld returned 1 exit status
make[3]: *** [amule.exe] Error 1
make[3]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sven/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sven/amule/amule-cvs'
make: *** [all] Error 2
Onkelvent
-
That's not aMule, that's wx installation.
-
Thank you it functioned.
Great work.
Onkelvent