Hi,
i installed the pdserver successful and recompile / run the test1.cpp while connecting tho the test_manager. I have a RT preeamt program and need this file in c. Can anyone help me making it run!?

gcc -Wall -o t2 test1.c -L/usr/local/lib/i386-linux-gnu/ -lpdserv -I/usr/local/include/


test1.c: In function ‘copy_param’:
test1.c:50:23: error: parameter name omitted
 int copy_param(struct pdtask *, const struct pdvariable *,
                       ^
test1.c:50:46: error: parameter name omitted
 int copy_param(struct pdtask *, const struct pdvariable *,
                                              ^
test1.c:53:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
     memcpy(dst, src, len);
     ^
test1.c: In function ‘clear_event’:
test1.c:63:31: error: parameter name omitted
 void clear_event(const struct pdevent* /*event*/, size_t /*index*/,
                               ^
test1.c:63:31: error: parameter name omitted
test1.c:64:9: error: parameter name omitted
         char /*state*/, void * /*priv_data*/)
         ^
test1.c:64:9: error: parameter name omitted
test1.c: In function ‘main’:
test1.c:72:23: error: ‘program_invocation_short_name’ undeclared (first use in this function)
         pdserv_create(program_invocation_short_name, "1.0", gettime);
                       ^
test1.c:72:23: note: each undeclared identifier is reported only once for each function it appears in




---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz 
ist aktiv.
http://www.avast.com

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to