<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Roman,</p>
<p>the modules are installed into "/lib/modules/${version}". Your kernel doesn't match the configured kernel (4.4.0-21-generic) so all you might have to do is to call ./configure (with all options needed by your application) and make again.</p>
<p>The directory "/etc/sysconfig" is where the ethercat config is put on RedHat based Linux distributions. On Debian based distributions like Mint you may put it into "/etc/default" or just make a "/etc/sysconfig". If you don't put it into sysconfig you have
to alter ETHERCAT_CONFIG in the init.d script.</p>
Best Regards,<br>
Christoph<br>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/12/2016 12:10 PM, Roman Thiessen wrote:<br>
</div>
<blockquote cite="mid:000501d25468$613f5c40$23be14c0$@tecodrive.com" type="cite">
<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]-->
<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_<a class="moz-txt-link-freetext" href="file:no">file:no</a> 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_<a class="moz-txt-link-freetext" href="file:no">file:no</a> 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_<a class="moz-txt-link-freetext" href="file:no">file:no</a> 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 style="font-size:10.0pt;font-family:"Courier
New";mso-fareast-language:DE" lang="EN">Roman</span><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
etherlab-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.etherlab.org/mailman/listinfo/etherlab-users">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a>
</pre>
</blockquote>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH<br>
<br>
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.<br>
<br>
Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher<br>
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking<br>
<br>
Sitz Berlin, AG Charlottenburg, 89 HRB 5583<br>
<br>
Postadresse:<br>
Hahn-Meitner-Platz 1<br>
D-14109 Berlin<br>
<br>
http://www.helmholtz-berlin.de<br>
</font>
</body>
</html>