aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: r9675 compile failed  (Read 5782 times)

kuh3h3

  • I have problems shutting the fuck up
  • Newbie
  • Karma: -2
  • Offline Offline
  • Posts: 4
  • .
r9675 compile failed
« 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$

« Last Edit: June 20, 2009, 12:20:04 PM by kuh3h3 »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: r9675 compile failed
« Reply #1 on: June 20, 2009, 12:47:08 PM »

It's a really bad idea to use wxWidgets' SVN. This is just an example.
Logged

kuh3h3

  • I have problems shutting the fuck up
  • Newbie
  • Karma: -2
  • Offline Offline
  • Posts: 4
  • .
Re: r9675 compile failed
« Reply #2 on: June 20, 2009, 12:58:18 PM »

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.
« Last Edit: June 20, 2009, 01:02:35 PM by kuh3h3 »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: r9675 compile failed
« Reply #3 on: June 20, 2009, 01:13:07 PM »

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
« Last Edit: June 20, 2009, 01:14:42 PM by Festor »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: r9675 compile failed
« Reply #4 on: June 20, 2009, 01:31:19 PM »

Hey, if you want to use SVN/2.9, be my guest. I am just telling you this is a bad idea.
Logged

kuh3h3

  • I have problems shutting the fuck up
  • Newbie
  • Karma: -2
  • Offline Offline
  • Posts: 4
  • .
Re: r9675 compile failed
« Reply #5 on: June 20, 2009, 01:52:10 PM »

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
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: r9675 compile failed
« Reply #6 on: June 20, 2009, 01:53:57 PM »

... eh. dude. Don't tell me tu shut up, ok? I'm just giving you advice. Don't test my patience.
Logged

kuh3h3

  • I have problems shutting the fuck up
  • Newbie
  • Karma: -2
  • Offline Offline
  • Posts: 4
  • .
Re: r9675 compile failed
« Reply #7 on: June 20, 2009, 02:04:40 PM »

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 "  .
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: r9675 compile failed
« Reply #8 on: June 20, 2009, 02:08:34 PM »

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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: r9675 compile failed
« Reply #9 on: June 20, 2009, 02:14:23 PM »

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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: r9675 compile failed
« Reply #10 on: June 20, 2009, 02:54:06 PM »

For the record:
aMule compiles fine with wx SVN trunk 61131. Both on Windows and Jaunty.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon