2006-12-21 04:16 AM
Linking problem with ARM Realview RVCT linker
2006-10-17 06:47 PM
I try to compile and link the example project in folder Keil\ARM\RV30\Example\ST\STR71xLib\GPIO.
I got error list below: Build target 'STR71x Debug'assembling STR71x.s...
compiling 71x_it.c...
compiling Retarget.c...
compiling main.c...
linking...
.\output\GPIO.axf: error: L6008U: Could not recognize the format of member 71x_lib.o from STR71xD.LIB.
Target not createdWhen I search the errors & warnings in RVCT 2.2 document, REALVIEW explained: L6008U: Could not recognize the format of member from .
The linker can recognize library member objects in the ELF file format. The specified library member is either corrupt, or is in a file format that the linker cannot recognize. The file could be a AOF or ALF format which was produced by SDT. These file formats became deprecated in RVCT 2.1 and obsolete in 2.2.I don't know what caused the error. RVCT linker? or .lib file from ST? Thanks for any suggestion. :-[ [ This message was edited by: light on 18-10-2006 07:19 ]
2006-11-11 02:37 PM
Anybody?
2006-12-21 04:00 AM
I solved the problem a few days ago.
After I installed a toolkit that was released by Keil, all works.Quote:
Tool Version Numbers:
Toolchain Path: BIN30C Compiler: ARM/Thumb C/C++ Compiler, RVCT3.0 [Build 942] for uVision Assembler: ARM/Thumb Macro Assembler, RVCT3.0 [Build 942] for uVision Linker/Locator: ARM Linker, RVCT3.0 [Build 942] for uVision Librarian: ARM Archiver, RVCT3.0 [Build 942] for uVision Hex Converter: ARM FromELF, RVCT3.0 [Build 942] for uVision CPU DLL: SARM.DLL V3.02a Dialog DLL: DARMST.DLL V1.04i Target DLL: BIN\AGDIRDI.DLL V1.06c Dialog DLL: TARMST.DLL V1.04iSpecial thanks to Zouhair. [ This message was edited by: light on 21-12-2006 17:40 ]2006-12-21 04:16 AM
The only warning is
Quote:
main.c(30): warning: #951-D: return type of function ''main'' must be ''int''
Then I changed the return type to ''int'', huhu...