build failed: cpukit/posix/src/conddefaultattributes.c

Joel Sherrill joel at rtems.org
Sat Apr 23 13:04:35 UTC 2016


The tools have been updating pretty regularly. This means your tools are
old. Update the RSB and build me tools.

Between gcc and newlib activity, we have been bumping them every few weeks.
One at the first of March added new POSIX methods and condition variable
attributes.

--joel
On Apr 23, 2016 6:50 AM, "printk" <opentkernel at 163.com> wrote:

Hi, I followed this to build the bsp, arm920
- - -
        be built to target the BOARD_SUPPORT_PACKAGE board.
        mkdir build-rtems
        cd build-rtems
        ../rtems-4.10.0/configure --target=<TARGET_CONFIGURATION> \
        --disable-posix --disable-networking --disable-cxx \
        --enable-rtemsbsp=<BOARD_SUPPORT_PACKAGE>\
        --prefix=<INSTALL_POINT>
        make all
        make install
- - -
$ cd rtems
$ mkdir arm920
$ cd arm920
$ ../configure --target=arm-rtems4.12
$ make RTEMS_BSP="arm920"

it fails here:
- - -
arm-rtems4.12-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../arm920/lib/include   -mcpu=arm920 -O2 -g
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
src/libposix_a-conddefaultattributes.o -MD -MP -MF
src/.deps/libposix_a-conddefaultattributes.Tpo -c -o
src/libposix_a-conddefaultattributes.o `test -f
'src/conddefaultattributes.c' || echo
'../../../../../../c/src/../../cpukit/posix/'`src/conddefaultattributes.c
../../../../../../c/src/../../cpukit/posix/src/conddefaultattributes.c:31:3:
error: unknown field 'clock' specified in initializer
   .clock          = CLOCK_REALTIME,
   ^
- - -
I find this breaks many other bsps too, I comment this line out, then I can
compile all other arm bsps.(about 20hours, 20G :D)
did I do something wrong?

btw, there are many sources include this file
 #include <sys/tree.h>
but i can not find this file by:
 find -name tree.h
where is this file?

- - -
duhuanpeng


_______________________________________________
devel mailing list
devel at rtems.org
http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160423/8f557080/attachment.html>


More information about the devel mailing list