errors in cpukit/libcsupport/src/base_fs

e.stiebler emu at e-bbes.com
Fri Sep 4 20:34:25 UTC 2009


Hi All,
trying to compile RTEMS CVS, after a fresh checkout and tool chain 
update. Getting the same problem on m68k & powerpc. (using fedora 11)

Cheers & thanks

--------------------- cut ---------------------\
cc --pipe -DHAVE_CONFIG_H   -I.. 
-I../../cpukit/../../../posix/lib/include  -Wall 
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs 
-fasm -D_BSD_SOURCE -D_POSIX_C_SOURCE -O0 -g -MT 
src/libcsupport_a-base_fs.o -MD -MP -MF 
src/.deps/libcsupport_a-base_fs.Tpo -c -o src/libcsupport_a-base_fs.o 
`test -f 'src/base_fs.c' || echo 
'../../../../../rtems/c/src/../../cpukit/libcsupport/'`src/base_fs.c
In file included from 
../../../../../rtems/c/src/../../cpukit/libcsupport/src/base_fs.c:19:
../../cpukit/../../../posix/lib/include/rtems/libio.h:45: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘rtems_off64_t’
../../cpukit/../../../posix/lib/include/rtems/libio.h:91: error: 
expected declaration specifiers or ‘...’ before ‘*’ token
../../cpukit/../../../posix/lib/include/rtems/libio.h:93: error: 
expected declaration specifiers or ‘...’ before ‘rtems_off64_t’
../../cpukit/../../../posix/lib/include/rtems/libio.h:95: warning: type 
defaults to ‘int’ in declaration of ‘rtems_off64_t’
../../cpukit/../../../posix/lib/include/rtems/libio.h:95: error: 
‘rtems_off64_t’ declared as function returning a function
../../cpukit/../../../posix/lib/include/rtems/libio.h:95: warning: 
function declaration isn’t a prototype
../../cpukit/../../../posix/lib/include/rtems/libio.h:141: error: 
expected specifier-qualifier-list before ‘rtems_filesystem_lseek_t’
../../cpukit/../../../posix/lib/include/rtems/libio.h:359: error: field 
‘size’ declared as a function
../../cpukit/../../../posix/lib/include/rtems/libio.h:360: error: field 
‘offset’ declared as a function
../../cpukit/../../../posix/lib/include/rtems/libio.h:378: error: field 
‘offset’ declared as a function
../../cpukit/../../../posix/lib/include/rtems/libio.h:457: error: 
‘rtems_libio_lseek_t’ declared as function returning a function
gmake[5]: *** [src/libcsupport_a-base_fs.o] Error 1
gmake[5]: Leaving directory 
`/AD1/SHARED/RTEMS/build-mvme162/c/posix/cpukit/libcsupport'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/AD1/SHARED/RTEMS/build-mvme162/c/posix/cpukit'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/AD1/SHARED/RTEMS/build-mvme162/c/posix/cpukit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/AD1/SHARED/RTEMS/build-mvme162/c/posix'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/AD1/SHARED/RTEMS/build-mvme162/c'
make: *** [all-recursive] Error 1



More information about the users mailing list