aMule Forum
English => Compilation problems => Topic started by: kuh3h3 on June 20, 2009, 12:18:00 PM
-
hi all!!
r9675 compile faild on my ubuntu 8.10 with wxgtk svn most recent version(mabe 2.9 version)
my wxgtk compile option
./configure --prefix=/usr --enable-stl --with-sdl --enable-compat26 --enable-compat26 --enable-compat26 --enable-unicode --enable-optimise
my amule compile option
./configure --prefix=/usr --enable-wxcas --enable-alc --enable-geoip --disable-debug --enable-optimize
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.9.0 (gtk2,shared)
crypto++ 5.5.2 (installed, in /usr)
libupnp 1.6.6
libintl system
libGeoIP system
zlib 1.2.3.3
but make failed . what is this?
echo abstracts/ECTagTypes.abstract abstracts/ECCodes.abstract > ECGeneratedFiles
make all-recursive
make[5]: Entering directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec'
Making all in cpp
make[6]: Entering directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec/cpp'
gcc ../../../../src/utils/mkFileSum.c -o mkFileSum
Generating ECVersion.h... created.
make all-am
make[7]: Entering directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec/cpp'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -DUSE_WX_EXTENSIONS -I../../../../src -I../../../../src/libs -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -W -Wall -Wshadow -Wundef -O2 -pthread -MT ECTag.o -MD -MP -MF ".deps/ECTag.Tpo" -c -o ECTag.o ECTag.cpp; \
then mv -f ".deps/ECTag.Tpo" ".deps/ECTag.Po"; else rm -f ".deps/ECTag.Tpo"; exit 1; fi
In file included from ECTag.h:34,
from ECTag.cpp:25:
../../../../src/libs/common/StringFunctions.h: In function ‘long long unsigned int StrToULongLong(const wxString&)’:
../../../../src/libs/common/StringFunctions.h:140: error: cannot convert ‘const wxString’ to ‘const wxChar*’ for argument ‘1’ to ‘const Unicode2CharBuf unicode2char(const wxChar*)’
../../../../src/libs/common/StringFunctions.h: In function ‘size_t GetRawSize(const wxString&, EUtf8Str)’:
../../../../src/libs/common/StringFunctions.h:151: error: cannot convert ‘const wxString’ to ‘const wxChar*’ for argument ‘1’ to ‘const Unicode2CharBuf unicode2UTF8(const wxChar*)’
../../../../src/libs/common/StringFunctions.h:160: error: cannot convert ‘const wxString’ to ‘const wxChar*’ for argument ‘1’ to ‘const Unicode2CharBuf unicode2char(const wxChar*)’
In file included from ECTag.h:42,
from ECTag.cpp:25:
../../../MD4Hash.h: In member function ‘bool CMD4Hash::Decode(const wxString&)’:
../../../MD4Hash.h:203: error: cannot convert ‘const wxString’ to ‘const wxChar*’ for argument ‘1’ to ‘const Unicode2CharBuf unicode2char(const wxChar*)’
ECTag.cpp: In constructor ‘CECTag::CECTag(ec_tagname_t, const wxString&)’:
ECTag.cpp:183: error: cannot convert ‘const wxString’ to ‘const wxChar*’ for argument ‘1’ to ‘const Unicode2CharBuf unicode2UTF8(const wxChar*)’
make[7]: *** [ECTag.o] error 1
make[7]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec/cpp'
make[6]: *** [all] error 2
make[6]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec/cpp'
make[5]: *** [all-recursive] error 1
make[5]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec'
make[4]: *** [all] error 2
make[4]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src/libs/ec'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src/libs'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/media/sdc1/aMule-SVN-r9675/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/media/sdc1/aMule-SVN-r9675'
make: *** [all] error 2
d9oy@d890 /media/sdc1/aMule-SVN-r9675$
-
It's a really bad idea to use wxWidgets' SVN. This is just an example.
-
but amule wki install manual says nothing about danger of wxWidget svn version.
and i compiled well amule with wxWidget svn version before.
what cause compile failure recently?
amule code changed a lot recently?
if so, that`s so bad idea.
write warn message about wxWidget svn version compile failure on the wiki.
-
Ubuntu 8.10 with wxgtk 2.8.8.0 build without any problem.
https://launchpad.net/%7Eamule-trunk/+archive/ppa/+sourcepub/655529/+listing-archive-extra
Then, your problem is of use a svn snapshot of wxgtk 2.9
-
Hey, if you want to use SVN/2.9, be my guest. I am just telling you this is a bad idea.
-
what you mean "Be your guest"?
maybe my error message relates to unicode or utf problems.
who give me some advice about this error?
bad idea thngy is shit. shut up
-
... eh. dude. Don't tell me tu shut up, ok? I'm just giving you advice. Don't test my patience.
-
Don`t tell me about "Bad idea" repeatedly.
i`m just asking you all some advice about " THE " error message.
i don`t like like this your warn :
"it`s bad idea" "use lower version " .
-
Looks like they've changed something in the last 12 days or so since I updated wx last time. With my last snapshot it still builds fine. I'll investigate.
I've put some work into getting aMule to run with 2.9 (or the other way round) recently.
WX 2.9 SVN works (or worked) quite well on Windows with a networking patch applied (to wx, not to aMule). It fails quite miserably on Linux however at the moment.
(previewing and seeing the follow-up)
Hey - wtf?!? Did you come here to ask people for help or to troll ?
who give me some advice about this error?
I'll give you some advice, pal. If you want to play with wx SVN versions you should be able to fix a problem like this yourself. Otherwise stick to released wx versions which are meant for end users. And that should be enough for now.
-
Don`t tell me about "Bad idea" repeatedly.
i`m just asking you all some advice about " THE " error message.
i don`t like like this your warn :
"it`s bad idea" "use lower version " .
If you want to use wx SVN that the developers are recommending you not to use, then fix your fucking errors yourself. Swearing and telling the developers to shut up will get you nowhere.
If you don't like what I'm telling you, then big fucking deal. Go cry under your mother's skirt.
I understand your english is not perfect, all with you being korean, but seriously if you want me to tell you what the compilation error is, I'll tell you:
YOU ARE USING WX SVN AND IT WON'T COMPILE/WORK/SUCK YOUR DICK
Stu has done some work on making aMule compile or work with wx SVN/2.9, but it's a develomental version and unless you know what you're doing (and you obviously don't) you should stay away from it.
Now fuck off.
-
For the record:
aMule compiles fine with wx SVN trunk 61131. Both on Windows and Jaunty.