[etherlab-users] Make Module Errors

David Jiménez Mejías david.jimenez at gtc.iac.es
Fri Oct 16 12:02:41 CEST 2015


Sorry for the reply before, don't take it on care. All just done correctly.

Thanks

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-
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




-----Original Message-----
From: Patrick Brünn <P.Bruenn at beckhoff.com>
To: David Jiménez Mejías <david.jimenez at gtc.iac.es>, 
"etherlab-users at etherlab.org" <etherlab-users at etherlab.org>
Date: Fri, 16 Oct 2015 09:44:31 +0000
Subject: RE: [etherlab-users] Make Module Errors

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:etherlab-users-bounces at etherlab.org] On Behalf 
Of David Jiménez Mejías
Sent: Freitag, 16. Oktober 2015 10:33
To: etherlab-users at etherlab.org
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: 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


Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans 
Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075


----------
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/7aa8bfd2/attachment-0004.htm>


More information about the Etherlab-users mailing list