08-14-2008 12:52 AM
Hello
I have a LabWindows CVI program that I am working on that gives me a "Project Link Error: Undefined symbol "_read_data" in file xyz. The read_data variable is defined as an extern variable in that file, and is defined as a static unsigned variable in another file in the same project.
I have another similar project (files are mostly the same, and the above "xyz" file is exactly the same) which does not give me the linking error.
How do I find out what the linking error actually is. Any help will be appreciated.
Thanks
Ajit
08-14-2008 01:36 AM
Hi,
if the read_data variable is a global in your file, you can't use extern read_data because the variable is limited to the file where it is defined.
Check your second project if this variable is set to static or not.