AnsweredAssumed Answered

undefined reference to `MQX_template_list'

Question asked by Mark Grillo on Jul 9, 2015
Latest reply on Jul 16, 2015 by Mark Grillo



I have a KDS 3.0  MQX 4.2 workspace with the ether_to_serial project that compiles and executes fine but another Ethernet project in the same workspace that initially compiled but now has the following result in the Console:


..\..\Freescale_MQX_4_2\lib\twrk64f120m.kds\debug\bsp\bsp.a(mqx_init.o):(.rodata.MQX_init_struct+0x10): undefined reference to `MQX_template_list'

collect2.exe: error: ld returned 1 exit status



It appears that the following MQX libraries are not getting compiled as they are in the working example project.

ffunction-sections -fdata-sections -Wall -Wno-missing-braces -g3 -gdwarf-2 -gstrict-dwarf -gstrict-dwarf -gstrict-dwarf -nostdinc -D_AEABI_LC_CTYPE=C -D__STRICT_ANSI__=1 -D_DEBUG=1 -I"MQX BSP, RTCS and etc paths .............."



I've reviewed the project properties settings several times and they match the working 'ether_to_serial' example project less the different source paths and can't find anything wrong.

I'm looking for any clues that will point me in the right direction.