This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/AM6548: Getting errors for "strlcpy" and multiple std lib functions for C/C++.

Part Number: AM6548


Tool/software: TI C/C++ Compiler

Getting errors for "strlcpy" and multiple std lib functions for C/C++. 

Using toolchain: aarch64 latest toolchain from TI. It does not support libbsd for now. so Could not find BSD folder inside include directory for toolchain. 

Please add the support for bsd libraries so that different thirdparty components like net-snmp can be compiled.

  • I presume you use the GCC ARM compiler from Linaro that ships with Code Composer Studio.  Here is a typical directory path for this compiler ...

    C:\ti\ccs930\ccs\tools\compiler\gcc-arm-none-eabi-7-2017-q4-major-win32

    It does not have any BSD libraries.  But I used the names utility arm-none-eabi-nm to search the libraries it has for the function strlcpy.  I found that all the libc.a libraries supply it.

    Thanks and regards,

    -George

  • Thanks for your reply. I will try this and check if the required library is working.