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.

log10sp_i() linker error

Other Parts Discussed in Thread: MATHLIB, TMS320C6678

When I use the log10sp_i() function from C:\ti\mathlib_c66x_3_0_1_1\lib\mathlib.ae66 in my application, I get the following linker error:

<Linking>

 

 undefined first referenced

  symbol       in file    

 --------- ----------------

 logtable  ./main.obj     

 

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "igain.out" not built

 

>> Compilation failure

gmake: *** [igain.out] Error 1

gmake: Target `all' not remade because of errors.

 

**** Build Finished ****

From TI technical staff:

You’re right, this seems to be broken. I see logtable being defined in c:\TI\mathlib_c66x_3_1_0_0\packages\ti\mathlib\src\common\tables.c and the tables.c is explicitly included in the log10sp test project. The log10sp() function is implemented in assembly and assembly code contains own log table, such that it does not use the one defined in tables.c. This explains why it works for you.

The mathlib.ae66 archive does not contain tables.o66 object.

It appears that the mathlib.ae66 library is missing object files. When will this be fixed?