Hi,
I recently started learning to programm the AM335x SK with Bare Metal Code. I use CCS 6.1.2 on Linux with the Sitara StarterWare. My idea was to take the enetEcho example from the StarterWare and modify it to support UDP communication.
So I took the enetEcho example and wrote my own code in a new udpServices.cpp sourcefile and added a folder with the name "include" wich contains the udpServices.h header file. I added "${workspace_loc:/${ProjName}/include}" to the compiler's include search path and to the linker library search path (not sure if this was right).
I changed enetEcho.c to enetEcho.cpp as I'm planning to use some C++ in the project and added #include "udpServices.h" to that file before calling my own function in the main.
Now, when I try to build the project, wich worked fine before I added my function to enetEcho.cpp, I get the Linker error
unresolved symbol udp_service_init, first referenced in ./enetEcho.obj enetEcho C/C++ Problem
Since now, I always created small projects with CCS, that worked immediately, so I have no idea of how to configure my project, so that my own sourcefiles are found by the linker. On the Internet I just found a lot of answers dealing with the usage of TI or third party libraries, but not with own source files.