All of lore.kernel.org
 help / color / mirror / Atom feed
* Build BlueZ 5.50: getting errors
@ 2021-05-12  0:28 Kenny Bian
  2021-05-12  7:11 ` Jamie Mccrae
  0 siblings, 1 reply; 2+ messages in thread
From: Kenny Bian @ 2021-05-12  0:28 UTC (permalink / raw)
  To: linux-bluetooth

We are using BlueZ 5.48 in embedded Ubuntu 18.04. We're trying to
build BlueZ 5.50 for embedded Ubuntu 18.04 because we need the
"Service Changed Indication" feature which was fixed in 5.50. The host
system to build BlueZ is Ubuntu 18.04.

I downloaded the BlueZ 5.50. The CPU on the embedded device is
"Freescale i.MX6 UltraLite". As we need to cross compile the BlueZ, I
suppose we need to use the option "--host=arm-linux-gnueabihf". Is
that the correct option for cross-compilation? Here is the configure
command:
./configure --host=arm-linux-gnueabihf --prefix=/usr
--mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var

But there were errors when we ran the command above:
checking for GLIB... no
configure: error: GLib >= 2.28 is required

So I installed these packages:
sudo apt-get install libglib2.0
sudo apt-get install glib2.0

But I still got the same errors even if the packages above were
installed. It seems GLib is 2.27 for Ubuntu 18.04. If that is the
case, how can I get GLib version 2.28 or above in order to get
configure working?

Thanks in Advance!

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

* RE: Build BlueZ 5.50: getting errors
  2021-05-12  0:28 Build BlueZ 5.50: getting errors Kenny Bian
@ 2021-05-12  7:11 ` Jamie Mccrae
  0 siblings, 0 replies; 2+ messages in thread
From: Jamie Mccrae @ 2021-05-12  7:11 UTC (permalink / raw)
  To: Kenny Bian, linux-bluetooth

HI Kenny
This isn't really a BlueZ question. You would need to either compile the package from source yourself or either just upgrade to a newer version of your distro. The distro version you are using has less than 2 years left of support, why not go with 20.04 LTS instead which has a longer support duration?
Thanks,
Jamie

-----Original Message-----
From: Kenny Bian <kennybian@gmail.com>
Sent: 12 May 2021 01:28
To: linux-bluetooth@vger.kernel.org
Subject: Build BlueZ 5.50: getting errors

EXTERNAL EMAIL: Be careful with attachments and links.

We are using BlueZ 5.48 in embedded Ubuntu 18.04. We're trying to build BlueZ 5.50 for embedded Ubuntu 18.04 because we need the "Service Changed Indication" feature which was fixed in 5.50. The host system to build BlueZ is Ubuntu 18.04.

I downloaded the BlueZ 5.50. The CPU on the embedded device is "Freescale i.MX6 UltraLite". As we need to cross compile the BlueZ, I suppose we need to use the option "--host=arm-linux-gnueabihf". Is that the correct option for cross-compilation? Here is the configure
command:
./configure --host=arm-linux-gnueabihf --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var

But there were errors when we ran the command above:
checking for GLIB... no
configure: error: GLib >= 2.28 is required

So I installed these packages:
sudo apt-get install libglib2.0
sudo apt-get install glib2.0

But I still got the same errors even if the packages above were installed. It seems GLib is 2.27 for Ubuntu 18.04. If that is the case, how can I get GLib version 2.28 or above in order to get configure working?

Thanks in Advance!
THIS MESSAGE, ANY ATTACHMENT(S), AND THE INFORMATION CONTAINED HEREIN MAY BE PROPRIETARY TO LAIRD CONNECTIVITY, INC. AND/OR ANOTHER PARTY, AND MAY FURTHER BE INTENDED TO BE KEPT CONFIDENTIAL. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE DELETE THE EMAIL AND ANY ATTACHMENTS, AND IMMEDIATELY NOTIFY THE SENDER BY RETURN EMAIL. THIS MESSAGE AND ITS CONTENTS ARE THE PROPERTY OF LAIRD CONNECTIVITY, INC. AND MAY NOT BE REPRODUCED OR USED WITHOUT THE EXPRESS WRITTEN CONSENT OF LAIRD CONNECTIVITY, INC.

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

end of thread, other threads:[~2021-05-12  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  0:28 Build BlueZ 5.50: getting errors Kenny Bian
2021-05-12  7:11 ` Jamie Mccrae

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.