Closed mdambrosio closed 7 months ago
I get an error when trying to make after configuring with aptx:
/home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:81: undefined reference to SizeofAptxhdbtenc' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:82: undefined reference toaptxhdbtenc_init' /usr/bin/ld: codec-aptx.o: in function aptxhddec_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:102: undefined reference toSizeofAptxhdbtdec' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:103: undefined reference to aptxhdbtdec_init' /usr/bin/ld: codec-aptx.o: in functionaptxhdenc_encode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:240: undefined reference to aptxhdbtenc_encodestereo' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_decode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:301: undefined reference to aptxhdbtdec_decodestereo' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_destroy': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:373: undefined reference to `aptxhdbtdec_destroy' collect2: error: ld returned 1 exit status make[4]: [Makefile:713: bluealsa] Error 1 make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[3]: [Makefile:836: all-recursive] Error 1 make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[2]: [Makefile:612: all] Error 2 make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[1]: [Makefile:466: all-recursive] Error 1 make[1]: Leaving directory '/home/mdambrosio/bluez-alsa/build' make: *** [Makefile:398: all] Error 2
SizeofAptxhdbtenc' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:82: undefined reference to
aptxhddec_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:102: undefined reference to
aptxhdbtdec_init' /usr/bin/ld: codec-aptx.o: in function
aptxhdbtenc_encodestereo' /usr/bin/ld: codec-aptx.o: in function
aptxhdbtdec_decodestereo' /usr/bin/ld: codec-aptx.o: in function
1) git clone https://github.com/Arkq/bluez-alsa.git 2) cd bluez-alsa 3) autoreconf --install 4) mkdir build 5) cd build 6) ../configure --disable-hcitop --enable-aptx --enable-aptx-hd 7) make
Raspberry pi 5 running 64 bit Bookworm
bluealsa version: NA, won't make
Bluez version: 5.55
ALSA version: aplay version 1.2.4
master branch, commit b7bb861
(git log -1 --oneline): b7bb861 (HEAD -> master, origin/master, origin/HEAD) Use BLE-MIDI timestamp for scheduling MIDI event
git log -1 --oneline
Used configure options: --disable-hcitop --enable-aptx --enable-aptx-hd
Full output: mdambrosio@raspberrypi:~ $ git clone https://github.com/Arkq/bluez-alsa.git Cloning into 'bluez-alsa'... remote: Enumerating objects: 8815, done. remote: Counting objects: 100% (2741/2741), done. remote: Compressing objects: 100% (509/509), done. remote: Total 8815 (delta 2406), reused 2343 (delta 2227), pack-reused 6074 Receiving objects: 100% (8815/8815), 3.12 MiB | 662.00 KiB/s, done. Resolving deltas: 100% (7008/7008), done. mdambrosio@raspberrypi:~ $ cd bluez-alsa mdambrosio@raspberrypi:~/bluez-alsa $ autoreconf --install aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:19: installing './ar-lib' configure.ac:14: installing './compile' configure.ac:21: installing './config.guess' configure.ac:21: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' mdambrosio@raspberrypi:~/bluez-alsa $ mkdir build mdambrosio@raspberrypi:~/bluez-alsa $ cd build mdambrosio@raspberrypi:~/bluez-alsa/build $ ../configure --disable-hcitop --enable-aptx --enable-aptx-hd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for gcc option to accept ISO C99... none needed checking whether ln -s works... yes checking for ar... ar checking the archiver (ar) interface... ar checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking pkg-config m4 macros... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking for eventfd... yes checking for pipe2... yes checking for splice... yes checking for library containing clock_gettime... none required checking for library containing pow... -lm checking for library containing pthread_create... -lpthread checking for alsa... yes checking for bluez >= 5.51... yes checking for dbus-1 >= 1.6... yes checking for gio-unix-2.0... yes checking for glib-2.0 >= 2.58.2... yes checking for sbc >= 1.5... yes checking for gdbus-codegen... /usr/bin/gdbus-codegen checking for libbsd >= 0.8... no checking for openaptx >= 1.2.0... yes checking for openaptx >= 1.2.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating misc/Makefile config.status: creating misc/systemd/Makefile config.status: creating src/Makefile config.status: creating src/asound/Makefile config.status: creating utils/Makefile config.status: creating utils/aplay/Makefile config.status: creating utils/cli/Makefile config.status: creating utils/rfcomm/Makefile config.status: creating test/Makefile config.status: creating test/mock/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: using apt-X (HD) via Qualcomm API configure: Enabled apt-X (HD) support requires encoder (and decoder) configure: library with a proprietary Qualcomm API. Please consider configure: using --with-libopenaptx or --with-libfreeaptx option configure: which will use a library based on FFmpeg project with configure: better decoding support. mdambrosio@raspberrypi:~/bluez-alsa/build $ make make all-recursive make[1]: Entering directory '/home/mdambrosio/bluez-alsa/build' Making all in misc make[2]: Entering directory '/home/mdambrosio/bluez-alsa/build/misc' make[3]: Entering directory '/home/mdambrosio/bluez-alsa/build/misc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/misc' make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/misc' Making all in src make[2]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' ../../src/dbus-codegen.py --output bluealsa-iface.c \ --interface-info-body --interface-skeleton-body ../../src/bluealsa-iface.xml ../../src/dbus-codegen.py --output bluez-iface.c \ --interface-info-body --interface-skeleton-body ../../src/bluez-iface.xml ../../src/dbus-codegen.py --output ofono-iface.c \ --interface-info-body --interface-skeleton-body ../../src/ofono-iface.xml make all-recursive make[3]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' Making all in asound make[4]: Entering directory '/home/mdambrosio/bluez-alsa/build/src/asound' depbase=echo ../shared/a2dp-codecs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/a2dp-codecs.lo ../../../src/asound/../shared/a2dp-codecs.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF ../shared/.deps/a2dp-codecs.Tpo -c ../../../src/asound/../shared/a2dp-codecs.c -fPIC -DPIC -o ../shared/.libs/a2dp-codecs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF ../shared/.deps/a2dp-codecs.Tpo -c ../../../src/asound/../shared/a2dp-codecs.c -o ../shared/a2dp-codecs.o >/dev/null 2>&1 depbase=echo ../shared/dbus-client.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/dbus-client.lo ../../../src/asound/../shared/dbus-client.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF ../shared/.deps/dbus-client.Tpo -c ../../../src/asound/../shared/dbus-client.c -fPIC -DPIC -o ../shared/.libs/dbus-client.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF ../shared/.deps/dbus-client.Tpo -c ../../../src/asound/../shared/dbus-client.c -o ../shared/dbus-client.o >/dev/null 2>&1 depbase=echo ../shared/dbus-client-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/dbus-client-pcm.lo ../../../src/asound/../shared/dbus-client-pcm.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF ../shared/.deps/dbus-client-pcm.Tpo -c ../../../src/asound/../shared/dbus-client-pcm.c -fPIC -DPIC -o ../shared/.libs/dbus-client-pcm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF ../shared/.deps/dbus-client-pcm.Tpo -c ../../../src/asound/../shared/dbus-client-pcm.c -o ../shared/dbus-client-pcm.o >/dev/null 2>&1 depbase=echo bluealsa-ctl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF $depbase.Tpo -c -o bluealsa-ctl.lo ../../../src/asound/bluealsa-ctl.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF .deps/bluealsa-ctl.Tpo -c ../../../src/asound/bluealsa-ctl.c -fPIC -DPIC -o .libs/bluealsa-ctl.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF .deps/bluealsa-ctl.Tpo -c ../../../src/asound/bluealsa-ctl.c -o bluealsa-ctl.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=link gcc -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -module -avoid-version -o libasound_module_ctl_bluealsa.la -rpath /usr/lib/aarch64-linux-gnu/alsa-lib ../shared/a2dp-codecs.lo ../shared/dbus-client.lo ../shared/dbus-client-pcm.lo bluealsa-ctl.lo -lasound -ldbus-1 -lpthread -lm libtool: link: gcc -shared -fPIC -DPIC ../shared/.libs/a2dp-codecs.o ../shared/.libs/dbus-client.o ../shared/.libs/dbus-client-pcm.o .libs/bluealsa-ctl.o -lasound -ldbus-1 -lpthread -lm -g -O2 -Wl,-soname -Wl,libasound_module_ctl_bluealsa.so -o .libs/libasound_module_ctl_bluealsa.so libtool: link: ar cr .libs/libasound_module_ctl_bluealsa.a ../shared/a2dp-codecs.o ../shared/dbus-client.o ../shared/dbus-client-pcm.o bluealsa-ctl.o libtool: link: ranlib .libs/libasound_module_ctl_bluealsa.a libtool: link: ( cd ".libs" && rm -f "libasound_module_ctl_bluealsa.la" && ln -s "../libasound_module_ctl_bluealsa.la" "libasound_module_ctl_bluealsa.la" ) depbase=echo ../shared/hex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/hex.lo ../../../src/asound/../shared/hex.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF ../shared/.deps/hex.Tpo -c ../../../src/asound/../shared/hex.c -fPIC -DPIC -o ../shared/.libs/hex.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF ../shared/.deps/hex.Tpo -c ../../../src/asound/../shared/hex.c -o ../shared/hex.o >/dev/null 2>&1 depbase=echo ../shared/log.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/log.lo ../../../src/asound/../shared/log.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF ../shared/.deps/log.Tpo -c ../../../src/asound/../shared/log.c -fPIC -DPIC -o ../shared/.libs/log.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF ../shared/.deps/log.Tpo -c ../../../src/asound/../shared/log.c -o ../shared/log.o >/dev/null 2>&1 depbase=echo ../shared/rt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/rt.lo ../../../src/asound/../shared/rt.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF ../shared/.deps/rt.Tpo -c ../../../src/asound/../shared/rt.c -fPIC -DPIC -o ../shared/.libs/rt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF ../shared/.deps/rt.Tpo -c ../../../src/asound/../shared/rt.c -o ../shared/rt.o >/dev/null 2>&1 depbase=echo bluealsa-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF $depbase.Tpo -c -o bluealsa-pcm.lo ../../../src/asound/bluealsa-pcm.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF .deps/bluealsa-pcm.Tpo -c ../../../src/asound/bluealsa-pcm.c -fPIC -DPIC -o .libs/bluealsa-pcm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF .deps/bluealsa-pcm.Tpo -c ../../../src/asound/bluealsa-pcm.c -o bluealsa-pcm.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=link gcc -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -module -avoid-version -o libasound_module_pcm_bluealsa.la -rpath /usr/lib/aarch64-linux-gnu/alsa-lib ../shared/a2dp-codecs.lo ../shared/dbus-client.lo ../shared/dbus-client-pcm.lo ../shared/hex.lo ../shared/log.lo ../shared/rt.lo bluealsa-pcm.lo -lasound -ldbus-1 -lpthread -lm libtool: link: gcc -shared -fPIC -DPIC ../shared/.libs/a2dp-codecs.o ../shared/.libs/dbus-client.o ../shared/.libs/dbus-client-pcm.o ../shared/.libs/hex.o ../shared/.libs/log.o ../shared/.libs/rt.o .libs/bluealsa-pcm.o -lasound -ldbus-1 -lpthread -lm -g -O2 -Wl,-soname -Wl,libasound_module_pcm_bluealsa.so -o .libs/libasound_module_pcm_bluealsa.so libtool: link: ar cr .libs/libasound_module_pcm_bluealsa.a ../shared/a2dp-codecs.o ../shared/dbus-client.o ../shared/dbus-client-pcm.o ../shared/hex.o ../shared/log.o ../shared/rt.o bluealsa-pcm.o libtool: link: ranlib .libs/libasound_module_pcm_bluealsa.a libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_bluealsa.la" && ln -s "../libasound_module_pcm_bluealsa.la" "libasound_module_pcm_bluealsa.la" ) /usr/bin/sed -e '' < ../../../src/asound/20-bluealsa.conf.in > 20-bluealsa.conf make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src/asound' make[4]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' depbase=echo shared/ffb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT shared/ffb.o -MD -MP -MF $depbase.Tpo -c -o shared/ffb.o ../../src/shared/ffb.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo shared/nv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT shared/nv.o -MD -MP -MF $depbase.Tpo -c -o shared/nv.o ../../src/shared/nv.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp.o -MD -MP -MF $depbase.Tpo -c -o a2dp.o ../../src/a2dp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-sbc.o -MD -MP -MF $depbase.Tpo -c -o a2dp-sbc.o ../../src/a2dp-sbc.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT at.o -MD -MP -MF $depbase.Tpo -c -o at.o ../../src/at.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo audio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT audio.o -MD -MP -MF $depbase.Tpo -c -o audio.o ../../src/audio.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-adapter.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-adapter.o -MD -MP -MF $depbase.Tpo -c -o ba-adapter.o ../../src/ba-adapter.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-config.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-config.o -MD -MP -MF $depbase.Tpo -c -o ba-config.o ../../src/ba-config.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-device.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-device.o -MD -MP -MF $depbase.Tpo -c -o ba-device.o ../../src/ba-device.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-rfcomm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-rfcomm.o -MD -MP -MF $depbase.Tpo -c -o ba-rfcomm.o ../../src/ba-rfcomm.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-transport.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-transport.o -MD -MP -MF $depbase.Tpo -c -o ba-transport.o ../../src/ba-transport.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-transport-pcm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-transport-pcm.o -MD -MP -MF $depbase.Tpo -c -o ba-transport-pcm.o ../../src/ba-transport-pcm.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluealsa-dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluealsa-dbus.o -MD -MP -MF $depbase.Tpo -c -o bluealsa-dbus.o ../../src/bluealsa-dbus.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluealsa-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluealsa-iface.o -MD -MP -MF $depbase.Tpo -c -o bluealsa-iface.o bluealsa-iface.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluez.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluez.o -MD -MP -MF $depbase.Tpo -c -o bluez.o ../../src/bluez.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluez-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluez-iface.o -MD -MP -MF $depbase.Tpo -c -o bluez-iface.o bluez-iface.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo codec-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT codec-sbc.o -MD -MP -MF $depbase.Tpo -c -o codec-sbc.o ../../src/codec-sbc.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT dbus.o -MD -MP -MF $depbase.Tpo -c -o dbus.o ../../src/dbus.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo h2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT h2.o -MD -MP -MF $depbase.Tpo -c -o h2.o ../../src/h2.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo hci.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT hci.o -MD -MP -MF $depbase.Tpo -c -o hci.o ../../src/hci.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo hfp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT hfp.o -MD -MP -MF $depbase.Tpo -c -o hfp.o ../../src/hfp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo io.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT io.o -MD -MP -MF $depbase.Tpo -c -o io.o ../../src/io.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo rtp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT rtp.o -MD -MP -MF $depbase.Tpo -c -o rtp.o ../../src/rtp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo sco.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT sco.o -MD -MP -MF $depbase.Tpo -c -o sco.o ../../src/sco.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo sco-cvsd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT sco-cvsd.o -MD -MP -MF $depbase.Tpo -c -o sco-cvsd.o ../../src/sco-cvsd.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo storage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT storage.o -MD -MP -MF $depbase.Tpo -c -o storage.o ../../src/storage.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT utils.o -MD -MP -MF $depbase.Tpo -c -o utils.o ../../src/utils.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o ../../src/main.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-aptx.o -MD -MP -MF $depbase.Tpo -c -o a2dp-aptx.o ../../src/a2dp-aptx.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-aptx-hd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-aptx-hd.o -MD -MP -MF $depbase.Tpo -c -o a2dp-aptx-hd.o ../../src/a2dp-aptx-hd.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo codec-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT codec-aptx.o -MD -MP -MF $depbase.Tpo -c -o codec-aptx.o ../../src/codec-aptx.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -o bluealsa shared/a2dp-codecs.o shared/ffb.o shared/log.o shared/rt.o shared/nv.o a2dp.o a2dp-sbc.o at.o audio.o ba-adapter.o ba-config.o ba-device.o ba-rfcomm.o ba-transport.o ba-transport-pcm.o bluealsa-dbus.o bluealsa-iface.o bluez.o bluez-iface.o codec-sbc.o dbus.o h2.o hci.o hfp.o io.o rtp.o sco.o sco-cvsd.o storage.o utils.o main.o a2dp-aptx.o a2dp-aptx-hd.o codec-aptx.o -lasound -laptx -lbluetooth -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lsbc -lpthread -lm libtool: link: gcc -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -o bluealsa shared/a2dp-codecs.o shared/ffb.o shared/log.o shared/rt.o shared/nv.o a2dp.o a2dp-sbc.o at.o audio.o ba-adapter.o ba-config.o ba-device.o ba-rfcomm.o ba-transport.o ba-transport-pcm.o bluealsa-dbus.o bluealsa-iface.o bluez.o bluez-iface.o codec-sbc.o dbus.o h2.o hci.o hfp.o io.o rtp.o sco.o sco-cvsd.o storage.o utils.o main.o a2dp-aptx.o a2dp-aptx-hd.o codec-aptx.o -lasound -laptx -lbluetooth -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lsbc -lpthread -lm -pthread /usr/bin/ld: codec-aptx.o: in function aptxhdenc_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:81: undefined reference toSizeofAptxhdbtenc' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:82: undefined reference to aptxhdbtenc_init' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:102: undefined reference to SizeofAptxhdbtdec' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:103: undefined reference toaptxhdbtdec_init' /usr/bin/ld: codec-aptx.o: in function aptxhdenc_encode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:240: undefined reference toaptxhdbtenc_encodestereo' /usr/bin/ld: codec-aptx.o: in function aptxhddec_decode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:301: undefined reference toaptxhdbtdec_decodestereo' /usr/bin/ld: codec-aptx.o: in function aptxhddec_destroy': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:373: undefined reference toaptxhdbtdec_destroy' collect2: error: ld returned 1 exit status make[4]: [Makefile:713: bluealsa] Error 1 make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[3]: [Makefile:836: all-recursive] Error 1 make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[2]: [Makefile:612: all] Error 2 make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[1]: [Makefile:466: all-recursive] Error 1 make[1]: Leaving directory '/home/mdambrosio/bluez-alsa/build' make: *** [Makefile:398: all] Error 2 mdambrosio@raspberrypi:~/bluez-alsa/build $
echo ../shared/a2dp-codecs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo ../shared/dbus-client.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo ../shared/dbus-client-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo bluealsa-ctl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo ../shared/hex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo ../shared/log.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo ../shared/rt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo bluealsa-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
echo shared/ffb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo shared/nv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo a2dp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo a2dp-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo audio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-adapter.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-config.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-device.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-rfcomm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-transport.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo ba-transport-pcm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo bluealsa-dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo bluealsa-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo bluez.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo bluez-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo codec-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo h2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo hci.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo hfp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo io.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo rtp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo sco.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo sco-cvsd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo storage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo a2dp-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo a2dp-aptx-hd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
echo codec-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
aptxhdenc_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:81: undefined reference to
aptxhdbtenc_init' /usr/bin/ld: codec-aptx.o: in function
SizeofAptxhdbtdec' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:103: undefined reference to
aptxhdenc_encode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:240: undefined reference to
aptxhddec_decode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:301: undefined reference to
aptxhddec_destroy': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:373: undefined reference to
Forgot the flag --with-libopenaptx
Problem
I get an error when trying to make after configuring with aptx:
/home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:81: undefined reference to
SizeofAptxhdbtenc' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:82: undefined reference to
aptxhdbtenc_init' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:102: undefined reference to
SizeofAptxhdbtdec' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:103: undefined reference toaptxhdbtdec_init' /usr/bin/ld: codec-aptx.o: in function
aptxhdenc_encode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:240: undefined reference toaptxhdbtenc_encodestereo' /usr/bin/ld: codec-aptx.o: in function
aptxhddec_decode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:301: undefined reference toaptxhdbtdec_decodestereo' /usr/bin/ld: codec-aptx.o: in function
aptxhddec_destroy': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:373: undefined reference to `aptxhdbtdec_destroy' collect2: error: ld returned 1 exit status make[4]: [Makefile:713: bluealsa] Error 1 make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[3]: [Makefile:836: all-recursive] Error 1 make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[2]: [Makefile:612: all] Error 2 make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[1]: [Makefile:466: all-recursive] Error 1 make[1]: Leaving directory '/home/mdambrosio/bluez-alsa/build' make: *** [Makefile:398: all] Error 2Reproduction steps
1) git clone https://github.com/Arkq/bluez-alsa.git 2) cd bluez-alsa 3) autoreconf --install 4) mkdir build 5) cd build 6) ../configure --disable-hcitop --enable-aptx --enable-aptx-hd 7) make
Setup
Raspberry pi 5 running 64 bit Bookworm
bluealsa version: NA, won't make
Bluez version: 5.55
ALSA version: aplay version 1.2.4
master branch, commit b7bb861
(
git log -1 --oneline
): b7bb861 (HEAD -> master, origin/master, origin/HEAD) Use BLE-MIDI timestamp for scheduling MIDI eventUsed configure options: --disable-hcitop --enable-aptx --enable-aptx-hd
Additional context
Full output: mdambrosio@raspberrypi:~ $ git clone https://github.com/Arkq/bluez-alsa.git Cloning into 'bluez-alsa'... remote: Enumerating objects: 8815, done. remote: Counting objects: 100% (2741/2741), done. remote: Compressing objects: 100% (509/509), done. remote: Total 8815 (delta 2406), reused 2343 (delta 2227), pack-reused 6074 Receiving objects: 100% (8815/8815), 3.12 MiB | 662.00 KiB/s, done. Resolving deltas: 100% (7008/7008), done. mdambrosio@raspberrypi:~ $ cd bluez-alsa mdambrosio@raspberrypi:~/bluez-alsa $ autoreconf --install aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:19: installing './ar-lib' configure.ac:14: installing './compile' configure.ac:21: installing './config.guess' configure.ac:21: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' mdambrosio@raspberrypi:~/bluez-alsa $ mkdir build mdambrosio@raspberrypi:~/bluez-alsa $ cd build mdambrosio@raspberrypi:~/bluez-alsa/build $ ../configure --disable-hcitop --enable-aptx --enable-aptx-hd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for gcc option to accept ISO C99... none needed checking whether ln -s works... yes checking for ar... ar checking the archiver (ar) interface... ar checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking pkg-config m4 macros... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking for eventfd... yes checking for pipe2... yes checking for splice... yes checking for library containing clock_gettime... none required checking for library containing pow... -lm checking for library containing pthread_create... -lpthread checking for alsa... yes checking for bluez >= 5.51... yes checking for dbus-1 >= 1.6... yes checking for gio-unix-2.0... yes checking for glib-2.0 >= 2.58.2... yes checking for sbc >= 1.5... yes checking for gdbus-codegen... /usr/bin/gdbus-codegen checking for libbsd >= 0.8... no checking for openaptx >= 1.2.0... yes checking for openaptx >= 1.2.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating misc/Makefile config.status: creating misc/systemd/Makefile config.status: creating src/Makefile config.status: creating src/asound/Makefile config.status: creating utils/Makefile config.status: creating utils/aplay/Makefile config.status: creating utils/cli/Makefile config.status: creating utils/rfcomm/Makefile config.status: creating test/Makefile config.status: creating test/mock/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: using apt-X (HD) via Qualcomm API configure: Enabled apt-X (HD) support requires encoder (and decoder) configure: library with a proprietary Qualcomm API. Please consider configure: using --with-libopenaptx or --with-libfreeaptx option configure: which will use a library based on FFmpeg project with configure: better decoding support. mdambrosio@raspberrypi:~/bluez-alsa/build $ make make all-recursive make[1]: Entering directory '/home/mdambrosio/bluez-alsa/build' Making all in misc make[2]: Entering directory '/home/mdambrosio/bluez-alsa/build/misc' make[3]: Entering directory '/home/mdambrosio/bluez-alsa/build/misc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/misc' make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/misc' Making all in src make[2]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' ../../src/dbus-codegen.py --output bluealsa-iface.c \ --interface-info-body --interface-skeleton-body ../../src/bluealsa-iface.xml ../../src/dbus-codegen.py --output bluez-iface.c \ --interface-info-body --interface-skeleton-body ../../src/bluez-iface.xml ../../src/dbus-codegen.py --output ofono-iface.c \ --interface-info-body --interface-skeleton-body ../../src/ofono-iface.xml make all-recursive make[3]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' Making all in asound make[4]: Entering directory '/home/mdambrosio/bluez-alsa/build/src/asound' depbase=
echo ../shared/a2dp-codecs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/a2dp-codecs.lo ../../../src/asound/../shared/a2dp-codecs.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF ../shared/.deps/a2dp-codecs.Tpo -c ../../../src/asound/../shared/a2dp-codecs.c -fPIC -DPIC -o ../shared/.libs/a2dp-codecs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/a2dp-codecs.lo -MD -MP -MF ../shared/.deps/a2dp-codecs.Tpo -c ../../../src/asound/../shared/a2dp-codecs.c -o ../shared/a2dp-codecs.o >/dev/null 2>&1 depbase=echo ../shared/dbus-client.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/dbus-client.lo ../../../src/asound/../shared/dbus-client.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF ../shared/.deps/dbus-client.Tpo -c ../../../src/asound/../shared/dbus-client.c -fPIC -DPIC -o ../shared/.libs/dbus-client.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client.lo -MD -MP -MF ../shared/.deps/dbus-client.Tpo -c ../../../src/asound/../shared/dbus-client.c -o ../shared/dbus-client.o >/dev/null 2>&1 depbase=echo ../shared/dbus-client-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/dbus-client-pcm.lo ../../../src/asound/../shared/dbus-client-pcm.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF ../shared/.deps/dbus-client-pcm.Tpo -c ../../../src/asound/../shared/dbus-client-pcm.c -fPIC -DPIC -o ../shared/.libs/dbus-client-pcm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/dbus-client-pcm.lo -MD -MP -MF ../shared/.deps/dbus-client-pcm.Tpo -c ../../../src/asound/../shared/dbus-client-pcm.c -o ../shared/dbus-client-pcm.o >/dev/null 2>&1 depbase=echo bluealsa-ctl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF $depbase.Tpo -c -o bluealsa-ctl.lo ../../../src/asound/bluealsa-ctl.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF .deps/bluealsa-ctl.Tpo -c ../../../src/asound/bluealsa-ctl.c -fPIC -DPIC -o .libs/bluealsa-ctl.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-ctl.lo -MD -MP -MF .deps/bluealsa-ctl.Tpo -c ../../../src/asound/bluealsa-ctl.c -o bluealsa-ctl.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=link gcc -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -module -avoid-version -o libasound_module_ctl_bluealsa.la -rpath /usr/lib/aarch64-linux-gnu/alsa-lib ../shared/a2dp-codecs.lo ../shared/dbus-client.lo ../shared/dbus-client-pcm.lo bluealsa-ctl.lo -lasound -ldbus-1 -lpthread -lm libtool: link: gcc -shared -fPIC -DPIC ../shared/.libs/a2dp-codecs.o ../shared/.libs/dbus-client.o ../shared/.libs/dbus-client-pcm.o .libs/bluealsa-ctl.o -lasound -ldbus-1 -lpthread -lm -g -O2 -Wl,-soname -Wl,libasound_module_ctl_bluealsa.so -o .libs/libasound_module_ctl_bluealsa.so libtool: link: ar cr .libs/libasound_module_ctl_bluealsa.a ../shared/a2dp-codecs.o ../shared/dbus-client.o ../shared/dbus-client-pcm.o bluealsa-ctl.o libtool: link: ranlib .libs/libasound_module_ctl_bluealsa.a libtool: link: ( cd ".libs" && rm -f "libasound_module_ctl_bluealsa.la" && ln -s "../libasound_module_ctl_bluealsa.la" "libasound_module_ctl_bluealsa.la" ) depbase=echo ../shared/hex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/hex.lo ../../../src/asound/../shared/hex.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF ../shared/.deps/hex.Tpo -c ../../../src/asound/../shared/hex.c -fPIC -DPIC -o ../shared/.libs/hex.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/hex.lo -MD -MP -MF ../shared/.deps/hex.Tpo -c ../../../src/asound/../shared/hex.c -o ../shared/hex.o >/dev/null 2>&1 depbase=echo ../shared/log.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/log.lo ../../../src/asound/../shared/log.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF ../shared/.deps/log.Tpo -c ../../../src/asound/../shared/log.c -fPIC -DPIC -o ../shared/.libs/log.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/log.lo -MD -MP -MF ../shared/.deps/log.Tpo -c ../../../src/asound/../shared/log.c -o ../shared/log.o >/dev/null 2>&1 depbase=echo ../shared/rt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF $depbase.Tpo -c -o ../shared/rt.lo ../../../src/asound/../shared/rt.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF ../shared/.deps/rt.Tpo -c ../../../src/asound/../shared/rt.c -fPIC -DPIC -o ../shared/.libs/rt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT ../shared/rt.lo -MD -MP -MF ../shared/.deps/rt.Tpo -c ../../../src/asound/../shared/rt.c -o ../shared/rt.o >/dev/null 2>&1 depbase=echo bluealsa-pcm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;\ /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF $depbase.Tpo -c -o bluealsa-pcm.lo ../../../src/asound/bluealsa-pcm.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF .deps/bluealsa-pcm.Tpo -c ../../../src/asound/bluealsa-pcm.c -fPIC -DPIC -o .libs/bluealsa-pcm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/asound -I../.. -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -MT bluealsa-pcm.lo -MD -MP -MF .deps/bluealsa-pcm.Tpo -c ../../../src/asound/bluealsa-pcm.c -o bluealsa-pcm.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=link gcc -I../../../src -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -g -O2 -module -avoid-version -o libasound_module_pcm_bluealsa.la -rpath /usr/lib/aarch64-linux-gnu/alsa-lib ../shared/a2dp-codecs.lo ../shared/dbus-client.lo ../shared/dbus-client-pcm.lo ../shared/hex.lo ../shared/log.lo ../shared/rt.lo bluealsa-pcm.lo -lasound -ldbus-1 -lpthread -lm libtool: link: gcc -shared -fPIC -DPIC ../shared/.libs/a2dp-codecs.o ../shared/.libs/dbus-client.o ../shared/.libs/dbus-client-pcm.o ../shared/.libs/hex.o ../shared/.libs/log.o ../shared/.libs/rt.o .libs/bluealsa-pcm.o -lasound -ldbus-1 -lpthread -lm -g -O2 -Wl,-soname -Wl,libasound_module_pcm_bluealsa.so -o .libs/libasound_module_pcm_bluealsa.so libtool: link: ar cr .libs/libasound_module_pcm_bluealsa.a ../shared/a2dp-codecs.o ../shared/dbus-client.o ../shared/dbus-client-pcm.o ../shared/hex.o ../shared/log.o ../shared/rt.o bluealsa-pcm.o libtool: link: ranlib .libs/libasound_module_pcm_bluealsa.a libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_bluealsa.la" && ln -s "../libasound_module_pcm_bluealsa.la" "libasound_module_pcm_bluealsa.la" ) /usr/bin/sed -e '' < ../../../src/asound/20-bluealsa.conf.in > 20-bluealsa.conf make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src/asound' make[4]: Entering directory '/home/mdambrosio/bluez-alsa/build/src' depbase=echo shared/ffb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT shared/ffb.o -MD -MP -MF $depbase.Tpo -c -o shared/ffb.o ../../src/shared/ffb.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo shared/nv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT shared/nv.o -MD -MP -MF $depbase.Tpo -c -o shared/nv.o ../../src/shared/nv.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp.o -MD -MP -MF $depbase.Tpo -c -o a2dp.o ../../src/a2dp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-sbc.o -MD -MP -MF $depbase.Tpo -c -o a2dp-sbc.o ../../src/a2dp-sbc.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT at.o -MD -MP -MF $depbase.Tpo -c -o at.o ../../src/at.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo audio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT audio.o -MD -MP -MF $depbase.Tpo -c -o audio.o ../../src/audio.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-adapter.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-adapter.o -MD -MP -MF $depbase.Tpo -c -o ba-adapter.o ../../src/ba-adapter.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-config.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-config.o -MD -MP -MF $depbase.Tpo -c -o ba-config.o ../../src/ba-config.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-device.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-device.o -MD -MP -MF $depbase.Tpo -c -o ba-device.o ../../src/ba-device.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-rfcomm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-rfcomm.o -MD -MP -MF $depbase.Tpo -c -o ba-rfcomm.o ../../src/ba-rfcomm.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-transport.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-transport.o -MD -MP -MF $depbase.Tpo -c -o ba-transport.o ../../src/ba-transport.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo ba-transport-pcm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT ba-transport-pcm.o -MD -MP -MF $depbase.Tpo -c -o ba-transport-pcm.o ../../src/ba-transport-pcm.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluealsa-dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluealsa-dbus.o -MD -MP -MF $depbase.Tpo -c -o bluealsa-dbus.o ../../src/bluealsa-dbus.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluealsa-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluealsa-iface.o -MD -MP -MF $depbase.Tpo -c -o bluealsa-iface.o bluealsa-iface.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluez.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluez.o -MD -MP -MF $depbase.Tpo -c -o bluez.o ../../src/bluez.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo bluez-iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT bluez-iface.o -MD -MP -MF $depbase.Tpo -c -o bluez-iface.o bluez-iface.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo codec-sbc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT codec-sbc.o -MD -MP -MF $depbase.Tpo -c -o codec-sbc.o ../../src/codec-sbc.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo dbus.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT dbus.o -MD -MP -MF $depbase.Tpo -c -o dbus.o ../../src/dbus.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo h2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT h2.o -MD -MP -MF $depbase.Tpo -c -o h2.o ../../src/h2.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo hci.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT hci.o -MD -MP -MF $depbase.Tpo -c -o hci.o ../../src/hci.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo hfp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT hfp.o -MD -MP -MF $depbase.Tpo -c -o hfp.o ../../src/hfp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo io.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT io.o -MD -MP -MF $depbase.Tpo -c -o io.o ../../src/io.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo rtp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT rtp.o -MD -MP -MF $depbase.Tpo -c -o rtp.o ../../src/rtp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo sco.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT sco.o -MD -MP -MF $depbase.Tpo -c -o sco.o ../../src/sco.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo sco-cvsd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT sco-cvsd.o -MD -MP -MF $depbase.Tpo -c -o sco-cvsd.o ../../src/sco-cvsd.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo storage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT storage.o -MD -MP -MF $depbase.Tpo -c -o storage.o ../../src/storage.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT utils.o -MD -MP -MF $depbase.Tpo -c -o utils.o ../../src/utils.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o ../../src/main.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-aptx.o -MD -MP -MF $depbase.Tpo -c -o a2dp-aptx.o ../../src/a2dp-aptx.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo a2dp-aptx-hd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT a2dp-aptx-hd.o -MD -MP -MF $depbase.Tpo -c -o a2dp-aptx-hd.o ../../src/a2dp-aptx-hd.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=echo codec-aptx.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -MT codec-aptx.o -MD -MP -MF $depbase.Tpo -c -o codec-aptx.o ../../src/codec-aptx.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -o bluealsa shared/a2dp-codecs.o shared/ffb.o shared/log.o shared/rt.o shared/nv.o a2dp.o a2dp-sbc.o at.o audio.o ba-adapter.o ba-config.o ba-device.o ba-rfcomm.o ba-transport.o ba-transport-pcm.o bluealsa-dbus.o bluealsa-iface.o bluez.o bluez-iface.o codec-sbc.o dbus.o h2.o hci.o hfp.o io.o rtp.o sco.o sco-cvsd.o storage.o utils.o main.o a2dp-aptx.o a2dp-aptx-hd.o codec-aptx.o -lasound -laptx -lbluetooth -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lsbc -lpthread -lm libtool: link: gcc -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -g -O2 -o bluealsa shared/a2dp-codecs.o shared/ffb.o shared/log.o shared/rt.o shared/nv.o a2dp.o a2dp-sbc.o at.o audio.o ba-adapter.o ba-config.o ba-device.o ba-rfcomm.o ba-transport.o ba-transport-pcm.o bluealsa-dbus.o bluealsa-iface.o bluez.o bluez-iface.o codec-sbc.o dbus.o h2.o hci.o hfp.o io.o rtp.o sco.o sco-cvsd.o storage.o utils.o main.o a2dp-aptx.o a2dp-aptx-hd.o codec-aptx.o -lasound -laptx -lbluetooth -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lsbc -lpthread -lm -pthread /usr/bin/ld: codec-aptx.o: in functionaptxhdenc_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:81: undefined reference to
SizeofAptxhdbtenc' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:82: undefined reference toaptxhdbtenc_init' /usr/bin/ld: codec-aptx.o: in function
aptxhddec_init': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:102: undefined reference toSizeofAptxhdbtdec' /usr/bin/ld: /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:103: undefined reference to
aptxhdbtdec_init' /usr/bin/ld: codec-aptx.o: in functionaptxhdenc_encode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:240: undefined reference to
aptxhdbtenc_encodestereo' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_decode': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:301: undefined reference to
aptxhdbtdec_decodestereo' /usr/bin/ld: codec-aptx.o: in functionaptxhddec_destroy': /home/mdambrosio/bluez-alsa/build/src/../../src/codec-aptx.c:373: undefined reference to
aptxhdbtdec_destroy' collect2: error: ld returned 1 exit status make[4]: [Makefile:713: bluealsa] Error 1 make[4]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[3]: [Makefile:836: all-recursive] Error 1 make[3]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[2]: [Makefile:612: all] Error 2 make[2]: Leaving directory '/home/mdambrosio/bluez-alsa/build/src' make[1]: [Makefile:466: all-recursive] Error 1 make[1]: Leaving directory '/home/mdambrosio/bluez-alsa/build' make: *** [Makefile:398: all] Error 2 mdambrosio@raspberrypi:~/bluez-alsa/build $