aMule Forum

English => en_Bugs => Topic started by: OldFrog on December 03, 2003, 07:37:12 PM

Title: Problem compiling CVS just as of now
Post by: OldFrog on December 03, 2003, 07:37:12 PM
[code:1]f g++ -Os -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=athlon-mp -mcpu=athlon-mp -mmmx -msse -mfpmath=sse                                  -O2   -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE                                S -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Isrc    -MT                                 PartFile.o -MD -MP -MF >.deps/PartFile.Tpo> \
  -c -o PartFile.o `test -f 'PartFile.cpp' || echo './'`PartFile.cpp; \
then mv >.deps/PartFile.Tpo> >.deps/PartFile.Po>; \
else rm -f >.deps/PartFile.Tpo>; exit 1; \
fi
mfc.h: In member function `int CArray::Add(ARG_TYPE) [with TYPE = uint16, ARG_TYPE = uint1                                6]':
PartFile.cpp:266:   instantiated from here
mfc.h:622: warning: cast to pointer from integer of different size
PartFile.cpp: In member function `virtual void* completingThread::Entry()':
PartFile.cpp:1816: request for member `PerformFileComplete' in `*this->completingThread::completing', which is of non-aggregate type `CPartFile*'
PartFile.cpp: In member function `void CPartFile::CharFillRange(wxString*, float, float, char)':
PartFile.cpp:3068: warning: initialization to `uint32' from `float'
PartFile.cpp:3068: warning: argument to `unsigned int' from `float'
make[2]: *** [PartFile.o] Erreur 1
make[2]: Leaving directory `/home/Fourbi/aMule/cvs/amule-cvs/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/Fourbi/aMule/cvs/amule-cvs'
make: *** [all] Erreur 2
[/code:1]

[code:1]CFLAGS='-O2 -march=athlon-mp -mcpu=athlon-mp -mmmx -msse -mfpmath=sse'
CXXFLAGS='-O2 -march=athlon-mp -mcpu=athlon-mp -mmmx -msse -mfpmath=sse'
[/code:1]

[code:1]
I.   Development Environment
     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.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-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)

     B. wxWindows Info
        Version: 2.4.2
        -pthread -lwx_gtk-2.4

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

II.  System Environment
        Type:  AuthenticAMD AuthenticAMD
        Model: AMD Athlon(TM) MP 2100+ AMD Athlon(TM) MP 2100+
        Speed: 1733.442 1733.442
        BMips: 3460.30 3460.30
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow

     B. Memory Info
        Total:   514980 kB
        Unused:  189984 kB

     C. Kernel Info
        Version: 2.4.21-0.13mdksmp

     D. Library Info
        wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so
[/code:1]
Title: Re: Problem compiling CVS just as of now
Post by: OldFrog on December 03, 2003, 08:35:11 PM
Last update fixed it, thanks !!!