aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation error on Mandrtiva Spring  (Read 4094 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Compilation error on Mandrtiva Spring
« on: August 12, 2007, 10:49:45 AM »

Quote
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
Quote
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
Quote
  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
« Last Edit: August 12, 2007, 10:56:24 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation error on Mandrtiva Spring
« Reply #1 on: August 12, 2007, 12:24:47 PM »

Yeah, wuischke's broken-to-ok ratio is higher than mine :P Will be ok tomorrow.
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Compilation error on Mandrtiva Spring
« Reply #2 on: August 12, 2007, 01:07:22 PM »

Yeah, wuischke's broken-to-ok ratio is higher than mine :P Will be ok tomorrow.

:D
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compilation error on Mandrtiva Spring
« Reply #3 on: August 12, 2007, 01:43:12 PM »

What the heck? Jeez, I'll check what I broke this time and fix it asap...

Thanks a lot for your report!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation error on Mandrtiva Spring
« Reply #4 on: August 12, 2007, 02:04:38 PM »

It's already fixed. Why don't you visit SVN?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compilation error on Mandrtiva Spring
« Reply #5 on: August 12, 2007, 02:14:03 PM »

I did a svn up, but obviously too early...
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Compilation error on Mandrtiva Spring
« Reply #6 on: August 12, 2007, 03:49:14 PM »

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 !!!
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)