<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@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";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</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=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hallo,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>using the newest available Etherlab version 1.2-rc5 I got following
compiler error:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>make -C "/usr/src/linux" M="/usr/src/etherlab-1.2-rc5/tools/rt_appcore"
\<o:p></o:p></p>
<p class=MsoNormal> V=""
DEFS="-DHAVE_CONFIG_H" \<o:p></o:p></p>
<p class=MsoNormal> RTAI_DIR="/usr/realtime" \<o:p></o:p></p>
<p class=MsoNormal> STAGING_DIR="" \<o:p></o:p></p>
<p class=MsoNormal> RT_APPCORE_SRCS="rt_main.c
app_chardev.c rt_vars.c etl_data_types.c"<o:p></o:p></p>
<p class=MsoNormal>make[4]: Entering directory `/usr/src/linux-2.6.27.19'<o:p></o:p></p>
<p class=MsoNormal> CC [M]
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.o<o:p></o:p></p>
<p class=MsoNormal>/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c: In
function rtp_fio_init_app:<o:p></o:p></p>
<p class=MsoNormal>/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:600:
error: implicit declaration of function class_device_create<o:p></o:p></p>
<p class=MsoNormal>/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:601:
warning: assignment makes pointer from integer without a cast<o:p></o:p></p>
<p class=MsoNormal>/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c: In
function rtp_fio_init:<o:p></o:p></p>
<p class=MsoNormal>/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:781:
warning: assignment makes pointer from integer without a cast<o:p></o:p></p>
<p class=MsoNormal>make[5]: ***
[/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.o] Fehler 1<o:p></o:p></p>
<p class=MsoNormal>make[4]: ***
[_module_/usr/src/etherlab-1.2-rc5/tools/rt_appcore] Fehler 2<o:p></o:p></p>
<p class=MsoNormal>make[4]: Leaving directory `/usr/src/linux-2.6.27.19'<o:p></o:p></p>
<p class=MsoNormal>make[3]: *** [kernel-cflags] Fehler 2<o:p></o:p></p>
<p class=MsoNormal>make[3]: Leaving directory
`/usr/src/etherlab-1.2-rc5/tools/rt_appcore'<o:p></o:p></p>
<p class=MsoNormal>make[2]: *** [all-recursive] Fehler 1<o:p></o:p></p>
<p class=MsoNormal>make[2]: Leaving directory `/usr/src/etherlab-1.2-rc5/tools'<o:p></o:p></p>
<p class=MsoNormal>make[1]: *** [all-recursive] Fehler 1<o:p></o:p></p>
<p class=MsoNormal>make[1]: Leaving directory `/usr/src/etherlab-1.2-rc5'<o:p></o:p></p>
<p class=MsoNormal>make: *** [all] Fehler 2<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>As I found in the forum the depricated function „class_device_create()“
has to be changed to „device_create()“ in new kernel versions. I am
using kernel 2.6.27.19. Is there a new version of etherlab available/planned?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for yout help?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Viktor Rees<o:p></o:p></p>
</div>
</body>
</html>