build prpblems with rtems-ss-20020807
corsepiu at faw.uni-ulm.de
Wed Aug 21 23:06:49 UTC 2002
Am Mit, 2002-08-21 um 20.13 schrieb Jack Cawkwell:
> 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
> with configure --target=i386-rtems and make RTEMS_BSP=pc386 ). The make
> fails when it cannot find the machine/param.h
> gmake: Entering directory
> mkdir o-optimize
> i386-rtems-gcc --pipe -isystem ../../../../../pc386/lib/include
> _BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT -O4 -g
> -o o-optimize/kern_subr.o -c
> In file included from ../../../../../pc386/lib/include/sys/systm.h:45,
> .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