<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Thomas,<br><br>Thank you for your reply,<br><br>I disable the 8139toodriver and enable generic driver then I run make command and after "make" I run "make modules" but it is giving me this error.<br><br>nabeel@ubuntu:~/ethercat-default$ make modules<br><br>make -C "/usr/src/linux-headers-3.8.0-31-generic" M="/home/nabeel/ethercat-default" modules<br>make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic'<br> CC [M] /home/nabeel/ethercat-default/master/cdev.o<br>/home/nabeel/ethercat-default/master/cdev.c: In function ‘ec_cdev_ioctl_slave_sdo_upload’:<br>/home/nabeel/ethercat-default/master/cdev.c:864:13: warning: passing argument 7 of ‘ecrt_master_sdo_upload’ from incompatible pointer type [enabled by default]<br>/home/nabeel/ethercat-default/master/../include/ecrt.h:758:5: note: expected ‘size_t *’ but argument is of type ‘uint32_t *’<br>/home/nabeel/ethercat-default/master/cdev.c: In function ‘eccdev_mmap’:<br>/home/nabeel/ethercat-default/master/cdev.c:3964:22: error: ‘VM_RESERVED’ undeclared (first use in this function)<br>/home/nabeel/ethercat-default/master/cdev.c:3964:22: note: each undeclared identifier is reported only once for each function it appears in<br>make[3]: *** [/home/nabeel/ethercat-default/master/cdev.o] Error 1<br>make[2]: *** [/home/nabeel/ethercat-default/master] Error 2<br>make[1]: *** [_module_/home/nabeel/ethercat-default] Error 2<br>make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-31-generic'<br>make: *** [modules] Error 2<br><br><br>Please help me how can I fix this issue, actually I am new to Ubuntu and EtherCAT that's why I am facing some problems.<br><br>Thank you.<br><br><div><hr id="stopSpelling">From: tbj@automateddesign.com<br>To: hafiz_nabeel91@hotmail.com<br>CC: etherlab-users@etherlab.org<br>Subject: Re: [etherlab-users] configure: error: kernel 3.8 not available for 8139too driver!<br>Date: Tue, 5 Nov 2013 05:07:36 +0000<br><br>
<div>On 3.8, you'll need the generic driver. There's a flag to disable the 8139too driver. It's enabled by default. You'll also need to enable the generic driver. See the PDF manual for all build flags. </div>
<div><br>
</div>
<div>If you want to use a hardware driver (recommended), you'll need to drop down to an earlier kernel. </div>
<div>
<div>
<p class="ecxMsoNormal" style=""> </p>
</div>
<div>(Sent from my mobile device.)</div>
</div>
<div><br>
On Nov 4, 2013, at 10:51 PM, "Muhammad Nabeel" <<a href="mailto:hafiz_nabeel91@hotmail.com">hafiz_nabeel91@hotmail.com</a>> wrote:<br>
<br>
</div>
<blockquote>
<div><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Dear All, Hope you are doing well.<br>
<br>
I am trying to install IgH EtherCAT master in Ubuntu 12.04, but when I run ./configuration it is giving "error configure: error: kernel 3.8 not available for 8139too driver!".
<br>
Do you have any idea how can I fix this problem?<br>
Thank you guys in advance.<br>
<br>
</div>
</div>
</blockquote>
<blockquote>
<div><span>_______________________________________________</span><br>
<span>etherlab-users mailing list</span><br>
<span><a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a></span><br>
<span><a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a></span><br>
</div>
</blockquote></div> </div></body>
</html>