All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
Date: Thu, 22 Mar 2012 20:20:20 +0200	[thread overview]
Message-ID: <20120322182019.GA3380@tarshish> (raw)
In-Reply-To: <CABpopuEsZ1_YG1MHVZeLMp2M9wrhfu9sH+uJWiOO++=fWLA64g@mail.gmail.com>

Hi Alex,

On Thu, Mar 22, 2012 at 08:54:29PM +0300, alex n wrote:
> 2012/3/22, Yegor Yefremov <yegor_sub1@visionsystems.de>:
> > 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 -

  reply	other threads:[~2012-03-22 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 20:23 [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required alex n
2012-03-22 10:50 ` Yegor Yefremov
2012-03-22 17:54   ` alex n
2012-03-22 18:20     ` Baruch Siach [this message]
2012-03-22 18:57       ` alex n
2012-03-22 18:06   ` alex n

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120322182019.GA3380@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.