Building RTEMS

Asma Mehiaoui asma.mehiaoui at yahoo.com
Wed Nov 2 08:10:54 UTC 2011


Hello everybody,

I tried to built RTEMS on the target i386 and bsp= i386ex

i made: ../rtems-4.10.1/configure --target= i386 --disable-posix --disable-networking --disable-cxx --enable-rtemsbsp=i386ex --prefix=/opt/rtems-4.11/

when i did "make all" i had these error: 


In file included from ../../cpukit/../../../i386ex/lib/include/rtems/libio_.h:22:0,
                 from ../../../../../rtems-4.10.1/c/src/../../cpukit/posix/src/sysconf.c:23:
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:56:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtems_off64_t’
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:109:24: error: expected declaration specifiers or ‘...’ before ‘*’ token
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:111:3: error: expected declaration specifiers or ‘...’ before ‘rtems_off64_t’
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:109:9: warning: type defaults to ‘int’ in declaration of ‘rtems_off64_t’
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:109:9: error: ‘rtems_off64_t’ declared as function returning a function
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:113:1: warning: function declaration isn’t a prototype
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:164:5: error: expected specifier-qualifier-list before ‘rtems_filesystem_lseek_t’
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:363:43: error: field ‘size’ declared as a function
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:364:43: error: field ‘offset’ declared as a function
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:382:27: error: field ‘offset’ declared as a function
../../cpukit/../../../i386ex/lib/include/rtems/libio.h:461:25: error: ‘rtems_libio_lseek_t’ declared as function returning a function
../../../../../rtems-4.10.1/c/src/../../cpukit/posix/src/sysconf.c: In function ‘sysconf’:
../../../../../rtems-4.10.1/c/src/../../cpukit/posix/src/sysconf.c:47:12: error: ‘PAGE_SIZE’ undeclared (first use in this function)
../../../../../rtems-4.10.1/c/src/../../cpukit/posix/src/sysconf.c:47:12: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [src/libposix_a-sysconf.o] Erreur 1
make[5]: quittant le répertoire « /home/asma/Bureau/building-RTEMS/b-sis/c/i386ex/cpukit/posix »
make[4]: *** [all-recursive] Erreur 1
make[4]: quittant le répertoire « /home/asma/Bureau/building-RTEMS/b-sis/c/i386ex/cpukit »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/asma/Bureau/building-RTEMS/b-sis/c/i386ex/cpukit »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/asma/Bureau/building-RTEMS/b-sis/c/i386ex »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/asma/Bureau/building-RTEMS/b-sis/c »
make: *** [all-recursive] Erreur 1

Could i have help?

Thank you in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20111102/a6afd2cc/attachment.html>


More information about the users mailing list