Error Configuring RTEMS SH4

Ralf Corsepius corsepiu at faw.uni-ulm.de
Fri Oct 25 13:27:45 UTC 2002


Am Fre, 2002-10-25 um 15.10 schrieb Joel Sherrill:
> 
> 
> Kiran C wrote:
> > 
> > Hi,
> > I am trying to configure rtems for sh4 with the following coomand on cygwin
> > ./configure --target=sh_rtems
BUG:                     ^^^^^^^^
--target=sh-rtems

> > the script fails at c/make directory with the following  error
> > ==================
> > checking for sh-rtems-strip... sh-rtems-strip
> > checking whether to enable maintainer-specific portions of Makefiles... no
> > checking if cpu sh is supported... yes
> > checking for style of include used by make... GNU
> > checking for sh-rtems-gcc... sh-rtems-gcc
> > checking for sh-rtems-gcc... (cached) sh-rtems-gcc
> > checking for C compiler default output... configure: error: C compiler
> > cannot create executables
> > configure: error: /bin/sh '../../../../rtems-ss-20020807/c/make/configure'
> > failed for c/make
> > sed: can't read confdefs.h: No such file or directory
The configure script is correct.

You probably have sh-rtems-gcc installed.

Please, read what I wrote yesterday.

> > ==================
> > I have earlier compiled the 4.5 release fine for unix and psim BSP on my
> > Cygwin installtion
> > I got the same result using the latest of the snapshots.......
> > What could be wrong?
> 
> I recall some tool problem that was related to a change in gcc and
> the rtems fake crt0.o that is used to link during configure was missing
> a symbol.  So you are probably not using the latest newlib patch/RPMs.
No, cf. above.

Ralf





More information about the users mailing list