<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;">Hi Richa<span>rd,</span></p>
<p style="margin: 0px;"><span> </span></p>
<p style="margin: 0px;"><span>thank you for your support, you helped me a lot.</span></p>
<p style="margin: 0px;"><span><br />
</span></p>
<p style="margin: 0px;"><span>rcetherlab didn't start at boot because I forgot to set the math-flag in rtai-config file.</span></p>
<p style="margin: 0px;"><span>Module rtai_math.ko did not exist.</span></p>
<p style="margin: 0px;"><span>Now it works!<br />
</span></p>
<p style="margin: 0px;"><span><br />
</span></p>
<p style="margin: 0px;"><span>Thomas</span></p>
<p style="margin: 0px;"><span><br />
</span></p>
<div style="margin: 5px 0px 5px 0px;">
Richard Hacker <ha@igh-essen.com> hat am 11. Februar 2011 um 13:36 geschrieben:<br />
<br />
> Hi,<br />
><br />
> On Friday 11 February 2011 10:29:01 Thomas Specker wrote:<br />
> > Hello,<br />
> ><br />
> > I try to build a kernel module with Etherlab and Matlab/Simulink, but I<br />
> > have some problems with it.<br />
> > I can build a module, but I get an error trying insmod it.<br />
> ><br />
> > I checked the compiler versions, but they seem to match.<br />
> ><br />
> > While the build is running I get different errors and warnings.<br />
> ><br />
> > The first error looks like that....<br />
> ><br />
> > gmake[1]: Betrete Verzeichnis '/usr/src/linux-2.6.28.7'<br />
> > test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( <br />
> > \ echo; \<br />
> > echo " ERROR: Kernel configuration is invalid."; \<br />
> > echo " include/linux/autoconf.h or include/config/auto.conf are<br />
> > missing."; \<br />
> > echo " Run 'make oldconfig && make prepare' on kernel src to<br />
> > fix it."; \<br />
> > echo; \<br />
> > /bin/false)<br />
> I think that you do not have a clean installation. Please configure your<br />
> system as documented.<br />
><br />
> ><br />
> > I have no idea why the KERNEL configuration should be invalid, the<br />
> > rtai-kernel is running fine,<br />
> > ethercat is running and I can also load the ethercat-rtai-example-module.<br />
> > autoconf.h and auto.conf are both in the expectet directories.<br />
> ><br />
> > then I get a lot of warnings....<br />
> ><br />
> > WARNING: "ecrt_master_receive"<br />
> > [/opt/etherlab/rtw/etherlab/etherlab_test_etl_rtw/etherlab_test_kmod.ko]<br />
> > undefined!<br />
> > ...<br />
> > WARNING: modpost: Found 6 section mismatch(es).<br />
> Please ignore these warnings<br />
><br />
> > insmod: error inserting 'etherlab_test_kmod.ko': -1 Unknown symbol in<br />
> > module<br />
> ><br />
> > dmesg says...<br />
> ><br />
> > [ 3778.154227] etherlab_test_kmod: Unknown symbol stop_rt_app<br />
> > [ 3778.155568] etherlab_test_kmod: Unknown symbol rt_var_exit<br />
> > [ 3778.167379] etherlab_test_kmod: Unknown symbol start_rt_app<br />
> Maybe ther etherlab subsystem is not started:<br />
> rcethercat start<br />
> rcetherlab start<br />
><br />
> - Richard<br />
><br />
> --<br />
> ------------------------------------------------------------------------<br />
><br />
> Richard Hacker Amtsgericht Essen HRB 11500 <br />
> Ingenieurgemeinschaft IgH USt-Id.-Nr.: DE 174 626 722<br />
> Ges. für Ingenieurleistungen mbH Geschäftsführung: <br />
> Heinz-Baecker-Str. 34 Dr.-Ing. S. Rotthäuser <br />
> D-45356 Essen Dr.-Ing. T. Finke <br />
> Tel.: +49 201 / 36014-16 Dr.-Ing. W. Hagemeister <br />
> Fax.: +49 201 / 36014-14 Tel.: +49 201 / 360-14-0 <br />
> richard.hacker@igh-essen.com http://www.igh-essen.com <br />
><br />
> ------------------------------------------------------------------------
</div>
</body>
</html>