Hi, sorry for being long to answer.
I have two problems, one for the target server and the other for the debug mode.
In release mode, the executable downloads well and the execution is
good. The error "failed to execute program" comes from
"TargetServer_GetFileSize.vi". The "Match Pattern" box doesn't give the
right information (please see CheckFileSize.JPG). The problem seems to
come from the "file size regex" wire.
Then, if I skip the "checkfilesize" step, the program tries to connect
to the target, but it gives an other error : "Target not found". I set
breakpoints in the "nitargetStartTCPDebug.vi". The ip address seems
good (it's 10.0.0.213 converted in decimal) (please see
TargetNotFound.JPG and Debug.JPG). I wonder if there's a "HOST_IP" to
set in the compile argument or something else.
The other problem is when I try to compile a program in debug mode and instrumented debugging. It gives many errors :
" C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(Debug.o): In
function `SetDataToControl':
../../CCodeGen/libsrc/comms/Debug.c:496: undefined reference to `SetPictFieldValue'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):
In function `DtToSecs':
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:91: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:92: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:94: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:96: undefined reference to `PDAClusterGetElemByPos'
../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:98: undefined reference to `PDAClusterGetElemByPos'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(CCGTimeSupport_unix.o):../../CCodeGen/libsrc/os/unix/CCGTimeSupport_unix.c:100:
more undefined references to `PDAClusterGetElemByPos' follow
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:676: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextExpStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1145: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `NumToTextEngStatic':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1271: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `StrPadLeft':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1407: undefined reference to `StrResize'
C:\Program Files\National Instruments\LabVIEW
8.5\Targets\NI\Embedded\unix\ml403TGTS\libs\libppc405rtd.a(NumText.o):
In function `StrPadRight':
../../CCodeGen/libsrc/blockdiagram/NumText.c:1431: undefined reference to `StrResize'
collect2: ld returned 1 exit status
"
I compiled the program with these arguments : -O0 -g -DCStatic
-DUsesTCPDebugger=1 -DTCPUDPSupport=1 -w -I. -DCHeadless=1 -Dlinux
-fno-strict-aliasing -fno-common -fomit-frame-pointer
and the run time librairies with : -DCHeadless=1 -DNoFileSupport
-DSocketSupport=1 -DTCPUDPSupport=1 -DCStatic -DUsesTCPDebugger=1
-D_Include_Scheduler -D_Include_OSScheduler -DPosixFiles=0
-DFileSupport=0 -DDatalogSupport=0 -DPalm5Earlier=0 -Wall -Dlinux
-D_LIB -fno-strict-aliasing -fno-common -fomit-frame-pointer -Wa,-Wa,
-Wno-pointer-sign
Thanks in advance,
françoisp