[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build & c tools



I'm using standard gnu build programs
(ie automake-1.72, autconf-2.57, aclocal-1.72)
not the rtems ones (eg automake-rtems-automake-1.7.2)
are they any different ??

furthermore, should the c-tools be updated if one wants to build the latest rtems snapshot?
(i'm still using c-tools from rtems-4.5.0 decade)

i'm getting the following error, which I very much think are related to the top two issues

gcc --pipe -isystem ../../../.././pc386/lib/include -DHAVE_CONFIG_H    -Isrc       -O4 -g -Wall  -o o-optimize/__getpid.o -c ../../../../../../rtems/c/src/../../cpukit/libcsupport/src/__getpid.c
../../../../../../rtems/cpukit/libcsupport/src/__getpid.c:14: parse error before "__getpid"
../../../../../../rtems/cpukit/libcsupport/src/__getpid.c:15: warning: return type defaults to `int'
gmake[4]: *** [o-optimize/__getpid.o] Error 1
gmake[4]: Leaving directory `/home/salman/work/build/i386-rtems/c/pc386/exec/libcsupport'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/salman/work/build/i386-rtems/c/pc386/exec'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/salman/work/build/i386-rtems/c/pc386'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/salman/work/build/i386-rtems/c'
make: *** [all-recursive] Error 1