[etherlab-users] newbie qustions
Sergej Stepanov
Sergej.Stepanov at ids.de
Fri Feb 8 14:19:41 CET 2008
Hello!
I am new here.
And my questions because of some problems with cross compiling for ppc.
I thing, it is possible the EtherCAT-stack to cross compile. Is not it?
Well, the second question: is it possible to compile it with 2.6.24?
Messages i got:
CC [M] /home/foo/devel/ethercat-1.3.2/master/module.o
/home/foo/devel/ethercat-1.3.2/master/module.c:64: warning: 'main' is usually a function
/home/foo/devel/ethercat-1.3.2/master/module.c: In function 'ec_init_module':
/home/foo/devel/ethercat-1.3.2/master/module.c:110: error: too few arguments to function 'kobject_init'
/home/foo/devel/ethercat-1.3.2/master/module.c:118: error: too few arguments to function 'kobject_add'
make[3]: *** [/home/foo/devel/ethercat-1.3.2/master/module.o] Fehler 1
OR
CC [M] /home/foo/devel/ethercat-1.3.2/master/master.o
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_init':
/home/foo/devel/ethercat-1.3.2/master/master.c:196: error: too few arguments to function 'kobject_init'
/home/foo/devel/ethercat-1.3.2/master/master.c:206: error: too few arguments to function 'kobject_add'
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_thread_stop':
/home/foo/devel/ethercat-1.3.2/master/master.c:371: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c:371: error: (Each undeclared identifier is reported only once
/home/foo/devel/ethercat-1.3.2/master/master.c:371: error: for each function it appears in.)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_send_datagrams':
/home/foo/devel/ethercat-1.3.2/master/master.c:618: warning: passing argument 1 of '__swab16s' from incompatible pointer type
/home/foo/devel/ethercat-1.3.2/master/master.c:619: warning: passing argument 1 of '__swab16s' from incompatible pointer type
/home/foo/devel/ethercat-1.3.2/master/master.c:628: warning: passing argument 1 of '__swab16s' from incompatible pointer type
/home/foo/devel/ethercat-1.3.2/master/master.c:639: warning: passing argument 1 of '__swab16s' from incompatible pointer type
/home/foo/devel/ethercat-1.3.2/master/master.c:668: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_idle_thread':
/home/foo/devel/ethercat-1.3.2/master/master.c:843: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_operation_thread':
/home/foo/devel/ethercat-1.3.2/master/master.c:896: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_eoe_run':
/home/foo/devel/ethercat-1.3.2/master/master.c:1200: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ec_master_prepare':
/home/foo/devel/ethercat-1.3.2/master/master.c:1232: error: 'cpu_khz' undeclared (first use in this function)
/home/foo/devel/ethercat-1.3.2/master/master.c: In function 'ecrt_master_receive':
/home/foo/devel/ethercat-1.3.2/master/master.c:1485: error: 'cpu_khz' undeclared (first use in this function)
Thank you for any advice.
Best regards.
--
Dipl.-Ing. Sergej Stepanov
Software-Entwicklung
IDS GmbH
E-PA (Entwicklung - Prozess Automatisierung)
Nobelstr. 18,
D-76275 Ettlingen
T. (0) 72 43/2 18-615
F. (0) 72 43/2 18-100
E. Sergej.Stepanov at ids.de
<http://www.ids.de>
Geschäftsführer: Norbert Wagner, Friedrich Abriß
Sitz der Gesellschaft: Ettlingen
Amtsgericht Mannheim HRB 362503
More information about the Etherlab-users
mailing list