Hello everyone
I am developing on the TMS320F2888D on the Communication Manager core and my project has stopped building correctly. Trying to revert the code to an earlier commit has so far not solved the issue. I am working on Ubuntu 20.04. The code I am working on is originally based on the lwIP http server example and it build correctly before, I am not sure if I changed anything in my build environment that causes the build to fail now.
When I try to build my project in Eclipse, I get the following errors:
The first two errors seem to be related to the linker not finding some symbols even though the library is installed, and the symbols seem to be there as verified by the following commands:
nm ~/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib | grep Ethernet_rec 00000001 T Ethernet_receiveISR 00000001 T Ethernet_receivePacketCallback nm ~/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib | grep Ethernet_tran 00000001 T Ethernet_transmitISR
I also include the library in my linker settings in Eclipse:
When looking at the build console, it seems the error occurs at this position when the Linker is invoked:
Building target: "enet_lwip_cm.out" Invoking: ARM Linker "/home/dvarx/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O0 --opt_for_speed=0 --define=_FLASH --define=ccs -g --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual -n -z -m"enet_lwip_cm.map" --heap_size=0x1000 --stack_size=2048 -i"/home/dvarx/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/lib" -i"/home/dvarx/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug" -i"/home/dvarx/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" -i"/home/dvarx/ti/ccs1030/ccs/tools/compiler" -i"/home/dvarx/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug" --reread_libs --warn_sections --xml_link_info="enet_lwip_cm_linkInfo.xml" --rom_model -o "enet_lwip_cm.out" "./comm_interface.obj" "./f2838xif.obj" "./fs.obj" "./httpd.obj" "./lwiplib.obj" "./main_tcp_interface_lwip.obj" "./pinout.obj" "./startup_ccs.obj" "./ustdlib.obj" "../2838x_flash_lnk_cm_lwip.cmd" -l"/home/dvarx/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib" -l"/home/dvarx/ti/C2000Ware_3_04_00_00_Software/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib" -llibc.a >> ERROR: no source files, nothing to do Finished building target: "enet_lwip_cm.out"
I am not sure why the linker complains about missing source files since they seem to be provided in this command?