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 errors with wxBase 2.5.4  (Read 2928 times)

alandar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
compilation errors with wxBase 2.5.4
« on: March 02, 2005, 11:51:43 PM »

I can't compile aMule with wxBase 2.5.4:
Code: [Select]
if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/base-unicode-debug-
2.5 -I/usr/include/wx-2.5 -D__WXDEBUG__ -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEF
ILE_SOURCE=1   -DwxUSE_GUI=0 -I/usr/include/libpng12 -DWITH_LIBPNG -DEC_REMOTE -DWEBSERVERDIR="\"/hom
e/lesio/aMule//share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG
__ -fmessage-length=0   -MT amuleweb-WebInterface.o -MD -MP -MF ".deps/amuleweb-WebInterface.Tpo" \  
  -c -o amuleweb-WebInterface.o `test -f 'WebInterface.cpp' || echo './'`WebInterface.cpp; \        
then mv -f ".deps/amuleweb-WebInterface.Tpo" ".deps/amuleweb-WebInterface.Po"; \                    
else rm -f ".deps/amuleweb-WebInterface.Tpo"; exit 1; \                                              
fi                                                                                                  
In file included from /usr/include/c++/3.3.4/bits/stl_algobase.h:69,                                
                 from /usr/include/c++/3.3.4/vector:67,                                              
                 from ECPacket.h:31,                                                                
                 from ExternalConnector.h:43,                                                        
                 from WebInterface.h:40,                                                            
                 from WebInterface.cpp:36:                                                          
/usr/include/c++/3.3.4/new:82: error: declaration of `void* operator new(unsigned int) throw (std::ba
d_alloc)' throws different exceptions                                                                
/usr/include/wx-2.5/wx/memory.h:111: error: than previous declaration `void* operator new(unsigned in
t)'                                                                                                  
/usr/include/c++/3.3.4/new:83: error: declaration of `void* operator new [](unsigned int) throw (std:
:bad_alloc)' throws different exceptions                                                            
/usr/include/wx-2.5/wx/memory.h:116: error: than previous declaration `void* operator new [](unsigned
 int)'                                                                                              
/usr/include/c++/3.3.4/new:84: error: declaration of `void operator delete(void*) throw ()' throws di
fferent exceptions                                                                                  
/usr/include/wx-2.5/wx/memory.h:113: error: than previous declaration `void operator delete(void*)'  
/usr/include/c++/3.3.4/new:85: error: declaration of `void operator delete [](void*) throw ()' throws
 different exceptions                                                                                
/usr/include/wx-2.5/wx/memory.h:120: error: than previous declaration `void operator delete [](void*)
'                                                                                                    
make[4]: *** [amuleweb-WebInterface.o] Blad 1                                                        
make[4]: Leaving directory `/home/lesio/pliki/skrypty/amule-cvs/src'                                
make[3]: *** [all-recursive] Blad 1                                                                  
make[3]: Leaving directory `/home/lesio/pliki/skrypty/amule-cvs/src'                                
make[2]: *** [all] Blad 2                                                                            
make[2]: Leaving directory `/home/lesio/pliki/skrypty/amule-cvs/src'                                
make[1]: *** [all-recursive] Blad 1                                                                  
make[1]: Leaving directory `/home/lesio/pliki/skrypty/amule-cvs'                                    
make: *** [all] Blad 2
Oh, Blad means Error, but you probably guessed this :)

I've noticed this few days earlier, but I don't have much time now to play with amule, so I haven't posted it here.
But I see no-one else reports on such problems so maybe there's something wrong with my system configutation. But with wxBase-CVS worked fine. I'm confused.
I configured amule build:
Code: [Select]
./configure --prefix=/home/lesio/aMule/ --host=i486-slackware-linux --disable-optimise --disable-
optimize --enable-amulecmd --enable-webserver --enable-amule-daemon --disable-ed2k --disable-alc --di
sable-systray --disable-gtk --disable-wxcas --disable-monolithic --enable-debug
It returned:
Code: [Select]
 Configured aMule CVS for 'i486-slackware-linux-gnu'.                                              
                                                                                                     
  aMule enabled options:                                                                            
                                                                                                     
  **** aMule Core ****                                                                              
  Should aMule be compiled in debug mode?                  yes                                      
  Should aMule be compiled with verbose console output?    no                                        
  Should aMule be compiled with profiling?                 no                                        
  Should aMule be compiled with optimizations?             no                                        
  Should aMule be compiled with systray?                   no                                        
  Should aMule be compiled with UTF-8 systray?             no                                        
  Should aMule be compiled with pure GTK code?             no                                        
  Should aMule be linked against patched gsocket?          no                                        
  Should aMule monolithic application be built?            no                                        
  Should aMule daemon version be built? (EXPERIMENTAL)     yes                                      
  Should aMule remote gui be built? (EXPERIMENTAL)         no                                        
  Crypto++ library/headers style?                          embeded                                  
                                                                                                     
  **** aMule TextClient ****                                                                        
  Should amulecmd (TextClient) be linked against wxbase?   yes                                      
  Should aMule Command Line Client be built?               yes                                      
  Should aMule GUI Client be built?                        no                                        
                                                                                                     
  **** aMule WebServer ****                                                                          
  Should aMule WebServer be built?                         yes                                      
  Should aMule WebServer GUI be built?                     no                                        
                                                                                                     
  **** aMule ED2K Links Handler ****                                                                
  Should aMule ED2K Links Handler be built?                no                                        
                                                                                                     
  **** aMuleLinkCreator ****                                                                        
  Should aMuleLinkCreator GUI version (alc) be built?      no                                        
  Should aMuleLinkCreator for console (alcc) be built?     no
                                                                                                     
  **** aMule Statistics ****                                                                        
  Should C aMule Statistics (CAS) be built?                no                                        
  Should aMule GUI Statistics (wxCas) be built?            no                                        
                                                                                                     
  **** General Libraries and Tools ****                                                              
  Should ccache support be enabled?                        no                                        
  Libraries aMule will use to build:                                                                
                                       wxWidgets          2.5.4                                      
                                       GTK                Not detected (Not used)
Maybe I did something wrong in configuring wxBase build:
Code: [Select]
./configure --prefix=/home/lesio/wxBase --host=i486-slackware-linux --disable-gui --disable-monol
ithic --enable-shared --disable-optimise --enable-debug --enable-debug_flag --enable-debug_info --ena
ble-debug_gdb --enable-debug_cntxt --enable-mem_tracing --enable-unicode
That's a lot of information but I think it may be useful.
I hope someone will solve the problem, I'm running out of ideas :)
Logged