Felipe G Magalhaes

Felipe G Magalhaes

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Compile under Linux #24953

    Felipe G Magalhaes

    Hi, thank you for you reply!

    The problem I am having is that I am not able to compile any project at all. As I said, I have the cross-compiler set (powerpc-eabi-*) and I have been using it for bare-metal applications without prejudice. Now, if I try to create a project with uC, nothing works.

    For instance, I took the Blinky example, for MPC574 board. When I try to compile, I got this:

    make all
    Building file: ../MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.c
    Invoking: Cross GCC Compiler
    powerpc-eabi-gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF”MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.d” -MT”MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.o” -o “MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.o” “../MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.c”
    ../MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.c:37:11: fatal error: cpu.h: No such file or directory
    #include <cpu.h>
    compilation terminated.
    MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/subdir.mk:21: recipe for target ‘MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.o’ failed
    make: *** [MPC574XG-324DS/NXP/MPC574XG-324DS/Blinky/OS3/main.o] Error 1

Viewing 1 post (of 1 total)

View the complete site map