From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5094066F.80501@gmail.com> Date: Fri, 02 Nov 2012 17:44:15 +0000 From: Stefan Videv MIME-Version: 1.0 References: <5092AEB3.2070009@gmail.com> <4b27818deb6c26a74a2ab839cb07f718.squirrel@www.xenomai.org> <5093F975.9060807@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Compiling the Xenomai examples List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On 11/02/2012 05:13 PM, Gilles Chanteperdrix wrote: > Stefan Videv wrote: >> make XENO=/media/rootfs/usr/xenomai/ ARCH=arm-linux-gnueabi- >> KSRC=/media/rootfs/usr/include DESTDIR=/media/rootfs > Should be ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi > and KSRC should be the path to the kernel sources. > Running the above (with the correction) produces the following: sed: can't read /media/rootfs/usr/include/Makefile: No such file or directory make -C /media/rootfs/usr/include SUBDIRS=/home/stefan/xenomai-2.6.1/examples/rtdm/driver-api modules make[2]: Entering directory `/media/rootfs/usr/include' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/media/rootfs/usr/include' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/stefan/xenomai-2.6.1/examples/rtdm/driver-api' sed: can't read /media/rootfs/usr/include/Makefile: No such file or directory make[1]: Entering directory `/home/stefan/xenomai-2.6.1/examples/posix' make -C /media/rootfs/usr/include ARCH=arm CROSS_COMPILE=arm-linux-gnueabi SUBDIRS=/home/stefan/roosenXenomaiBone/xenomai-2.6.1/examples/posix modules make[2]: Entering directory `/media/rootfs/usr/include' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/media/rootfs/usr/include' make[1]: *** [all] Error 2