Hi,
I'm trying to cross compile a BLE BlueZ master.
Am having build issues pointing to obex.
I'm building it using Yocto but have stripped it down
to the essentials:
./configure
--build=x86_64-linux
--host=arm-linux-gnueabi
--target=arm-linux-gnueabi
--prefix=/usr
--exec_prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--libexecdir=/usr/libexec
--datadir=/usr/share
--sysconfdir=/etc
--sharedstatedir=/com
--localstatedir=/var
--libdir=/usr/lib
--includedir=/usr/include
--oldincludedir=/usr/include
--infodir=/usr/share/info
--mandir=/usr/share/man
--disable-silent-rules
--disable-dependency-tracking
--with-libtool-sysroot=/home/alan/senic-os/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-senic-linux-gnueabi/bluez5/5.49+gitAUTOINC+969dfae9a7-r0/recipe-sysroot
--enable-test
--enable-datafiles
--enable-library
--enable-a2dp
--enable-avrcp
--disable-cups
--enable-deprecated
--disable-health
--enable-hid
--enable-hog
--disable-midi
--enable-network
--disable-nfc
--disable-obex
--enable-client
--disable-sap
--disable-sixaxis
--enable-systemd
--disable-testing
--disable-threads
--enable-tools
make -j 16
This results in a build error:
../git/obexd/src/genbuiltin filesystem bluetooth opp ftp mas mns >
obexd/src/builtin.h
/bin/bash: obexd/src/builtin.h: No such file or directory
Makefile:9431: recipe for target 'obexd/src/builtin.h' failed
Given that I don't need it for BLE, what else is required
besides "--disable-obex" to bypass this error?
Be Well,
Alan
Hi Alan,
On Fri, Mar 16, 2018 at 4:50 PM, Alan Martinovic
<[email protected]> wrote:
> Hi,
> I'm trying to cross compile a BLE BlueZ master.
> Am having build issues pointing to obex.
> I'm building it using Yocto but have stripped it down
> to the essentials:
>
> ./configure
> --build=x86_64-linux
> --host=arm-linux-gnueabi
> --target=arm-linux-gnueabi
> --prefix=/usr
> --exec_prefix=/usr
> --bindir=/usr/bin
> --sbindir=/usr/sbin
> --libexecdir=/usr/libexec
> --datadir=/usr/share
> --sysconfdir=/etc
> --sharedstatedir=/com
> --localstatedir=/var
> --libdir=/usr/lib
> --includedir=/usr/include
> --oldincludedir=/usr/include
> --infodir=/usr/share/info
> --mandir=/usr/share/man
> --disable-silent-rules
> --disable-dependency-tracking
> --with-libtool-sysroot=/home/alan/senic-os/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-senic-linux-gnueabi/bluez5/5.49+gitAUTOINC+969dfae9a7-r0/recipe-sysroot
> --enable-test
> --enable-datafiles
> --enable-library
> --enable-a2dp
> --enable-avrcp
> --disable-cups
> --enable-deprecated
> --disable-health
> --enable-hid
> --enable-hog
> --disable-midi
> --enable-network
> --disable-nfc
> --disable-obex
> --enable-client
> --disable-sap
> --disable-sixaxis
> --enable-systemd
> --disable-testing
> --disable-threads
> --enable-tools
> make -j 16
>
> This results in a build error:
>
> ../git/obexd/src/genbuiltin filesystem bluetooth opp ftp mas mns >
> obexd/src/builtin.h
> /bin/bash: obexd/src/builtin.h: No such file or directory
> Makefile:9431: recipe for target 'obexd/src/builtin.h' failed
>
>
> Given that I don't need it for BLE, what else is required
> besides "--disable-obex" to bypass this error?
Obviously, it is a bug in the way we handle --disable-obex so we will
need to fix it.
--
Luiz Augusto von Dentz