aMule Forum
English => Compilation problems => Topic started by: OldFrog on August 12, 2007, 10:49:45 AM
-
mule.cpp: In member function ‘virtual bool CamuleApp::OnInit()’:
amule.cpp:478: error: expected `;' before ‘if’
amule.cpp:482: error: expected primary-expression before ‘else’
amule.cpp:482: error: expected `;' before ‘else’
amule.cpp: In member function ‘void CamuleApp::OnCoreTimer(CTimerEvent&)’:
amule.cpp:1515: warning: comparison between signed and unsigned integer expressions
amule.cpp: In member function ‘wxString CamuleApp::GetLog(bool)’:
amule.cpp:1754: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [amuled-amule.o] Erreur 1
make[3]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs »
make: *** [all] Erreur 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.18503 (%build)
I use to build rpms with these options
CFLAGS="$RPM_OPT_FLAGS -Os"
./configure \
--prefix=%{_prefix} \
--disable-debug \
--enable-ccache \
--enable-optimize \
--enable-profile \
--enable-cas \
--enable-geoip \
--enable-wxcas \
--enable-amulecmd \
--enable-amule-gui \
--enable-webserver \
--enable-webservergui \
--enable-ccache \
--enable-kad-compile \
--enable-amulecmdgui \
--enable-amule-daemon \
--enable-embedded_crypto \
--enable-monolithic \
--enable-ed2k \
--enable-alc \
--enable-alcc \
--enable-systray \
--with-wx-config=`rpm -ql wxGTK-devel|grep 'wxgtk-2\.[0-9]-config'` \
--with-wxbase-config=`rpm -ql wxBase|grep 'wxbase-2\.[0-9]-config'
Active options are
Configured aMule CVS for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? yes
Should aMule be compiled with optimizations? yes
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? yes
Should aMule monolithic application be built? yes
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) yes
Crypto++ library/headers style? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
**** aMule WebServer ****
Should aMule WebServer be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? yes
Should aMuleLinkCreator for console (alcc) be built? yes
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? yes
**** General Libraries and Tools ****
Should ccache support be enabled? yes
Libraries aMule will use to build:
wxWidgets 2.8.4
crypto++ embedded
libpng 1.2.13
libgd 2.0.34
zlib 1.2.3
geoip yes
-
Yeah, wuischke's broken-to-ok ratio is higher than mine :P Will be ok tomorrow.
-
Yeah, wuischke's broken-to-ok ratio is higher than mine :P Will be ok tomorrow.
:D
-
What the heck? Jeez, I'll check what I broke this time and fix it asap...
Thanks a lot for your report!
-
It's already fixed. Why don't you visit SVN?
-
I did a svn up, but obviously too early...
-
Beware, devs, I build a new rpm against SVN every morning at 6:10 GMT (Except when on vacation, I shut down the rig), so I can't miss one of your little distractions :P !!!