Hi
I have recently tried to create a project where I use mathlib version 3.1.0.0. However when I build the project it fails when linking. It looks like the mathlib.ae66 library is missing symbol that it needs in order to link propperly. This is the error message:
...
'Building target: UseMathlib.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" --abi=eabi -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"UseMathlib.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="UseMathlib_linkInfo.xml" --rom_model -o "UseMathlib.out" -l"./configPkg/linker.cmd" "./main.obj" -l"libc.a" -l"C:/ti/mathlib_c66x_3_1_0_0/packages/ti/mathlib/lib/mathlib.ae66"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
logtable ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "UseMathlib.out" not built
When browsing the mathlib source code i can find the source code that defines logtable in the src/common/tables.c file. However using the nm6x and ar6x tool I can verify that this source code is not a part of the mathlib.ae66 file.
Is it by intention that the content of src/common/tables.c is missing from the mathlib.ae66 file?
Here is a small example project that reproduces the linker error:
8311.4760.UseMathlib.tar.gz