<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello everybody!<br><br>I use Linux Mint 18 Cinnamon and want to install a module on my 4.4.0-53-generic x86_64 kernel.<br>I try to run Ethercat as discription of instalation in the script, for that I use the command $ sudo make modules_install and get the following error message:<br><br>~/ethercat-1.5.2 $ sudo make modules_install<br>make -C "/usr/src/linux-headers-4.4.0-21-generic" M="/home/ro/ethercat-1.5.2" \<br>INSTALL_MOD_DIR="ethercat" modules_install<br>make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-21-generic“ wird betreten<br>INSTALL /home/ro/ethercat-1.5.2/devices/ec_generic.ko<br>At main.c:222:<br>- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178<br>sign-file: certs/signing_key.pem: No such file or directory<br>INSTALL /home/ro/ethercat-1.5.2/examples/mini/ec_mini.ko<br>At main.c:222:<br>- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178<br>sign-file: certs/signing_key.pem: No such file or directory<br>INSTALL /home/ro/ethercat-1.5.2/master/ec_master.ko<br>At main.c:222:<br>- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175<br>- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178<br>sign-file: certs/signing_key.pem: No such file or directory<br>DEPMOD 4.4.0-21-generic<br>make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-21-generic“ wird verlassen<br><br><br>Here are all programs / libraries, which I have additionally loaded and updated:<br><br>$ sudo apt-get install build-essential libssl-dev libelf-dev libqt4-dev libncurses-dev libncurses5-dev libqt4-dev g++ cpufrequtils libnuma-dev htop samba sysfsutils git rt-tests inxi numactl insserv bin86 kernel-package pkg-config linux-headers-$(uname -r) mercurial<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Also I´ve made some changes in two files:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ethercat-1.5.2/devices/generic.c:<o:p></o:p></p><p class=MsoNormal>                <o:p></o:p></p><p class=MsoNormal style='text-indent:35.4pt'>fixed<o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'>sock_create_kern(&init_net, PF_PACKET, SOCK_RAW, htons(ETH_P_ETHERCAT),<o:p></o:p></p><p class=MsoNormal>                              &dev->socket);<o:p></o:p></p><p class=MsoNormal style='text-indent:35.4pt'>original Z215,SP.11<o:p></o:p></p><p class=MsoNormal>                               ret = sock_create_kern(PF_PACKET, SOCK_RAW, htons(ETH_P_ETHERCAT),<o:p></o:p></p><p class=MsoNormal>                              &dev->socket);<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:35.4pt'>fixed<o:p></o:p></p><p class=MsoNormal>                               dev->netdev = alloc_netdev(sizeof(ec_gen_device_t *), &null, NET_NAME_UNKNOWN, ether_setup);<o:p></o:p></p><p class=MsoNormal style='text-indent:35.4pt'>original Z152<o:p></o:p></p><p class=MsoNormal>                               dev->netdev = alloc_netdev(sizeof(ec_gen_device_t *), &null, ether_setup)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ethercat-1.5.2/master/ethernet.c<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:35.4pt'>fixed<o:p></o:p></p><p class=MsoNormal>                               if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, NET_NAME_UNKNOWN, ether_setup))) {<o:p></o:p></p><p class=MsoNormal style='text-indent:35.4pt'>original Z151<o:p></o:p></p><p class=MsoNormal>                               if (!(eoe->dev = alloc_netdev(sizeof(ec_eoe_t *), name, ether_setup))) {<o:p></o:p></p><p class=MsoNormal><br><br>Also in my version the path /etc/sysconfig/ doesn´t exist. Which path I have to use after modules_install is working? I would be grateful for any help!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DE'>Roman</span><o:p></o:p></p></div></body></html>