aMule Forum
English => aMule Help => Topic started by: Mon on July 13, 2004, 12:57:29 AM
-
configured with:
./configure --enable-optimise --disable-systray --enable-amulecmdgui --disable-debug --disable-wxcas --disable-alc
then did a "make" which eventually lead to:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -O2 -c -o amule-DownloadClient.o `test -f 'DownloadClient.cpp' || echo './'`DownloadClient.cpp
DownloadClient.cpp: In method `void CUpDownClient::ProcessBlockPacket(const char *, unsigned int, bool = false)':
DownloadClient.cpp:872: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:872: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:872: operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:872: operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp: In method `int CUpDownClient::unzip(Pending_Block_Struct *, BYTE *, unsigned int, BYTE **, uint32 *, int = 0)':
DownloadClient.cpp:967: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:967: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:967: operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:967: operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:974: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:974: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:974: operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:974: operator ?:(bool, const wxChar *, const char *)
make[4]: *** [amule-DownloadClient.o] Error 1
guess i'll have to wait for thermoman to make the .debs? :)
-
Yes, that's a way ;-)
But should compile fine there anyway...
Make sure followed all the steps and ask whatever you need.
Greetings!
-
See http://www.amule.org/amule/thread.php?threadid=2868
thermoman
-
Ok, so i'm not the only one with these problems.
Could this mean another quick (bugfix) release will be made ?
-
It's only about 5 substitutions :)
look at the lines where make reports the error and do wxT -> wxString
thermoman
-
Alright, after that was fixed i got something better :p :
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -O2 -Wall -DWXUSINGDLL -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -O2 -c -o amule-SearchList.o `test -f 'SearchList.cpp' || echo './'`SearchList.cpp
SearchList.cpp: In method `CSearchFile::CSearchFile(CSearchFile *)':
SearchList.cpp:91: no matching function for call to `vector >::at (unsigned int &)'
make[4]: *** [amule-SearchList.o] Error 1
Another easy-fix for this one?
-
http://test.thermoman.de/amule/debian_2.0.0rc4.patch
:)
thermoman
-
You tha man Thermoman :) i'll be back tomorrow if it still doesn't work.
-
Come back ALSO if it works, to report it does ;-)
Greetings!
-
Here it compiled fine - rearranging some things then i will upload new debian woody package.
thermoman
-
great! thanks thermoman
-
Patch applied just fine. Amule then compiled fine too. I'll start testing it :)
Maybe i'll try the .deb too later.
Thanks all.
Oh and Thermoman: i was wondering how you compile your debian files? (configure command)
-
# Add here commands to configure the package.
PATH=$(CURDIR)/debian:$(PATH) ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
--with-wx-config=/usr/bin/wx-config --enable-optimise --disable-debug --enable-amulecmd \
--enable-amulecmdgui --enable-webserver --enable-webservergui
Since libgd 2.0.1 in debian woody has no gdlib-config i took it from unstable and modified it so it fits.
thermoman