Compile errors with Red Suite 5.2.6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile errors with Red Suite 5.2.6

1,760 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JGold on Wed Aug 07 12:35:51 MST 2013
LPC2377
Red Suite NXP 5.2.6

I am trying to update an old project for an old board.  The project was originally compiled on Keil uVision 3.62 with a timed evaluation.  The eval period has long since expired.

We are using Red Suite NXP for a current project on an LPC1767 with great success, so I thought I would use this compiler to recompile the old code.

I ported the code over, using NEWLIB libraries.

I was able to get it to compile, but the interrupts were not firing.  I was advised to upgrade to a newer version of Red Suite, so I installed v5.2.6 [Build 2137] [2013-07-08].

I now get errors.  I have tried switching between REDLIB and NEWLIB, using (none), (nohost), and (semihost) settings, with no luck.

Here are my errors:

make: *** [RS485_Tester_Board.axf] Error 1
make: *** [Terminal_Tester_RT/src/GPIO.o] Error 1
make: *** [Terminal_Tester_RT/src/main.o] Error 1
make: *** [Terminal_Tester_RT/src/Serial.o] Error 1
make: *** [Terminal_Tester_RT/src/Timer.o] Error 1
make: *** No rule to make target `ADC.o', needed by `RS485_Tester_Board.axf'.





0 Kudos
Reply
6 Replies

1,725 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JGold on Thu Aug 08 17:58:39 MST 2013
I'm not really sure how I created it.  It may have been modeled after another project I amusing.

I am thinking I should probably start a new project and copy in just the source files.
0 Kudos
Reply

1,725 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Aug 08 14:41:00 MST 2013
Sorry, but that does not help as the project explorer hides all files beginning with "." and your project is trying to build a files that is part of the workspace configuration ".metadata" directory.

Please explain exactly how you created the project - it looks like you have included parts of another workspace.
0 Kudos
Reply

1,724 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JGold on Thu Aug 08 10:29:17 MST 2013
Here is a shot of my project directory.
0 Kudos
Reply

1,724 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Aug 08 09:22:09 MST 2013
The fact that your build is building a file from the (generally hidden) metadata folder within the workspace would indicate there is something very strange about your project. What is your project structure and how did you create it?

Regards,
LPCXpresso Support
0 Kudos
Reply

1,723 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JGold on Thu Aug 08 09:01:42 MST 2013
I'm not sure what the error here is.  Here is the printout from the Console:

10:49:24 **** Build of configuration Debug for project RS485_Tester_Board ****
make all
Building file: ../Terminal_Tester_RT/src/ADC.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/ADC.d" -MT"Terminal_Tester_RT/src/ADC.d" -o "Terminal_Tester_RT/src/ADC.o" "../Terminal_Tester_RT/src/ADC.c"
Finished building: ../Terminal_Tester_RT/src/ADC.c

Building file: ../Terminal_Tester_RT/src/GPIO.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/GPIO.d" -MT"Terminal_Tester_RT/src/GPIO.d" -o "Terminal_Tester_RT/src/GPIO.o" "../Terminal_Tester_RT/src/GPIO.c"
Finished building: ../Terminal_Tester_RT/src/GPIO.c

Building file: ../Terminal_Tester_RT/src/Serial.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/Serial.d" -MT"Terminal_Tester_RT/src/Serial.d" -o "Terminal_Tester_RT/src/Serial.o" "../Terminal_Tester_RT/src/Serial.c"
Finished building: ../Terminal_Tester_RT/src/Serial.c

Building file: ../Terminal_Tester_RT/src/TesterCode.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/TesterCode.d" -MT"Terminal_Tester_RT/src/TesterCode.d" -o "Terminal_Tester_RT/src/TesterCode.o" "../Terminal_Tester_RT/src/TesterCode.c"
Finished building: ../Terminal_Tester_RT/src/TesterCode.c

Building file: ../Terminal_Tester_RT/src/Timer.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/Timer.d" -MT"Terminal_Tester_RT/src/Timer.d" -o "Terminal_Tester_RT/src/Timer.o" "../Terminal_Tester_RT/src/Timer.c"
Finished building: ../Terminal_Tester_RT/src/Timer.c

Building file: ../Terminal_Tester_RT/src/cr_startup_lpc23.s
Invoking: MCU Assembler
arm-none-eabi-gcc -c -x assembler-with-cpp -D__NEWLIB__ -mcpu=arm7tdmi -o "Terminal_Tester_RT/src/cr_startup_lpc23.o" "../Terminal_Tester_RT/src/cr_startup_lpc23.s"
Finished building: ../Terminal_Tester_RT/src/cr_startup_lpc23.s

Building file: ../Terminal_Tester_RT/src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF"Terminal_Tester_RT/src/main.d" -MT"Terminal_Tester_RT/src/main.d" -o "Terminal_Tester_RT/src/main.o" "../Terminal_Tester_RT/src/main.c"
Finished building: ../Terminal_Tester_RT/src/main.c

Building file: ../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__NEWLIB__ -O0 -g -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -MMD -MP -MF".metadata/.plugins/org.eclipse.cdt.make.core/specs.d" -MT".metadata/.plugins/org.eclipse.cdt.make.core/specs.d" -o ".metadata/.plugins/org.eclipse.cdt.make.core/specs.o" "../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c"
Finished building: ../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c

make: *** No rule to make target `ADC.o', needed by `RS485_Tester_Board.axf'.  Stop.
0 Kudos
Reply

1,723 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Aug 07 13:26:42 MST 2013
They are not the error. That is just make telling you there have been errors when it was building something. If you post the actual errors from the compiler, somebody may be able to help. Hint, look I'm the build console...
0 Kudos
Reply