Building RTEMS

Bob Stafford bobstaff at eecradar.com
Wed Jan 12 13:21:40 UTC 2000


I'm trying to build RTEMS on a PC running Red Hat linux 6.1 for 68340
target. I've been following the instructions at
 http://www.oarcorp.com/rtems/freesupport/manuals/index.html

Everything is OK until step 3.10 which involves running the bit script.
This fails while trying to build gcc with the following messages. There
a couple of extra lines in here where I've added echo's into the make
file in my attempt to work out what is happening. So far it appears that
fixincludes is deleting the
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include directory.

If anyone has any idea what's wrong I'd appreciate any advice, meanwhile
I'll start wading through fixincludes to try to work out what it is
upto.


/home/bobstaff/m68k-rtems/m68k-rtems/sys-include
/home/bobstaff/rtems/tools/build-m68k-tools/gcc
drwxr-xr-x   2 bobstaff users        1024 Jan 12 06:29 include
/bin/sh ../../src/gcc/fixincludes include
/home/bobstaff/m68k-rtems/m68k-rtems/sys-include
Building fixed headers in
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include
Finding directories and links to directories
 Searching /home/bobstaff/m68k-rtems/m68k-rtems/sys-include/.
All directories (including links to directories):

Making symbolic directory links
Fixing directory /home/bobstaff/m68k-rtems/m68k-rtems/sys-include into
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include
Checking header files
Fixing limits.h
Deleting
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/limits.h; no
fixes were needed.
egrep:
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/reg_types.h: No
such file or directory
egrep: /home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/regex.h:
No such file or directory
egrep:
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/sys/lc_core.h:
No such file or directory
Cleaning up DONE files.
Removing unneeded directories:
/home/bobstaff/rtems/tools/build-m68k-tools/gcc
ls: include: No such file or directory
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
  mv include/limits.h include/syslimits.h; \
else \
  cp ../../src/gcc/gsyslimits.h include/syslimits.h; \
fi
cp: cannot create regular file `include/syslimits.h': No such file or
directory
gmake[1]: *** [stmp-fixinc] Error 1
gmake[1]: Leaving directory
`/home/bobstaff/rtems/tools/build-m68k-tools/gcc'
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)

Started:   Wed Jan 12 06:09:22 CST 2000
Finished:  Wed Jan 12 06:29:21 CST 2000





More information about the users mailing list