problem when building rtems on windows

阎淼 yanmiaobest at gmail.com
Sun May 4 12:43:16 UTC 2008


Hi,
    I am building rtems fro arm rtl22xx on windowsXP,  when building
rtems I got the following error message(not only for arm, but also for
x86 ppc...):

    rm-rtems4.8-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../rtl22xx/lib/include  -Wall -fasm
-mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame -Os -g
-DNDEBUG -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-4.8.0/c/src/../../cpukit/libcsupport/'`src/base_fs.c
In file included from
../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/src/base_fs.c:19:
../../cpukit/../../../rtl22xx/lib/include/rtems/libio.h:29:23: error:
sys/ioctl.h: No such file or directory
In file included from
../../cpukit/../../../rtl22xx/lib/include/rtems/libio.h:546,
                 from
../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/src/base_fs.c:19:
c:/opt/rtems-4.8/bin/../lib/gcc/arm-rtems4.8/4.2.1/../../../../arm-rtems4.8/include/termios.h:4:25:
error: sys/termios.h: No such file or directory
In file included from
../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/src/base_fs.c:19:
../../cpukit/../../../rtl22xx/lib/include/rtems/libio.h:553: warning:
'struct termios' declared inside parameter list
../../cpukit/../../../rtl22xx/lib/include/rtems/libio.h:553: warning:
its scope is only this definition or declaration, which is probably
not what you want
make[5]: *** [src/libcsupport_a-base_fs.o] Error 1
make[5]: Leaving directory
`/c/home/rtems/build/arm-rtems4.8/c/rtl22xx/cpukit/libcsupport'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/c/home/rtems/build/arm-rtems4.8/c/rtl22xx/cpukit'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/c/home/rtems/build/arm-rtems4.8/c/rtl22xx/cpukit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/home/rtems/build/arm-rtems4.8/c/rtl22xx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/home/rtems/build/arm-rtems4.8/c'
make: *** [all-recursive] Error 1

   but when I repeat the process under linux, it works fine!  and it
seems it is the  undefined symbol RTEMS_NEWLIB that cause the problem.

    I am using rtems-4.8.0, installer build 17! I am setting up rtems
enviroment on a new workstation, I did't see this problem before.



More information about the users mailing list