build prpblems with rtems-ss-20020807

Ralf Corsepius corsepiu at
Wed Aug 21 23:06:49 UTC 2002

Am Mit, 2002-08-21 um 20.13 schrieb Jack Cawkwell:
> Hello,
> I have just tried to build the recent rtems-ss-20020807 snap shot,
> and found that the whole directory structure: rtems-ss-20020807/c/src/exec
> is missing for i386/pc386. I copied it from the previous snap shot...

I haven't seen an official announcement, yet, so some clarification:

The source tree has been restructured.

* Basically, c/src/exec has been moved to cpukit
* Other parts from c/src/* have also moved to cpukit.
* cpukit can be built standalone and multilib'ed without having any BSP

Have a look into cpukit/. the code you are looking for probably is

> Also I am having problems building it under Linux (RH7.0 upgraded to
> 2.4.12,
> with configure --target=i386-rtems and make RTEMS_BSP=pc386 ). The make
> fails when it cannot find the machine/param.h
> gmake[5]: Entering directory
> `/home/build/rtems/build-ss-20020807/i386-rtems/c/p
> c386/exec/libnetworking/kern'
> mkdir o-optimize
> i386-rtems-gcc --pipe -isystem ../../../../../pc386/lib/include    
> -Wall
>    -o o-optimize/kern_subr.o -c
> ../../../../../../../rtems-ss-20020807/c/src/../
> ../cpukit/libnetworking/kern/kern_subr.c
> In file included from ../../../../../pc386/lib/include/sys/systm.h:45,
>                  from
> ../../../../../../../rtems-ss-20020807/c/src/../../cpukit/
> libnetworking/kern/kern_subr.c:43:
> ../../../../../pc386/lib/include/rtems/rtems_bsdnet_internal.h:28:
> machine/param
> .h: No such file or directory
> I am a bit reluctant to copy similarly named files from other locations, as
> a comment in the code says to be sure an get the networking version.
> Can anyone tell me which param.h file to copy, and where to copy it to.

This is a change in gcc/newlib and RTEMS interaction. sys/param.h has
become part of newlib. => You need a newer RTEMS gcc/newlib tool chain
(gcc-3.1 or gcc-3.2 from OAR's ftp are supposed to work).


More information about the users mailing list