hello,professor Michael
i know that i should use the arm-elf-gcc complier in the target.in the plug-in VIs i changed it.but when i build it,it occurs many errors as follows:
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\lvEmbeddedMain.c:16:20: stdlib.h: No such file or directory
In file included from D:\program files\labview 8.5\CCodeGen\include\blockdiagram/LVCGenIncludes.h:1,
from E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\lvEmbeddedMain.c:20:
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:6:20: unistd.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:7:19: stdio.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:10:20: assert.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:12:18: time.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:13:22: sys/time.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:15:19: errno.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:16:23: sys/types.h: No such file or directory
D:\program files\labview 8.5\CCodeGen\include\os\unix/LVSysIncludes.h:17:22: sys/stat.h: No such file or directory
In file included from D:\program files\labview 8.5\CCodeGen\include\blockdiagram/LVCGenIncludes.h:3,
from E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\lvEmbeddedMain.c:20:
D:\program files\labview 8.5\CCodeGen\include\blockdiagram/LVCCG.h:247: error: `NULL' undeclared here (not in a function)
In file included from E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\lvEmbeddedMain.c:25:
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: initializer element is not constant
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: (near initialization for `gISRInfoTable[0].viName')
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: initializer element is not constant
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: (near initialization for `gISRInfoTable[0].isrRun')
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: initializer element is not constant
E:\labview test\embedded\labview 8.5\test2\1\Freescale_M5329EVB__uClinux\My_Application\/LVISRList.h:7: error: (near initialization for `gISRInfoTable[0]')
when i make the makefile in the linux,there are also some errors(i have changed the m68k-uclinux-gcc with arm-elf-gcc):
CCGArrSupport2.c
In file included from ../CCodeGen/include/blockdiagram/MemCheck.h:12,
from ../CCodeGen/include/blockdiagram/LVCCG.h:26,
from ../CCodeGen/libsrc/blockdiagram/CCGArrSupport2.c:18:
../CCodeGen/include/blockdiagram/LVCritSect.h:18: Invalid token in expression
In file included from ../CCodeGen/include/comms/CCGCommsSupport.h:7,
from ../CCodeGen/libsrc/blockdiagram/CCGArrSupport2.c:21:
../CCodeGen/include/comms/CCGTcpUdpSupport.h:12: Invalid token in expression
../CCodeGen/include/comms/CCGTcpUdpSupport.h:24: Invalid token in expression
make[1]: *** [obj/dbg/CCGArrSupport2.o] Error 1
make: *** [debug] Error 2
maybe the porblem is the files in the CCodeGen?could you give me some advices,thank you!
lianzi
i like thinking ,i enjoy doing the work.baxia