aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bug compiling CVS  (Read 2082 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Bug compiling CVS
« on: July 19, 2004, 09:00:42 PM »

Compiling CVS as of 07-19 (I had no trouble at all compiling and using 2.0.0.rc5)
Quote
CFile.cpp:302: error: prototype for `long int CFile::Read(void*, long int) const' does not match any in class `CFile'
CFile.h:103: error: candidate is: virtual off_t CFile::Read(void*, long long int) const
CFile.cpp:369: error: prototype for `long int CFile::Seek(long int, wxSeekMode) const' does not match any in class `CFile'
CFile.h:118: error: candidate is: virtual off_t CFile::Seek(long long int, wxSeekMode) const
CFile.cpp:402: error: prototype for `long int CFile::Tell() const' does not match any in class `CFile'
CFile.h:122: error: candidate is: virtual off_t CFile::Tell() const
CFile.cpp:402: error: `long int CFile::Tell() const' and `virtual off_t CFile::Tell() const' cannot be overloaded
CFile.cpp:416: error: prototype for `long int CFile::Length() const' does not match any in class `CFile'
CFile.h:124: error: candidate is: virtual off_t CFile::Length() const
CFile.cpp:416: error: `long int CFile::Length() const' and `virtual off_t CFile::Length() const' cannot be overloaded
CFile.cpp:445: error: prototype for `bool CFile::SetLength(long int)' does not match any in class `CFile'
CFile.h:126: error: candidate is: bool CFile::SetLength(long long int)
make[4]: *** [amule-CFile.o] Erreur 1
make[4]: Leaving directory `/mnt/mdk91/home/Fourbi/aMule/cvs/amule-cvs/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/mnt/mdk91/home/Fourbi/aMule/cvs/amule-cvs/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/mnt/mdk91/home/Fourbi/aMule/cvs/amule-cvs/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/mnt/mdk91/home/Fourbi/aMule/cvs/amule-cvs'
make: *** [all] Erreur 2

get-info.sh
Quote
I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)

     B. wxWindows Info
        Version: 2.5.1
        -pthread -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 -lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5

     C. GTK Info
        GTK 1: 1.2.10
        GTK 2: 2.2.4

II.  System Environment

     A. CPU Info
        Type:  AuthenticAMD AuthenticAMD
        Model: AMD Athlon(TM) MP 2100+ AMD Athlon(TM) MP 2100+
        Speed: 1733.745 1733.745
        BMips: 3424.25 3465.21
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow

     B. Memory Info
        Total:   1033328 kB
        Unused:  266468 kB

     C. Kernel Info
        Version: 2.6.3-14mdkenterprise

     D. Library Info
        wxWindows library: libwx_gtk2u_html-2.5.so (libc6) => /usr/lib/libwx_gtk2u_html-2.5.so libwx_gtk2u_core-2.5.so (libc6) => /usr/lib/libwx_gtk2u_core-2.5.so libwx_gtk2u_adv-2.5.so (libc6) => /usr/lib/libwx_gtk2u_adv-2.5.so libwx_baseu_xml-2.5.so (libc6) => /usr/lib/libwx_baseu_xml-2.5.so libwx_baseu_net-2.5.so (libc6) => /usr/lib/libwx_baseu_net-2.5.so libwx_baseu-2.5.so (libc6) => /usr/lib/libwx_baseu-2.5.so libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so

wxGtk 2.5.1 and aMule are compiled. libcrypto rpms are from here. The remaining is from Mandrake CDs and updates

wxGTk's configure : --enable-gtk2 --disable-gtk --enable-unicode

aMule's configure gives ;

Code: [Select]
Configured aMule CVS for 'i686-pc-linux-gnu'.

  Should aMule be compiled in debug mode?                  no
  Should aMule be compiled with verbose console output?    no
  Should aMule be compiled with upload speed sense?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             yes
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should ccache support be enabled?                        no
  Should aMule command line client be built?               no
  Should aMule GUI client be built?                        no
  Should aMule WebServer be built?                         no
  Should aMule WebServer GUI be built?                     no
  Should aMule ed2k links handler be built?                yes
  Should aMuleLinkCreator GUI version (alc) be built?      yes
  Should aMuleLinkCreator for console (alcc) be built?     yes
  Should C aMule Statistics (CAS) be built?                yes
  Should aMule GUI Statistics (wxCas) be built?            yes
  Crypto++ library/headers style?                          mdk_suse_fc

  Which libraries should aMule use?
                                       wxWidgets          2.5.1
                                       GTK                2.2.4

« Last Edit: July 19, 2004, 09:04:46 PM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)