Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
@ 2012-03-21 20:23 alex n
  2012-03-22 10:50 ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: alex n @ 2012-03-21 20:23 UTC (permalink / raw)
  To: buildroot

Hi,

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.

Thanks,
Alex.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
  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:06   ` alex n
  0 siblings, 2 replies; 6+ messages in thread
From: Yegor Yefremov @ 2012-03-22 10:50 UTC (permalink / raw)
  To: buildroot

Am 21.03.2012 21:23, schrieb alex n:
> Hi,
> 
> 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?

Best regards,
Yegor

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
  2012-03-22 10:50 ` Yegor Yefremov
@ 2012-03-22 17:54   ` alex n
  2012-03-22 18:20     ` Baruch Siach
  2012-03-22 18:06   ` alex n
  1 sibling, 1 reply; 6+ messages in thread
From: alex n @ 2012-03-22 17:54 UTC (permalink / raw)
  To: buildroot

2012/3/22, Yegor Yefremov <yegor_sub1@visionsystems.de>:
> Am 21.03.2012 21:23, schrieb alex n:
>> Hi,
>>
>> 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?

Thanks,
Alex.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
  2012-03-22 10:50 ` Yegor Yefremov
  2012-03-22 17:54   ` alex n
@ 2012-03-22 18:06   ` alex n
  1 sibling, 0 replies; 6+ messages in thread
From: alex n @ 2012-03-22 18:06 UTC (permalink / raw)
  To: buildroot

2012/3/22, Yegor Yefremov <yegor_sub1@visionsystems.de>:
> Am 21.03.2012 21:23, schrieb alex n:
>> Hi,
>>
>> 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?

I use external toolchain codesourcery
arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu for arm926t
architecture.

Thanks,
Alex.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
  2012-03-22 17:54   ` alex n
@ 2012-03-22 18:20     ` Baruch Siach
  2012-03-22 18:57       ` alex n
  0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach @ 2012-03-22 18:20 UTC (permalink / raw)
  To: buildroot

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 -

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] bluez-utils 4.98 Configuring: error: D-Bus library is required
  2012-03-22 18:20     ` Baruch Siach
@ 2012-03-22 18:57       ` alex n
  0 siblings, 0 replies; 6+ messages in thread
From: alex n @ 2012-03-22 18:57 UTC (permalink / raw)
  To: buildroot

2012/3/22, Baruch Siach <baruch@tkos.co.il>:
>> >>> 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

Hi Baruch,

You are right if I use arm-2009q1 instead arm-2007q1 bluez is compiled
without any error.s

Thanks,
Alex.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-22 18:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-03-22 18:57       ` alex n
2012-03-22 18:06   ` alex n

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox