Hi David, with Kernel 3.17 the signature of alloc_netdev() changed. A simple patch would be to add “NET_NAME_UNKNOWN” as third parameter.
Regards, Patrick --- From: etherlab-users [mailto:[email protected]] On Behalf Of David Jiménez Mejías Sent: Freitag, 16. Oktober 2015 10:33 To: [email protected] Subject: [etherlab-users] Make Module Errors Hello! I'm working on Ubuntu 14.04 with 3.19 kernel and I would like to install the EtherLab Master on it. I just done correctly ./configure with the generic driver because de kernel 3.19 is not supported by my actual driver (e1000e). make just done correctly too The make module doesn't correctly, I received the next errors: make -C "/usr/src/linux-headers-3.19.0-25-generic" M="/usr/local/src/ethercat-1.5.2" modules make[1]: Entering directory `/usr/src/linux-headers-3.19.0-25-generic' CC [M] /usr/local/src/ethercat-1.5.2/devices/generic.o /usr/local/src/ethercat-1.5.2/devices/generic.c: In function ‘ec_gen_device_init’: /usr/local/src/ethercat-1.5.2/devices/generic.c:152:77: error: macro "alloc_netdev" requires 4 arguments, but only 3 given dev->netdev = alloc_netdev(sizeof(ec_gen_device_t *), &null, ether_setup); ^ /usr/local/src/ethercat-1.5.2/devices/generic.c:152:19: error: ‘alloc_netdev’ undeclared (first use in this function) dev->netdev = alloc_netdev(sizeof(ec_gen_device_t *), &null, ether_setup); ^ /usr/local/src/ethercat-1.5.2/devices/generic.c:152:19: note: each undeclared identifier is reported only once for each function it appears in /usr/local/src/ethercat-1.5.2/devices/generic.c:146:10: warning: unused variable ‘null’ [-Wunused-variable] char null = 0x00; ^ make[3]: *** [/usr/local/src/ethercat-1.5.2/devices/generic.o] Error 1 make[2]: *** [/usr/local/src/ethercat-1.5.2/devices] Error 2 make[1]: *** [_module_/usr/local/src/ethercat-1.5.2] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic' make: *** [modules] Error 2 Does someone know something about this error? Thank you very much Best regards David J.M - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David Jiménez Mejías - Gran Telescopio de Canarias S.A Ingeniero de Operación / Operation Engineer Centro de Astrofísica de La Palma, C.P 38718, Breña Baja S/C de Tenerife / España Email: [email protected]<mailto:[email protected]> Tlf: +34 922 425 720 Fax: +34 922 425 725 ---------- ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.gtc.iac.es/gtc/legal_es.php WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.gtc.iac.es/gtc/legal_es.php Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
