From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Peevski Date: Fri, 16 Nov 2012 17:53:25 +0200 Subject: [Buildroot] Buildroot fail to build when configure for dev managment: dynamically with udev In-Reply-To: <20121116164504.6270393b@skate> References: <50A65094.7080202@ronetix.at> <50A6539F.8040507@gmail.com> <50A65565.9050001@ronetix.at> <50A6559A.3050300@gmail.com> <20121116164504.6270393b@skate> Message-ID: <50A66175.6090107@ronetix.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 16/11/12 17:45, Thomas Petazzoni wrote: > On Fri, 16 Nov 2012 16:02:50 +0100, Zoltan Gyarmati wrote: > >>> Thanks for the fast response but when I configure Buildroot to use >>> external toolchain the Kernel headers option dissapear. Any other advice? >> yes, in this case it comes from the toolchain itself, sou you have to >> check it in the toolchain. > If Martin is using the external toolchain backend, then he cannot check > anything related to the kernel headers version in the menuconfig. > External toolchains are pre-built toolchains, so Buildroot just uses > them as-is, you have no way of changing the Buildroot version. > > Martin: your external toolchain is using too old kernel headers to > build udev. So your options are: > > *) Use a more recent external toolchain that will have more recent > kernel headers. > > *) Add a patch to udev that defines BTN_TRIGGER_HAPPY to the correct > value when it is not already defined by kernel headers. > > BTW, which external toolchain are you using? > > Thanks, > > Thomas Thanks, Thomas! I use arm-oe-gnueabi- toolchain. Can you explain how to add a patch to udev to correct the problem? I'm afraid of using another toolchain because I compile the Kernel and the rootfs separately.