Problem building the ss20021007
Joe Samuel
sjoe2 at yahoo.com
Thu Oct 24 08:36:45 UTC 2002
Hi Paul,
thank you for your valuable advice, but I'm still
stuck up with something else. Here's the relevant
build trace:
../cpukit/score/cpu/unix/cpu.c
rm -f o-optimize/libscorecpu.a
no ruv o-optimize/libscorecpu.a o-optimize/cpu.o
gmake[6]: no: Command not found
gmake[6]: *** [o-optimize/libscorecpu.a] Error 127
gmake[6]: Leaving directory
`/root/rtems/build/i386-pc-linux/c/posix/exec/score/cpu/unix'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
`/root/rtems/build/i386-pc-linux/c/posix/exec/score/cpu'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/root/rtems/build/i386-pc-linux/c/posix/exec/score'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/root/rtems/build/i386-pc-linux/c/posix/exec'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/root/rtems/build/i386-pc-linux/c/posix'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/root/rtems/build/i386-pc-linux/c'
make: *** [all-recursive] Error 1
It seems that the makefile got corrupt.. but I don't
know how or how to fix it. Please help out..
thanks n' regards
Joe
--- Paul Whitfield <paulw at microsol.iinet.net.au>
wrote: > Hi Joe,
>
>
> Joe Samuel wrote:
> > Hi,
> > When I tried the following command, I got the
> > following output.
> > # gcc -v
> > Reading specs from
> > /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> > gcc version 2.96 20000731 (Red Hat Linux 7.1
> 2.96-81)
> >
> > But when I tried to configure RTEMS, I got the
> > following error.
> >
> > checking for style of include used by gmake...
> GNU
> > checking for i386-pc-linux-gcc... no
> > configure: error: no acceptable cc found in $PATH
> > configure: error: /bin/sh
> > '../../../../rtems-ss-20021007/c/make/configure'
> > failed for c/make
> > sed: can't read confdefs.h: No such file or
> directory
> >
> > ../rtems-ss-20021007/configure
> --target=i686-pc-linux
> > --disable-itron --enable-tests
> >
> > --enable-cxx --enable-networking
> >
> > I used the configure command with the options as
> in
> > the following.
> >
> > #../rtems-ss-20021007/configure
> --target=i386-pc-linux
> > --disable-itron --enable-tests
> >
> > --enable-cxx --enable-networking
> >
> > Can anyone comment on why the above error
> occurred.I'm
> > using RedHat Liux 7.1(Newbie to auttools)
> >
> >
>
> It sounds like the problem is that you need to
> tell configure that CC is actually gcc
>
>
> You can achieve this by either creating a
> link from GCC to CC
>
> ln -s /usr/bin/gcc /usr/bin/cc
>
> (As root)
>
> OR
>
> export CC=gcc
> ../../../../rtems-ss-20021007/c/make/configure
>
> Either of these should solve the problem
>
>
> Regards
>
> Paul
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
More information about the users
mailing list