From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Sender: had2006@gmail.com In-Reply-To: References: <54F73E7A.2070100@xenomai.org> <5505B14F.4060107@xenomai.org> <55072D34.1070405@xenomai.org> <550837E2.9050701@xenomai.org> <55083DA4.3080201@xenomai.org> <550850D5.9060207@xenomai.org> <5508600D.4020500@xenomai.org> <550B0626.5090801@xenomai.org> <550B1584.8040309@xenomai.org> <550FF5FB.3090603@xenomai.org> Date: Mon, 23 Mar 2015 12:11:49 +0000 Message-ID: From: Helder Daniel Content-Type: text/plain; charset=UTF-8 Subject: Re: [Xenomai] Xenomai/cobalt: low_init(): binding failed: Function not implemented error issued when trting to run latency app on xeno 3.x-rc3 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: "Xenomai@xenomai.org" But the issue should not be the Xenomai version. With the older version now I am getting the same compilation error. I mean the older next branch Xenomai 3 version On 23 March 2015 at 11:47, Helder Daniel wrote: > PS: I can run also /usr/xenomai/bin/latency > > On 23 March 2015 at 11:47, Helder Daniel wrote: > >> It seems that the Xenomai support was not loaded at boot time: >> >> root@debian:/usr/src# dmesg | grep -i xeno >> [ 1.780077] [Xenomai] scheduling class idle registered. >> [ 1.780077] [Xenomai] scheduling class rt registered. >> [ 1.784077] [Xenomai] init failed, code -19 >> [ 12.612754] *** RTnet for Xenomai v3.0-rc3 *** >> >> I rebooted and now it seems it is loaded: >> >> dmesg | grep -i xeno >> [ 1.048963] [Xenomai] scheduling class idle registered. >> [ 1.048985] [Xenomai] scheduling class rt registered. >> [ 1.049211] I-pipe: head domain Xenomai registered. >> [ 1.070494] [Xenomai] Cobalt v3.0-rc3 (Exact Zero) >> [ 5.453304] *** RTnet for Xenomai v3.0-rc3 *** >> >> But I still get the same compilation error. >> I can compile and run a Xenomai user space app. >> >> I am using a Cobalt setup, kernel 3.16, ipipe patch version >> 3: ipipe-core-3.16-x86-3.patch >> >> root@debian:/usr/src# uname -a >> Linux debian 3.16.0-ipipe #1 SMP Fri Mar 6 14:27:41 WET 2015 x86_64 >> GNU/Linux >> >> root@debian:/usr/xenoami/sbin/version -a >> Xenomai/cobalt v3.0-rc3 -- >> Target: x86_64-unknown-linux-gnu >> Compiler: gcc version 4.9.2 (Debian 4.9.2-10) >> Build args: '--with-core=cobalt' '--enable-registry' '--enable-pshared' >> '--enable-smp' >> >> >> On 23 March 2015 at 11:16, Philippe Gerum wrote: >> >>> On 03/23/2015 11:59 AM, Helder Daniel wrote: >>> > Ok, >>> > >>> > but now I am compiling a module to write for an I/O port (code below) >>> > With the previous version of next branch I can compile it without any >>> > error, insert it check that it is working fine by reading te I/O port >>> > from an user space app, but with this new version, when compiling the >>> > module, I get: >>> > >>> > CC [M] /mnt/hgfs/apps-3.x/10-portAccessSyncKernel/writeportK.o >>> > In file included from include/xenomai/rtdm/driver.h:43:0, >>> > from >>> > /mnt/hgfs/apps-3.x/10-portAccessSyncKernel/writeportK.c:8: >>> > include/xenomai/cobalt/kernel/init.h:24:33: fatal error: >>> > cobalt/uapi/corectl.h: No such file or directory >>> > #include >>> >>> I just checked and the module builds fine ou of tree, using the very >>> same Makefile. Could you check that the kernel you build against is >>> actually prepared with Xenomai sources? >>> >>> -- >>> Philippe. >>> >> >> >> >> -- >> Helder Daniel >> UALG - FCT >> DEEI >> >> http://w3.ualg.pt/~hdaniel >> > > > > -- > Helder Daniel > UALG - FCT > DEEI > > http://w3.ualg.pt/~hdaniel > -- Helder Daniel UALG - FCT DEEI http://w3.ualg.pt/~hdaniel