aMule Forum

English => Compilation problems => Topic started by: briang on January 10, 2006, 06:32:25 PM

Title: Should I Expect Compile Success With AIX
Post by: briang on January 10, 2006, 06:32:25 PM
I get the following make error:

Making all in ec
        gcc -o mkFileSum
gcc: no input files
Title: Re: Should I Expect Compile Success With AIX
Post by: Xaignar on January 10, 2006, 07:43:57 PM
You need GNU make at the moment (gmake IIRC).
Title: Compiling in AIX 5.2
Post by: briang on January 10, 2006, 08:37:43 PM
Thanks, tried gnu make and got this:

In file included from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/Types.h:74: error: conflicting types for `typedef uint8_t int8'
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/inttypes.h:631: error: previous declaration as `typedef signed
char int8'
../../../src/Types.h:76: error: conflicting types for `typedef uint16_t int16'
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/inttypes.h:632: error: previous declaration as `typedef short i
nt int16'
../../../src/Types.h:78: error: conflicting types for `typedef uint32_t int32'
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/inttypes.h:633: error: previous declaration as `typedef int int
32'
../../../src/Types.h:80: error: conflicting types for `typedef uint64_t int64'
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/inttypes.h:638: error: previous declaration as `typedef long lo
ng int int64'
In file included from /usr/local/include/c++/3.3.2/powerpc-ibm-aix5.2.0.0/bits/c++io.h:35,
                 from /usr/local/include/c++/3.3.2/bits/fpos.h:44,
                 from /usr/local/include/c++/3.3.2/iosfwd:49,
                 from /usr/local/include/c++/3.3.2/bits/stl_algobase.h:70,
                 from /usr/local/include/c++/3.3.2/vector:67,
                 from ECPacket.h:36,
                 from ECPacket.cpp:25:
/usr/local/include/c++/3.3.2/cstdio:108: error: `fgetpos' not declared
/usr/local/include/c++/3.3.2/cstdio:110: error: `fopen' not declared
/usr/local/include/c++/3.3.2/cstdio:115: error: `freopen' not declared
/usr/local/include/c++/3.3.2/cstdio:118: error: `fsetpos' not declared
make[5]: *** [libec_noevt_a-ECPacket.o] Error 1
make[5]: Leaving directory `/home/downloads/aMule-2.1.0/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/downloads/aMule-2.1.0/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/downloads/aMule-2.1.0/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/downloads/aMule-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/aMule-2.1.0'
make: *** [all] Error 2