aMule Forum

English => Compilation problems => Topic started by: void on November 23, 2016, 09:09:00 AM

Title: Problem with SVN 10974 --- For developers
Post by: void on November 23, 2016, 09:09:00 AM
Hello,
I am compiling amule svn from months already.
This time, starting from SVN 10974 on, I get compilation error.

I run:
  ./configure --enable-profile --enable-optimize --enable-geoip --enable-wxcas --enable-mmap --with-boost --enable-wxcas --enable-cas --enable-alcc --enable-alc --enable-amule-daemon --enable-amulecmd --disable-debug --host=x86_64-pc-linux-gnu , and everything go smoothly.

Then i run:
  make

and I get:
     ^
/usr/local/include/wx-2.8/wx/datetime.h:1506:1: note: in expansion of macro ‘WX_DEFINE_USER_EXPORTED_ARRAY_PTR’
 WX_DEFINE_USER_EXPORTED_ARRAY_PTR(wxDateTimeHolidayAuthority *,
 ^
Path.cpp: In constructor ‘CPath::CPath(const wxString&)’:
Path.cpp:232:22: error: ‘class wxCharBuffer’ has no member named ‘length’
  if (fn.data() && fn.length()) {
                      ^
Makefile:448: recipe for target 'Path.o' failed
make[4]: *** [Path.o] Error 1
make[4]: Leaving directory '/media/void/AR_CADIA/Download/amule-5cf7ef9/src/libs/common'
Makefile:386: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/media/void/AR_CADIA/Download/amule-5cf7ef9/src/libs'
Makefile:5336: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/media/void/AR_CADIA/Download/amule-5cf7ef9/src'
Makefile:532: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/void/AR_CADIA/Download/amule-5cf7ef9'
Makefile:426: recipe for target 'all' failed
make: *** [all] Error 2

I am at your disposal for anything you need to debug.

Please give me advice.

Cheers,
Title: Re: Problem with SVN 10974 --- For developers
Post by: GonoszTopi on November 23, 2016, 11:09:20 PM
Fixed in revision 10981.
Title: Re: Problem with SVN 10974 --- For developers
Post by: void on November 25, 2016, 11:44:24 AM
Fixed in revision 10981.

Great :-)