After upgrading my Fedora from 10 to 13, and LabView to 2009, LabView will no longer load a DLL for use with Call Library Function if that DLL is compiled with any compiler optimizations turned on. If the DLL is compiled with -O0, then it works fine (but too slowly). I get the cryptic and unhelpful "LabVIEW: File not found. The file might have been moved ..." error message whenever I try to select the optimized DLL.
The DLL is built with both -m32 and -rdynamic. It links fine against a test C program. Tried upgrading to LabView 2010 - did not help.
Anyone got some hints as to what to try? Thank you in advance 🙂