08-09-2010 02:09 AM
I am trying to build shared library from my project. After some code changes in the end of build process I receive following message: "Error 42 occurred at System Exec.vi. Command was "gcc -shared -g -O2 -fPIC -Wl,-Bsymbolic -I/usr/local/natinst/LabVIEW-2009/cintools ufolib.c /usr/local/natinst/LabVIEW-2009/AppLibs/lvdll.a -o ufolib.so /usr/local/lib/liblvrtdark.so.9.0"
The problem is probably related to System Exec.vi, because if I execute any vi with it, I receive error 42. Before starting build process System Exec runs successfully.
08-10-2010 09:44 AM
Hi Tabinin,
Are you still getting this error? And you said that the error happens everytime you use the System Exec.vi, have you tried using it with different commands or the same commands?
08-12-2010 01:58 AM
I have tried different commands with System Exec, always with error result. But I probably find a solution for my situation. The problem appear after failure in DAQ operations in my program. Rebooting a PC has no affect. After changing some DAQ parameters and successfully running the program in LabVIEW, I could build the library!
08-13-2010 09:38 AM
Which DAQ parameter are you changing? Could you post an example? Any additional information would help.