get_decimal_len wasn't declared in C portion of the code and the symbol was mangled.