The linker has Libraries/lib_mcu/can/can_isp_protocol.o
two times on its command line. Linking fails, because of duplicate definitions.
As I am not using Atmel Studio 6, I cannot describe the exact steps to remove the duplicate.
You have possibly added
can_isp_protocol.c
two times to the project. Check your list of files in the project. Check your linker settings in your project options.It probably turns up twice as well in the (generated/manually created)
Makefile
: Search forOBJECTS
orOBJS
(generally speaking search forcan_isp_protocol
, without extension), it could look like this:
OBJECTS = can_isp_protocol.o can_isp_protocol.o x.o y.o