2010-06-21, 21:31
Ruff: I'm trying to apply your patch to bluez 4.66. It applies but it does not build. It builds on 4.65 correctly. Here's the error it stops on when running make:
Code:
libtool: link: x86_64-pc-linux-gnu-gcc -shared audio/.libs/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.o audio/.libs/audio_libasound_module_pcm_bluetooth_la-ipc.o -Wl,--whole-archive sbc/.libs/libsbc.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/net-wireless/bluez-4.66-r2/work/bluez-4.66/lib/.libs lib/.libs/libbluetooth.so /usr/lib64/libasound.so -lm -ldl -lpthread -lrt -march=amdfam10 -Wl,-O1 -Wl,-soname -Wl,libasound_module_pcm_bluetooth.so -o audio/.libs/libasound_module_pcm_bluetooth.so
input/manager.o: In function `input_manager_init':
manager.c:(.text+0x487): undefined reference to `debug'
collect2: ld returned 1 exit status
make[1]: *** [src/bluetoothd] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: ( cd "audio/.libs" && rm -f "libasound_module_pcm_bluetooth.la" && ln -s "../libasound_module_pcm_bluetooth.la" "libasound_module_pcm_bluetooth.la" )
libtool: link: x86_64-pc-linux-gnu-gcc -shared audio/.libs/audio_libgstbluetooth_la-gstbluetooth.o audio/.libs/audio_libgstbluetooth_la-gstsbcenc.o audio/.libs/audio_libgstbluetooth_la-gstsbcdec.o audio/.libs/audio_libgstbluetooth_la-gstsbcparse.o audio/.libs/audio_libgstbluetooth_la-gstavdtpsink.o audio/.libs/audio_libgstbluetooth_la-gsta2dpsink.o audio/.libs/audio_libgstbluetooth_la-gstsbcutil.o audio/.libs/audio_libgstbluetooth_la-gstrtpsbcpay.o audio/.libs/audio_libgstbluetooth_la-ipc.o -Wl,--whole-archive sbc/.libs/libsbc.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/net-wireless/bluez-4.66-r2/work/bluez-4.66/lib/.libs lib/.libs/libbluetooth.so /usr/lib64/libgstaudio-0.10.so -L/usr/lib64 /usr/lib64/libgstinterfaces-0.10.so /usr/lib64/libgstrtp-0.10.so /usr/lib64/libgstbase-0.10.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libxml2.so -ldl -lz -lm /usr/lib64/libglib-2.0.so -pthread -march=amdfam10 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libgstbluetooth.so -o audio/.libs/libgstbluetooth.so
libtool: link: ( cd "audio/.libs" && rm -f "libgstbluetooth.la" && ln -s "../libgstbluetooth.la" "libgstbluetooth.la" )
make: *** [all] Error 2