RE: Bluez with uclibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

Sure.
As soon as i compile Buildroot deactivating MMU dependencies into Config.in from bluez-utils package such as:

--
config BR2_PACKAGE_BLUEZ_UTILS
	bool "bluez-utils"
	depends on !BR2_avr32
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
	# depends on BR2_USE_MMU # dbus
	select BR2_PACKAGE_DBUS
	select BR2_PACKAGE_LIBGLIB2
	help
	  bluez utils
--

I have got following compilation errors:

--
../dbus/.libs/libdbus-internal.a(libdbus_internal_la-dbus-sysdeps-util-unix.o): In function `_dbus_become_daemon':
dbus-sysdeps-util-unix.c:(.text+0x530): undefined reference to `fork'
../dbus/.libs/libdbus-internal.a(libdbus_internal_la-dbus-spawn.o): In function `_dbus_spawn_async_with_babysitter':
dbus-spawn.c:(.text+0xe38): undefined reference to `fork'
dbus-spawn.c:(.text+0xea0): undefined reference to `fork'
collect2: error: ld returned 1 exit status
make[3]: *** [dbus-daemon] Error 1
make[3]: *** Waiting for unfinished jobs....
../dbus/.libs/libdbus-internal.a(libdbus_internal_la-dbus-sysdeps-util-unix.o): In function `_dbus_become_daemon':
dbus-sysdeps-util-unix.c:(.text+0x530): undefined reference to `fork'
collect2: error: ld returned 1 exit status
make[3]: *** [dbus-daemon-launch-helper] Error 1
--

So, currently, using uclibc for bluez, without MMU activation, I can't compile Buildroot due dBus and the "fork".


Julien


Julien COUVRAND
MOPI - 8540 SWPF Object Leader
------------------------------------------------------------------------------------

Mailto:     11 rue Pierre-Felix Delarue
                    72100 Le Mans -  FRANCE
Office:      +33 2 44 02 71 07
Mobile:    +33 6 03 49 09 04 
Emailto :   julien.couvrand@xxxxxxxxxxxxxx
-------------------------------------------------------------------------------------
This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.


-----Original Message-----
From: Marcel Holtmann [mailto:marcel@xxxxxxxxxxxx] 
Sent: lundi 8 juillet 2013 21:03
To: Julien COUVRAND
Cc: linux-bluetooth@xxxxxxxxxxxxxxx
Subject: Re: Bluez with uclibc

Hi Julien,

> Today, I need to cross compile Bluez for arm with uclibc library into Buildroot environment. 
> However, I meet some dependencies between bluez-utils package and MMU deactivation due to dBus.
> 
> Do you know a way to use Bluez with uclibc library?

you need to be more specific. I know from projects successfully building BlueZ with uclibc in the past, but I am not doing such thing on a daily basis. So things might have changed. What are the logs or errors you see?

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux