Hello, Dear supporters.
Lately, I get a new PC and setup my development environments which installs Keil MDK5.01 and TivaWare2.0
I compiled an our existing project at new PC, but while compiling sources, there are compile errors in cpu.c and systick.c as follow. (This project compiled with no problem in previous environment.)
linking...
.\OBJ\MyProj.axf: error: L6002U: Could not open file .\obj\cpu.o: No such file or directory.
Finished: 0 warning, 0 error and 1 fatal error messages.
".\OBJ\MyProj.axf" -1 Error(s), 0 Warning(s)
L6002U error message's information as follow
---------------------------------------------------
L6002U
Could not open file <filename>: <reason>
This indicates that the linker was unable to open a file specified on the linker command line. This can indicate a problem accessing the file or a fault with the command line specified. Some common occurrences of this message are:
-
L6002U: Could not open file /armlib/{libname}: No such file or directory
---------------------------------------------------
I tried recompile with drivlib.lib library file instead of all .c driver files,
Thereupon, It was compiled successfully!
I think, cpu.c and systick.c files are includes __asm codes and they are causes of compile errors.
but I can't find a solution, I decided to ask for help.
Please help me find solutions.
Thank you.
Regards, Hyunkyo.