[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with building the EGCS cross compiler for RTEMS4.0 (fwd)



I received this personally and it should have gone to the list.

--joel
Joel Sherrill                    Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





---------- Forwarded message ----------
Date: Wed, 24 Feb 1999 15:48:20 +0200
From: "Claussen, Stephan" <stephan.claussen at teleste.fi>
To: "'joel at oarcorp.com'" <joel at oarcorp.com>
Subject: Problems with building the EGCS cross compiler for RTEMS4.0



Hello Joel,

I try to build the crosscompiler for RTEMS4 using the bit script as
recommended.
Now, everything seems to run fine except when it comes to the following
point:

Building fixed headers in
/home/claussen/rtems4/tools/build-m68k-tools/gcc/include
Finding directories and links to directories
 Searching /usr/m68kdev/rtems4/m68k-rtems/sys-include/.
All directories (including links to directories):

Making symbolic directory links
Fixing directory /usr/m68kdev/rtems4/m68k-rtems/sys-include into
/home/claussen/rtems4/tools/build-m68k-tools/gcc/include
Checking header files
Fixing limits.h
Deleting /home/claussen/rtems4/tools/build-m68k-tools/gcc/include/limits.h;
no fixes were needed.
Cleaning up DONE files.
Removing unneeded directories:
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
make[1]:*** [stmp-fixinc] Error 1
make[1]: Leaving directory
`/home/claussen/rtems4/tools/build-m68k-tools/gcc'
make:*** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)

Started:   Wed Feb 24 15:19:57 EET 1999
Finished:  Wed Feb 24 15:32:58 EET 1999

Directory size information:
42985	build-m68k-tools
18	/usr/m68kdev/rtems4

The src and build-m68k-tools subdirectory have NOT been removed.

Since I run this script as root (installation of target should be in
/usr/m68kdev/...) there should not be any problems
with the access permissions to copy the file or to create the directory.

Our Linux distribution is Suse6.0, but I guess the problem should not be
related to that.

I'd like to know if you can make any suggestions to solve this problem.
Thanks

Stephan

PS: I'm using all tools that are recommended for building the system, like
EGCS1.1b, etc. and I also applied
       all patches.