aMule Forum

English => Compilation problems => Topic started by: snac on March 19, 2005, 10:18:35 AM

Title: aMule-CVS-20050319
Post by: snac on March 19, 2005, 10:18:35 AM
I have this problem

Code: [Select]
In file included from amule.cpp:97:
FriendList.h:67:10: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
amule.cpp: In member function `void CamuleApp::OnAssert(const wxChar*, int, const wxChar*, const wxChar*)':
amule.cpp:1321: error: 'class wxApp' has no member named 'OnAssert'
make[4]: *** [amule-amule.o] Error 1
make[4]: Leaving directory `/home/admin/rpmbuild/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/admin/rpmbuild/BUILD/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/admin/rpmbuild/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/rpmbuild/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.9279 (%build)

I have bit look the source code of amule.cpp at 1321 line

Code: [Select]
{
if ( wxThread::IsMain() ) {
AMULE_APP_BASE::OnAssert( file, line, cond, msg );
} else {
wxString errmsg = CFormat( wxT("%s:%d: Assertion '%s' failed. %s\n") )
% file % line % cond % ( msg ? msg : wxT("") );

printf("%s\n", unicode2char( errmsg ));

raise( SIGABRT );
}
}

This are my wx
wxBase-2.4.2-1
wxGTK-devel-2.4.2-1
wxGTK-2.4.2-1

P.S.
I have compilated CVS20050317 with no errors and run fine.  ?(
Title: Re: aMule-CVS-20050319
Post by: phoenix on March 19, 2005, 03:03:52 PM
snac,

Sorry, someone broke CVS compilation again! X(

Please, try again tomorrow.

Cheers!
Title: Re: aMule-CVS-20050319
Post by: Xaignar on March 19, 2005, 10:36:47 PM
Sorry about that, seems that OnAssert is only defined for debug builds.
Title: Re: aMule-CVS-20050319
Post by: phoenix on March 19, 2005, 11:29:31 PM
Hey, no problem. But we have been really unlucky, two cvs tarballs broken in a row...

Lets hope tomorrow cvs is normal again.

Cheers!