synapticon / Etherlab_EtherCAT_Master

Clone of IgH EtherCAT Master with additional Vectioneer patches.
GNU Lesser General Public License v2.1
81 stars 54 forks source link

Fix build for kernel 4.15 #6

Closed vtretyakov closed 6 years ago

vtretyakov commented 6 years ago

This fix doesn't automate the kernel modules signing. During the installation the following error will occur:

  INSTALL /Etherlab_EtherCAT_Master/devices/ec_generic.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
  INSTALL /Etherlab_EtherCAT_Master/examples/mini/ec_mini.ko

This error seams doesn't affect the functionality and all components are being installed.

Update: I realized this error happens in earlier kernels as well, e.g., has been observed in 4.9

zivke commented 6 years ago

I could not make the whole OBLAC Drives work on Ubuntu 18.04 (kernel version 4.15) in a virtual machine for some reason, but the EtherCAT master seems to work with this fix (at least the basic functionality available from the console).