Error compiling mpc8260ads

Ralf Corsepius ralf.corsepius at rtems.org
Wed Feb 14 10:21:42 UTC 2007


On Wed, 2007-02-14 at 10:40 +0200, Leon Pollak wrote:
> Hello,
> I have the following error while compiling the mpc8260ads BSP + RTEMS (totally 
> standard, no my changes):
Well, if I were you, I would want not claim this ;)

> gmake[3]: Entering directory 
> `/opt/rtems-4.7/rtems-src.4.6.93.3/build/powerpc-rtems/c/mpc8260ads/lib'
> Making all in libcpu
> gmake[4]: Entering directory 
> `/opt/rtems-4.7/rtems-src.4.6.93.3/build/powerpc-rtems/c/mpc8260ads/lib/libcpu'
> Making all in powerpc
> gmake[5]: Entering directory 
> `/opt/rtems-4.7/rtems-src.4.6.93.3/build/powerpc-rtems/c/mpc8260ads/lib/libcpu/powerpc'
> powerpc-rtems-gcc --pipe -B../../../../.././lib/ -B../../../../.././mpc8260ads/lib/ -specs 
> bsp_specs -qrtems -isystem ../../../../.././mpc8260ads/lib/include  -DASM -mcpu=603e -mstrict-align -Dmpc8260 -O4 -fno-keep-inline-functions  -c /opt/rtems/rtems-src/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S
> powerpc-rtems-gcc --pipe -B../../../../.././lib/ -B../../../../.././mpc8260ads/lib/ -specs 
> bsp_specs -qrtems -Wall -mcpu=603e -mstrict-align -Dmpc8260 -O4 -fno-keep-inline-functions   -o 
> new-exceptions/rtems-cpu.rel -qnolinkcmds -nostdlib -Wl,-r 
> new-exceptions/new_exceptions_rtems_cpu_rel-cpu.o new-exceptions/cpu_asm.o
> powerpc-rtems-gcc: new-exceptions/cpu_asm.o: No such file or directory
> gmake[5]: *** [new-exceptions/rtems-cpu.rel] Error 1
> 
> 
> As far as I was able to understand, the required file cpu-asm.o resides in 
> the .../c/mpc8260ads/lib/libcpu/powerpc directory (I see it there) and is 
> looked for by compilation process 
> in ...c/mpc8260ads/lib/libcpu/powerpc/new-exceptions/
>
> What can be done with this?
This is an *.S compilation error => Probably you did not use the right
autotools.

You must use automake >= 1.10 for rtems-4.7. The *.S compilation rules
is what makes the difference between this version of automake and all
previous versions.

I'd assume you to have seen warning from bootstrap.

> Please, help.

Ralf





More information about the users mailing list