VxWorks TCF Agent [message #23411] |
Wed, 21 May 2008 08:25 |
Karun Saraswat Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Hello,
I am new to eclipse TM project and to Vxworks as well.I am trying to build
TCF target agent for VxWorks but facing some compilation issues. Can
anybody help me what all need to done for porting TCF agent on VxWorks?
What i understood from getting started tutorial of TCF is that i have to
compile code as Kernel Module, Should i assume that agent has already been
ported on VxWorks and i donn have to make any change?
Compilation error ( I am using WindRiver Workbench v2.6):
f [ ! -d "`dirname
"VxWrkKM_Test/Debug/Objects/VxWrkKM_Test/breakpoints.o"`" ]; then mkdir -p
"`dirname "VxWrkKM_Test/Debug/Objects/VxWrkKM_Test/breakpoints.o"`";
fi;echo "building VxWrkKM_Test/Debug
/Objects/VxWrkKM_Test/breakpoints.o"; dcc -g -tX86LH:vxworks64
-W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only
-Xforce-declarations -Xmake-dependency=0xd
-IC:/WindRiver/vxworks-6.4/targe
t/h -IC:/WindRiver/vxworks-6.4/target/h/wrn/coreip -DCPU=SIMNT
-DTOOL_FAMILY=diab -DTOOL=diab -D_WRS_KERNEL -o
"VxWrkKM_Test/Debug/Objects/VxWrkKM_Test/breakpoints.o" -c
"C:/WindRiver/workspace/s
plus_vxworks_bsp_1.6/splus_vxworks_bsp_1.6/VxWrkKM_Test/brea kpoints.c "
building VxWrkKM_Test/Debug/Objects/VxWrkKM_Test/breakpoints.o
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 57: error (dcc:1633): parse error near 'VXDBG_BP_INFO'
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 57: warning (dcc:1503): missing semi-colon
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 57: warning (dcc:1503): missing semi-colon
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 134: error (dcc:1173): compiler out of sync. Probably missing ';' or
'}'
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 134: error (dcc:1056): illegal function definition
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\context.h ",
line 134: error (dcc:1633): parse error near 'vxdbg_clnt_id'
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 27: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 27: error (dcc:1117): identifier OutputStream not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 34: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 34: error (dcc:1117): identifier InputStream not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 41: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 41: error (dcc:1117): identifier write_string not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 42: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\streams.h ",
line 42: error (dcc:1117): identifier write_stringz not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 22: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 22: error (dcc:1117): identifier PeerServer not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 45: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 45: error (dcc:1117): identifier peer_server_alloc not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 48: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 48: error (dcc:1117): identifier peer_server_addprop not an argument
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 51: error (dcc:1082): illegal storage class
" C:/WindRiver/workspace/splus_vxworks_bsp_1.6/splus_vxworks_b sp_1.6/VxWrkKM_Test\peer.h ",
line 51: fatal error (dcc:1553): too many errors, good bye
C:\WindRiver\vxworks-6.4\host\x86-win32\bin\make.exe: ***
[VxWrkKM_Test/Debug/Objects/VxWrkKM_Test/breakpoints.o] Error 1
Build Failed in Project 'VxWrkKM_Test' (Process Exit Value was 2):
2008-05-21 12:19:49 (Elapsed Time: 00:31)
When i analyzed the source code i found some header file incuded under
macro _WRS_KERNEL which i didnt found in the Windriver include directories
like
<private/vxdbgLibP.h> (in breakpoint.c)
Instead i found dbgLibP.h which in turn include wdb header files. Should I
use WDB library for TCF?
Thanks,
Karun
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds