Hello, On Wed, Feb 03, 2010 at 07:39:54PM -0700, [email protected] wrote: > I'm having difficulties getting Ethercat master software built on a Fedora > 12 system when 'make modules' is invoked. The error message is: > > CC [M] /usr/local/src/ethercat-devel-r1824/master/ethernet.o > /usr/local/src/ethercat-devel-r1824/master/ethernet.c: In function > ec_eoe_init: > /usr/local/src/ethercat-devel-r1824/master/ethernet.c:141: error: struct > net_device has no member named open > /usr/local/src/ethercat-devel-r1824/master/ethernet.c:142: error: struct > net_device has no member named stop > /usr/local/src/ethercat-devel-r1824/master/ethernet.c:143: error: struct > net_device has no member named hard_start_xmit > /usr/local/src/ethercat-devel-r1824/master/ethernet.c:144: error: struct > net_device has no member named get_stats > make[3]: *** [/usr/local/src/ethercat-devel-r1824/master/ethernet.o] Error 1 > make[2]: *** [/usr/local/src/ethercat-devel-r1824/master] Error 2 > make[1]: *** [_module_/usr/local/src/ethercat-devel-r1824] Error 2 > > The system is running Linux 2.6.31.12-174.2.3.fc12.i686, and I've tried > this with both the -r1770 version and -r1824 version from > http://etherlab.org/download/ethercat/ with the same fault. Config was run > with: > $ ./configure --enable-8139too=no --enable-generic=yes
The development version is maintained on SourceForge (see master website), please use the latest version from there. At the time of r1824, there was obviously no support for kernels newer than 2.6.29, because the net_device callback function names changed. > So is there something I'm missing needed to get the generic ethercat > master to build? Is there a newer version I should be using instead (I > looked on Mercurial but it wasn't clear which .bz2 is correct)? The latest version is ok. -- Best regards, Florian Pose http://etherlab.org _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
