Other Parts Discussed in Thread: SYSBIOS
Hello,
I am posting this based on advice from TI in my post here:
We want to do a command line build, using Linux, of a project which includes the NDK. I am attaching the very simple example I created to demonstrate the issue we are facing. In the single C file you will see one line of code with a comment next to it saying that this line causes the linker error. The linker error is in a comment above that line of code. The whole project is in the zip file.
The feedback I have had from TI is "In any case, based on this, it seems that the missing code is indeed in the PDK. I think the problem is that your app just isn't linking all of the libraries that are required. Note that the above library doesn't look to have those Osal_* symbols defined, either. I guess it's possible that the PDK requires you to build the nimu_osal*.c files into the application, but I'm not sure, as I'm not familiar with this product. I think the best option at this point is to ask the PDK team what libraries are needed to resolve these undefined symbols, and what are the best means of getting those libraries linked in (or, the best way to resolve these Osal* symbols)."
Please look at the linker.cmd file in the sysbios folder of the attached zip file to see that the OSAL library is indeed being linked.
" -l"/opt/ivy-tools/ti/pdk_c665x_2_0_2/packages/ti/osal/lib/tirtos/c66/release/ti.osal.ae66" "
Thanks,
Geraldineexample3.zip
