rtems-4.94 build error

padmakumar at sigtechwireless.com padmakumar at sigtechwireless.com
Mon Jan 24 11:55:31 UTC 2011


 Hello,

 I am new to RTEMS and trying to understand its working.

 My Host environment is Ubuntu 10.04 LTS.

 I have installed the following tools list successfully.

 1. autoconf-2.68
 2. automake-1.11.1
 3. binutils-2.21
 4. gcc-4.5.2
 5. gdb-7.2
 6. gmp-4.3.2
 7. mpc-0.8.1
 8. mpfr-2.4.2
 9. newlib-1.19.0

 Everything build without error and installed successfully.

 then I set the path as ,

 export PATH=/opt/rtems-4.11/bin:${PATH}

 After that I used rtems-4.9.4, with target as ARM and BSP as edb7312. 
 while compiling this, i am getting an error message as follows,

 mv -f src/.deps/libcsupport_a-termios.Tpo 
 src/.deps/libcsupport_a-termios.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT 
 src/libcsupport_a-termiosinitialize.o -MD -MP -MF 
 src/.deps/libcsupport_a-termiosinitialize.Tpo -c -o 
 src/libcsupport_a-termiosinitialize.o `test -f 'src/termiosinitialize.c' 
 || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/termiosinitialize.c
 mv -f src/.deps/libcsupport_a-termiosinitialize.Tpo 
 src/.deps/libcsupport_a-termiosinitialize.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT 
 src/libcsupport_a-termios_baud2index.o -MD -MP -MF 
 src/.deps/libcsupport_a-termios_baud2index.Tpo -c -o 
 src/libcsupport_a-termios_baud2index.o `test -f 
 'src/termios_baud2index.c' || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/termios_baud2index.c
 mv -f src/.deps/libcsupport_a-termios_baud2index.Tpo 
 src/.deps/libcsupport_a-termios_baud2index.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT 
 src/libcsupport_a-termios_baud2num.o -MD -MP -MF 
 src/.deps/libcsupport_a-termios_baud2num.Tpo -c -o 
 src/libcsupport_a-termios_baud2num.o `test -f 'src/termios_baud2num.c' 
 || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/termios_baud2num.c
 mv -f src/.deps/libcsupport_a-termios_baud2num.Tpo 
 src/.deps/libcsupport_a-termios_baud2num.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT 
 src/libcsupport_a-termios_num2baud.o -MD -MP -MF 
 src/.deps/libcsupport_a-termios_num2baud.Tpo -c -o 
 src/libcsupport_a-termios_num2baud.o `test -f 'src/termios_num2baud.c' 
 || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/termios_num2baud.c
 mv -f src/.deps/libcsupport_a-termios_num2baud.Tpo 
 src/.deps/libcsupport_a-termios_num2baud.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT 
 src/libcsupport_a-termios_setinitialbaud.o -MD -MP -MF 
 src/.deps/libcsupport_a-termios_setinitialbaud.Tpo -c -o 
 src/libcsupport_a-termios_setinitialbaud.o `test -f 
 'src/termios_setinitialbaud.c' || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/termios_setinitialbaud.c
 mv -f src/.deps/libcsupport_a-termios_setinitialbaud.Tpo 
 src/.deps/libcsupport_a-termios_setinitialbaud.Po
 arm-gcc --pipe -DHAVE_CONFIG_H   -I.. 
 -I../../cpukit/../../../csb336/lib/include  -Wall -fasm -mcpu=arm920 
 -mstructure-size-boundary=8 -O2 -g -MT src/libcsupport_a-getpagesize.o 
 -MD -MP -MF src/.deps/libcsupport_a-getpagesize.Tpo -c -o 
 src/libcsupport_a-getpagesize.o `test -f 'src/getpagesize.c' || echo 
 '../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/'`src/getpagesize.c
 ../../../../../../rtems-4.9.4/c/src/../../cpukit/libcsupport/src/getpagesize.c:21:8: 
 error: conflicting types for ‘getpagesize’
 /opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.5.2/../../../../arm-rtems4.11/include/sys/unistd.h:89:5: 
 note: previous declaration of ‘getpagesize’ was here
 make[5]: *** [src/libcsupport_a-getpagesize.o] Error 1
 make[5]: Leaving directory 
 `/home/user/rtems/tools/build-rtems/arm/c/csb336/cpukit/libcsupport'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory 
 `/home/user/rtems/tools/build-rtems/arm/c/csb336/cpukit'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory 
 `/home/user/rtems/tools/build-rtems/arm/c/csb336/cpukit'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory 
 `/home/user/rtems/tools/build-rtems/arm/c/csb336'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/user/rtems/tools/build-rtems/arm/c'



 could you please give some idea regarding this issue.

 Thanks in advance,
 PKP







More information about the users mailing list