Problem building the ss20021007

Paul Whitfield paulw at microsol.iinet.net.au
Thu Oct 24 07:56:07 UTC 2002


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




More information about the users mailing list