This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker warning and error with AT91SAM7

Hello,

I am using uVision 5, and I need to use AT91SAM7, I have downloaded the example program in https://www.keil.com/download/docs/304.asp

However, I got this error : 

.\ADC.axf: Warning: L6373W: libattrs.map file not found in System Library directory C:\Program Files (x86)\ARM\ADSv1_2\LIB\armlib\. Library selection may be impaired.
.\ADC.axf: Error: L6242E: Cannot link object __main.o as its attributes are incompatible with the image attributes.
... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.

(and it continue)

I have tried to fix the warning L6373W, because the address "C:\Program Files (x86)\ARM\ADSv1_2\LIB\armlib\" doesnt fix with the installation folder of  the  uVision 5 in my computer. I found the location of  the image file libattrs.map and added this file to the project , and got  this message

  FCARM - Output Name not specified, please check 'Options for Target - Utilities'

I  hope someone can help me.

thanks in advanced,

Arlen

Parents Reply Children
No data