[etherlab-users] Make Module Errors

David Jiménez Mejías david.jimenez at gtc.iac.es
Fri Oct 16 10:32:46 CEST 2015


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: david.jimenez at gtc.iac.es
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20151016/ed1ac7e4/attachment-0002.htm>


More information about the Etherlab-users mailing list