5 Replies Latest reply on Sep 8, 2016 12:49 PM by JacobT_81

    Strange linker error

    user_497826660

      I want to include a simple fixed point math header file. It has no additional includes and you only have to specify if the system has 128bit integer support. However, using certain functions causes the linker to throw the following error:

       

      "undefined reference to '__aeabi_ldivmod'"

       

      We can stop this error if we change any INT64 references in the file to INT32. Of course, if we do this many calculations overflow. I've attached the header file just in case. Is there a known solution to this issue?