4.8.0 fails to build (configure: error: no acceptable cc found in $PATH)
Chris Johns
chrisj at rtems.org
Thu Aug 7 07:15:16 UTC 2008
rtwas wrote:
> Hello,
>
> "make" fails for some reason. I'm not sure if this is a 64bit/32bit
> problem or a naming problem.
>
> os: SuSE10.2 (amd64)
>
>
> assumptions:
> build path: /usr/local/packages/rtos/rtems/4.8/4.8.0
> rtems src path: /usr/local/packages/rtos/rtems/4.8/4.8.0/rtems-4.8.0
> tools path: /opt/rtems-4.8/bin
>
> tools packages installed:
>
> rtems-4.8-binutils-common-2.18-3.suse10.2.i586.rpm
> rtems-4.8-gcc-common-4.2.4-30.suse10.2.i586.rpm
> rtems-4.8-gdb-common-6.8-1.suse10.2.i586.rpm
> rtems-4.8-newlib-common-1.15.0-30.suse10.2.i586.rpm
> rtems-4.8-powerpc-rtems4.8-binutils-2.18-3.suse10.2.i586.rpm
> rtems-4.8-powerpc-rtems4.8-gcc-4.2.4-30.suse10.2.i586.rpm
> rtems-4.8-powerpc-rtems4.8-gdb-6.6-12.suse10.2.i586.rpm
> rtems-4.8-powerpc-rtems4.8-newlib-1.15.0-30.suse10.2.i586.rpm
>
> procedure:
> - >cd /usr/local/packages/rtos/rtems/4.8/4.8.0; mkdir
> rtems-4.8.0-mvme5500.080608.00-build
> - >cd rtems-4.8.0-mvme5500.080608.00-build
> - >../rtems-4.8.0/configure --target=powerpc-rtems
> --enable-rtemsbsp=mvme5500
> **seems to configure ok
>
> - >make ("make all" fails: "make: *** No rule to make target `all'.
> Stop.")
>
> result:
> .
> .
> .
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> checking for RTEMS_BSP... mvme5500
> checking for
> ../../../../rtems-4.8.0/c/src/../../bspkit/powerpc/*/cfg/mvme5500.cfg... no
> checking for
> ../../../../rtems-4.8.0/c/src/../../make/custom/mvme5500.cfg... yes
> checking whether BSP supports networking... yes
> checking whether CPU supports libposix... yes
> checking for rpcgen... rpcgen
> configure: setting up make/custom
> checking for
> ../../../../rtems-4.8.0/c/src/../../bspkit/powerpc/*/cfg/mvme5500.cfg... no
> checking for
> ../../../../rtems-4.8.0/c/src/../../make/custom/mvme5500.cfg... yes
> configure: creating make/mvme5500.cache
> gmake[3]: Entering directory
> `/usr/local/packages/rtos/rtems/4.8/4.8.0/rtems-4.8.0-mvme5500.080608.00-build/powerpc-rtems/c/mvme5500'
> gmake[3]: Leaving directory
> `/usr/local/packages/rtos/rtems/4.8/4.8.0/rtems-4.8.0-mvme5500.080608.00-build/powerpc-rtems/c/mvme5500'
> checking for RTEMS_CPU_MODEL... mpc7455
> checking for RTEMS_BSP_FAMILY... (cached) mvme5500
> checking for CPU_CFLAGS... (cached) -fno-strict-aliasing -mcpu=7450
> -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring
> -mstrict-align
> checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g
> checking for style of include used by gmake... GNU
> checking for powerpc-rtems-gcc... no
> configure: error: no acceptable cc found in $PATH
You need to add /opt/rtems-4.8/bin to your path. Check your path.
Regards
Chris
> gmake[2]: *** [mvme5500] Error 1
> gmake[2]: Leaving directory
> `/usr/local/packages/rtos/rtems/4.8/4.8.0/rtems-4.8.0-mvme5500.080608.00-build/powerpc-rtems/c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/local/packages/rtos/rtems/4.8/4.8.0/rtems-4.8.0-mvme5500.080608.00-build/powerpc-rtems/c'
> make: *** [all-recursive] Error 1
>
> - >which powerpc-rtems4.8-gcc
> /opt/rtems-4.8/bin/powerpc-rtems4.8-gcc
>
> I thought it might be a confused "configure" script so I also tried
> starting over and reconfiguring with:
> <../rtems-4.8.0/configure --target=powerpc-rtems
> --enable-rtemsbsp=mvme5500 --program-prefix=powerpc-rtems4.8->
> with the same results.
>
> Help appreciated.
>
> Robert W.
>
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list