#1 Oct. 10, 2018 13:51:02

dspatel
Registered: 2018-10-10
Posts: 3
Profile   Send e-mail  

LWB5 : Building and Installing the Bluetooth Drivers

Hi Support Team,

We are trying to Building and Installing the Bluetooth Drivers as mentioned steps in the Integrating the Laird Sterling-LWB with NXP i.MX6 UltraLite on Linux document section6.7. We are working with imx8 platform and kernel version is 4.9.88.

We are facing the following issue:
root@AHMCPU2243:brcm_patchram-brcm_patchramv1.0# make
aarch64-poky-linux-gcc –sysroot=/home/einfochips/NXP/IMX8/RD/Darshak/nxp_new/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8qxpmek-poky-linux/fsl-image-
qt5/1.0-r0/recipe-sysroot -Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed brcm_patchram_plus.o -lbluetooth -o brcm_patchram_plus
/home/einfochips/NXP/IMX8/RD/Darshak/nxp_new/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8qxpmek-poky-linux/fsl-image-qt5/1.0-r0/recipe-sysroot-native/u
sr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld: cannot find -lbluetooth
collect2: error: ld returned 1 exit status

<builtin>: recipe for target ‘brcm_patchram_plus’ failed
make: *** Error 1
root@AHMCPU2243:brcm_patchram-brcm_patchramv1.0#

Please guide us here, if are missing something.

Thanks,
Darshak

Offline

#2 Oct. 10, 2018 17:21:49

SupportEngineer
Registered: 2016-03-11
Posts: 78
Profile   Send e-mail  

LWB5 : Building and Installing the Bluetooth Drivers

Hi Darshak,

It appears that there are libraries missing for bluetooth. Not being 100% familiar with your build system, can you confirm that you have BlueZ included in your development environment?

Please feel free to contact us with additional questions, or concerns.

Best Regards,

Support Engineer

Offline

#3 Oct. 11, 2018 14:44:14

dspatel
Registered: 2018-10-10
Posts: 3
Profile   Send e-mail  

LWB5 : Building and Installing the Bluetooth Drivers

Hi,

IMX8 build system/procedure is almost similar imx6. Yocto default compiles the bluez5. In our Bluez5 is included in development environment setup.
cannot find -lbluetooth
collect2: error: ld returned 1 exit status


Can you please share the which lib files require to compile the brcm_patchram-brcm_patchramv1.0? So, I can give it forcefully or I will modify the Makefile accordingly. (we tried with fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8qxpmek-poky-linux/fsl-image-qt5/1.0-r0/rootfs/usr/lib/libbluetooth.so.3.18.16, it gives same error)

Regards,
Darshak

Offline

#4 Oct. 11, 2018 15:47:34

SupportEngineer
Registered: 2016-03-11
Posts: 78
Profile   Send e-mail  

LWB5 : Building and Installing the Bluetooth Drivers

Hi Darshak,

As this case is bound to a rather new platform, we would like to take it into our direct support system. Can you please email us at cs-support@lairdtech.com so we can continue support?

Best Regards,

Support Engineer

Offline

Board footer

Moderator control