From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Thu, 22 Mar 2012 20:20:20 +0200 Subject: [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required In-Reply-To: References: <4F6B03EB.1010502@visionsystems.de> Message-ID: <20120322182019.GA3380@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Alex, On Thu, Mar 22, 2012 at 08:54:29PM +0300, alex n wrote: > 2012/3/22, Yegor Yefremov : > > Am 21.03.2012 21:23, schrieb alex n: > >> I'm trying to compile bluez-utils but I get "error: D-Bus library is > >> required" while it configure. D-Bus checked in menuconfig and compiled > >> into /output/build/dbus-1.4.16 succesfully. > >> So how can I fix this error? > >> > >> Buildroot - 2012.02. > > > > Have no problems with compiling bluez-utils. Have you tried make clean; > > make? What architecture you're compiling for? What toolchain? > > > > Thanks, make clean & make solved the problem but I met next error: > > >>> bluez_utils 4.98 Building > .... > src/main.c:36:26: error: sys/signalfd.h: No such file or directory > CC src/bluetoothd-rfkill.o > src/main.c: In function 'signal_handler': > src/main.c:261: error: storage size of 'si' isn't known > make[2]: *** [src/bluetoothd-main.o] Error 1 > .... > make[1]: Leaving directory > `/mnt/SK/ASNEE/BT/buildroot-2012.02/output/build/bluez_utils-4.98' > make: *** [/mnt/SK/ASNEE/BT/buildroot-2012.02/output/build/bluez_utils-4.98/.stamp_built] > Error 2 > > How can I fix the error? The signalfd() system call is only available since kernel version 2.6.22. Your toolchain seems to be based on older kernel headers. So you need to update to a newer toolchain. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -