Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI C/C++ Compiler
I'm trying to add SNTP to my project but when I build the linker says that 'SNTP_start' is an unresolved symbol. According to this link in the 'Example Usage' section, it says I must add the library 'ti/ndk/nettools/lib/sntp.lib' then adds "Note that the ".lib" extension should be replaced with the extension that matches the target your application is built for.". My target is an AM3352 which is an ARM Cortex-A8. According to the TI Network Developer's Kit (NDK) v2.25 User's Guide, section 1.3.3, the proper file extension for the pre-built libraries is:
.aea8fnv For Cortex-A8 targets (ELF format, little endian, TI compiler, uses hardware-based vector floating point support, recommended over .aea8f)
In CCS properties for the project: ARM Linker->File Search Path, I added "${NDK_INSTALL_DIR}/packages/ti/ndk/nettools/lib/sntp.aea8fnv". The console window shows the following:
'Building target: Teller-ExEl-EDS.out'
'Invoking: ARM Linker'
'Flags: -mv7A8 --code_state=32 -me -O2 --opt_for_speed=2 --define=_HSCD_LIB_ --define=BUILDING_LIBCURL --define=DEBUG_LINK_STATUS --define=EXPERT_ELITE_CONFIG_IQF --define=SMARTSOURCE_EXPERT --define=am335x_15x15 --define=DMA_MODE --define=am335x --define=NO_SS_ENDORSE_PRINTFS --define=USE_CPSW_DRIVER --define=TI_SYSBIOS --define=TELLER_HEX_SIGNATURE_VERIFICATION --define=RAPIDXML_NO_EXCEPTIONS --define=WSLIBCFG_CURL_SUPPORT -g --relaxed_ansi --gcc --diag_suppress=1051 --diag_warning=225 --unaligned_access=on --enum_type=int --abi=eabi --signed_chars -z -m"Teller-ExEl-EDS.map" -i"C:/ti/lib" -i"C:/ti/include" -i"C:/ti/ndk_2_25_01_11/packages/ti/ndk/nettools/lib/sntp.aea8fnv" --reread_libs --warn_sections --xml_link_info="Teller-ExEl-EDS_linkInfo.xml" --rom_model'
<Linking>
...
The file C:/ti/ndk_2_25_01_11/packages/ti/ndk/nettools/lib/sntp.aea8fnv does exist in the proper location:
C\>dir C:\ti\ndk_2_25_01_11\packages\ti\ndk\nettools\lib\sntp.aea8fnv
Volume in drive C has no label.
Directory of C:\ti\ndk_2_25_01_11\packages\ti\ndk\nettools\lib
04/17/2017 10:19 AM 256,942 sntp.aea8fnv
What am I missing here?