Date: Wed, 7 Mar 2018 19:21:17 +0200 (EET) From: =?windows-1251?B?2OXi9+Xt6u4g0uDw4PEgw/Do4+7w/OXi6Pc=?= Message-ID: <1365131872.3062771.1520443277957.JavaMail.zimbra@triolcorp.com.ua> In-Reply-To: References: <193431298.3050958.1520439447908.JavaMail.zimbra@triolcorp.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai] cant compile rtdm module List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Gallagher Cc: xenomai Yes I use UDOO-x86 with pentium n3720 I try to build custom. =20 And i try to build some from kernel - just to be shure thats all correct.(= Maybe it s not right way) but I get the same errors Unfortunately, there is not many examples for x86_64=20 ----- Original Message ----- From: "Greg Gallagher" To: "=D8=E5=E2=F7=E5=ED=EA=EE =D2=E0=F0=E0=F1 =C3=F0=E8=E3=EE=F0=FC=E5=E2= =E8=F7" Cc: "xenomai" Sent: Wednesday, March 7, 2018 7:11:24 PM Subject: Re: [Xenomai] cant compile rtdm module Are you trying to build a custom RTDM module or a built in one? The built in ones can be enabled in the menuconfig stage of the kernel build. What board are you using? UDOO-x86? -Greg On Wed, Mar 7, 2018 at 11:17 AM, =D8=E5=E2=F7=E5=ED=EA=EE =D2=E0=F0=E0=F1 = =C3=F0=E8=E3=EE=F0=FC=E5=E2=E8=F7 wrote: > > Hi, > I can successfully compile and run code with Xenomai api in user space > but if i try to compile rtdm code there is many error > I try to use own code and your example from /kernel/drivers/gpio - output= s below > > please guide me how to compile and run simple rtdm module > > yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ make = V=3D1 > make: *** No targets. Stop. > yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ make = V=3D1 -C /usr/src/linux-headers-4.9.38-xenomai-3.0.5 M=3D$PWD modules > make: Entering directory '/usr/src/linux-headers-4.9.38-xenomai-3.0.5' > test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( = \ > echo >&2; \ > echo >&2 " ERROR: Kernel configuration is invalid."; \ > echo >&2 " include/generated/autoconf.h or include/config/auto.conf are m= issing.";\ > echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."= ; \ > echo >&2 ; \ > /bin/false) > mkdir -p /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tmp_ve= rsions ; rm -f /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tm= p_versions/* > make -f ./scripts/Makefile.build obj=3D/home/yeti/xenoInstall/xenomai-3.0= .5/kernel/drivers/gpio > (cat /dev/null; ) > /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/g= pio/modules.order > make -f ./scripts/Makefile.modpost > find /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tmp_versio= ns -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' |= scripts/mod/modpost -a -i ./Module.symvers -I /home/yeti/xenoInstall/xenom= ai-3.0.5/kernel/drivers/gpio/Module.symvers -o /home/yeti/xenoInstall/xenom= ai-3.0.5/kernel/drivers/gpio/Module.symvers -S -w -s -T - > make: Leaving directory '/usr/src/linux-headers-4.9.38-xenomai-3.0.5' > yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ > _______________________________________________ > Xenomai mailing list > Xenomai@xenomai.org > https://xenomai.org/mailman/listinfo/xenomai