<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY> <FONT face=Arial><FONT size=2>Hello,</FONT></FONT>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial><FONT size=2>I'm a etherlab
newbie and I'm trying to get the etherlab c-api running. I've installed Rtai,
ethercat and etherlab and tried to make the app_main.c example, but I get
following error:</FONT></FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial><FONT size=2>make: Circular
my-app.xml <- .linted dependency dropped.<BR>xmllint --schema
//opt/etherlab/capi/rt_application.xsd my-app.xml > .linted<BR>my-app.xml
validates<BR>make -C /usr/src/linux-headers-2.6.23.17-rtai-3.6.2
M=/home/demo/ethercat/capi/skel Makefile<BR>make[1]: Entering directory
`/usr/src/linux-headers-2.6.23.17-rtai-3.6.2'<BR>make[1]: `Makefile' is up to
date.<BR>make[1]: Leaving directory
`/usr/src/linux-headers-2.6.23.17-rtai-3.6.2'<BR>make -C
/usr/src/linux-headers-2.6.23.17-rtai-3.6.2 M=/home/demo/ethercat/capi/skel
modules<BR>make[1]: Entering directory
`/usr/src/linux-headers-2.6.23.17-rtai-3.6.2'<BR>/usr/bin/xsltproc --stringparam
header_type param
\<BR>
//opt/etherlab/capi/header.xsl /home/demo/ethercat/capi/skel/my-app.xml |
> /home/demo/ethercat/capi/skel/param.h<BR>/usr/bin/xsltproc --stringparam
header_type signal
\<BR>
//opt/etherlab/capi/header.xsl /home/demo/ethercat/capi/skel/my-app.xml |
> /home/demo/ethercat/capi/skel/signal.h<BR>/usr/bin/xsltproc
//opt/etherlab/capi/application_defines.h.xsl
/home/demo/ethercat/capi/skel/my-app.xml | >
/home/demo/ethercat/capi/skel/application_defines.h<BR> CC [M]
/home/demo/ethercat/capi/skel/app_main.o<BR>/usr/bin/xsltproc
//opt/etherlab/capi/data.c.xsl /home/demo/ethercat/capi/skel/my-app.xml |
> /home/demo/ethercat/capi/skel/data.c<BR> CC [M]
/home/demo/ethercat/capi/skel/data.o<BR> CC [M]
/home/demo/ethercat/capi/skel/.src/register.o<BR>/home/demo/ethercat/capi/skel/.src/register.c:37:3:
error: #error "must define number of sample times,
NUMST"<BR>/home/demo/ethercat/capi/skel/.src/register.c:46: error: ‘NUMST’
undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:50: error: ‘signal’
undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:53: error: ‘param’
undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:67: error:
‘DECIMATION’ undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:68: error:
‘OVERRUNMAX’ undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:69: error:
‘BUFFER_TIME’ undeclared here (not in a
function)<BR>/home/demo/ethercat/capi/skel/.src/register.c:70: error:
‘STACKSIZE’ undeclared here (not in a function)<BR>make[2]: ***
[/home/demo/ethercat/capi/skel/.src/register.o] Error 1<BR>make[1]: ***
[_module_/home/demo/ethercat/capi/skel] Error 2<BR>make[1]: Leaving directory
`/usr/src/linux-headers-2.6.23.17-rtai-3.6.2'<BR>make: *** [modules] Error
2</FONT></FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial size=2>I suspect the NUMST,
signal, ..<SPAN class=265212012-08042009>.</SPAN> should be defined or
declared in one of the created <SPAN
class=265212012-08042009>application_defines</SPAN>.h<SPAN
class=265212012-08042009>,</SPAN> <SPAN class=265212012-08042009>param.h or
signal.h </SPAN>files, but they have all zero length.</FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial><FONT size=2>Can somebody help
me?</FONT></FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial><FONT size=2>Kind
regards,</FONT></FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT face=Arial><FONT size=2>Marnix De
Lille</FONT></FONT></P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P></BODY></HTML>