Hello Oliver,

please notice, the generic driver is only available under ethercat master
V1.5.
You can get the actual version under
http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster/archive/tip.tar.bz2

To your error message
It seems that your header files aren't configured.
Please install the configured headers for your kernel.

Greatings

Andreas



Am Tuesday 14 September 2010 13:18:29 schrieb oliver.ha...@semikron.com:
Hello Andreas,

I hope the mail is automatically included in the mailinglist by
answering.
Thanks a lot, the configure file runs.
Continuing the INSTALL instructions causes some errors.

$ make all modules

(...)
/home/llw/Software/ethercat-master-1.4.0/master/master.h:41:27: error:
asm/semaphore.h: Datei oder Verzeichnis nicht gefunden
/home/llw/Software/ethercat-master-1.4.0/master/device.c: In function
'ec_device_open':
/home/llw/Software/ethercat-master-1.4.0/master/device.c:213: error:
'struct net_device' has no member named 'open'
/home/llw/Software/ethercat-master-1.4.0/master/device.c: In function
'ec_device_close':
/home/llw/Software/ethercat-master-1.4.0/master/device.c:238: error:
'struct net_device' has no member named 'stop'
/home/llw/Software/ethercat-master-1.4.0/master/device.c: In function
'ec_device_send':
/home/llw/Software/ethercat-master-1.4.0/master/device.c:287: error:
'struct net_device' has no member named 'hard_start_xmit'
make[3]: *** [/home/llw/Software/ethercat-master-1.4.0/master/device.o]
Fehler 1
make[2]: *** [/home/llw/Software/ethercat-master-1.4.0/master] Fehler
2
make[1]: *** [_module_/home/llw/Software/ethercat-master-1.4.0] Fehler
2
make: *** [modules] Fehler 2

If the #include<asm/semaphore.h> is changed into
#include<linux/semaphore.h>
the first error doesen't occur anymore. Even though the net_device
structure
is explained in the documentation, I dont know how to deal with the
other
errors. Any idea?

Regards
Oliver

IMPORTANT NOTICE - The contents of this email and attachments are
confidential. If you are not the intended recipient you must not use,
copy, distribute or rely on this email and should please return it
immediately or notify us by telephone. While we take every reasonable
precaution to screen out computer viruses from emails, attachments to
this email may contain such viruses. We cannot accept liability for loss
or damage resulting from such viruses. The integrity of email across
the Internet cannot be guaranteed and SEMIKRON will not accept liability
for any claims arising as a result of the use of this medium for
transmissions by or to SEMIKRON.



--

------------------------------------------------------------------------

Dipl.-Ing. Andreas Stewering-Bone            Amtsgericht Essen HRB 11500
Ingenieurgemeinschaft IgH                    USt-Id.-Nr.: DE 174 626 722
Gesellschaft für Ingenieurleistungen mbH     Geschäftsführung:
Heinz-Bäcker-Str. 34                         Dr.-Ing. S. Rotthäuser
D-45356 Essen                                Dr.-Ing. T. Finke
Tel.: +49 201 / 360-14-15                    Dr.-Ing. W. Hagemeister
Fax.: +49 201 / 360-14-14                    Tel.: +49 201 / 360-14-0
andreas.stewering-b...@igh-essen.com         http://www.igh-essen.com

------------------------------------------------------------------------


_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to