[etherlab-users] errors with make modules
dclark at mmto.org
dclark at mmto.org
Thu Feb 4 03:39:54 CET 2010
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
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)?
Regards,
Dusty Clark
MMT Observatory
University of Arizona
--
More information about the Etherlab-users
mailing list