Hi,
If you are getting errors related to trig functions in the linking stage, you can try compiling with the optimization option set to /O1 (change /Ob2 in variable COPTS to /O1). See this post for details: Results comparison ADAMS and FAST
Regards,