11-19-2007 02:56 AM
hello,Mr Michael
The error aboved is solved,but the new linking error appeared as follows:
Linking error:
lvEmbeddedMain.o:lvEmbeddedMain.c:(.text+0x49): undefined reference to `_LV_unix_init'
lvEmbeddedMain.o:lvEmbeddedMain.c:(.text+0x4e): undefined reference to `_LVCGenRTInit'
lvEmbeddedMain.o:lvEmbeddedMain.c:(.text+0x83): undefined reference to `_LVCGenRTRunTopLevelVI'
lvEmbeddedMain.o:lvEmbeddedMain.c:(.text+0xa1): undefined reference to `_LVCGenRTEnd'
lvEmbeddedMain.o:lvEmbeddedMain.c:(.text+0xa6): undefined reference to `_LV_unix_fini'
test.o:test.c:(.text+0xc4): undefined reference to `_RunVI'
collect2: ld returned 1 exit status
I don't know how to define the function in the target.
thank you!
lianzi
11-19-2007 10:07 AM
11-21-2007 03:04 AM
11-26-2007 03:01 PM
11-29-2007 07:30 AM
11-29-2007 02:13 PM
11-29-2007 08:37 PM
Hello,Michael
The linker is "-g -m5307 -lc -lpthread -lgcc -lm -lstdc++"
11-30-2007 10:32 AM
12-01-2007 07:26 PM
12-04-2007 01:24 AM