* [Bluez-devel] bluetooth audio
@ 2007-08-09 7:57 Joakim Ganse
2007-08-11 18:08 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Joakim Ganse @ 2007-08-09 7:57 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/html, Size: 1262 bytes --]
[-- Attachment #2: a2dp-error.txt --]
[-- Type: application/octet-stream, Size: 11553 bytes --]
linux-acer:/home/jocke/Multimedia/a2dp/plugz # make
make all-recursive
make[1]: Entering directory `/home/jocke/Multimedia/a2dp/plugz'
Making all in avdtp
make[2]: Entering directory `/home/jocke/Multimedia/a2dp/plugz/avdtp'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -Wall -MT avdtp.o -MD -MP -MF ".deps/avdtp.Tpo" -c -o avdtp.o avdtp.c; \
then mv -f ".deps/avdtp.Tpo" ".deps/avdtp.Po"; else rm -f ".deps/avdtp.Tpo"; exit 1; fi
rm -f libavdtp.a
ar cru libavdtp.a avdtp.o
ranlib libavdtp.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -Wall -MT avtest.o -MD -MP -MF ".deps/avtest.Tpo" -c -o avtest.o avtest.c; \
then mv -f ".deps/avtest.Tpo" ".deps/avtest.Po"; else rm -f ".deps/avtest.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include -Wall -o avtest avtest.o -lbluetooth libavdtp.a -lbluetooth -lbluetooth
mkdir .libs
gcc -I/usr/include -Wall -o avtest avtest.o libavdtp.a /usr/lib/libbluetooth.somake[2]: Leaving directory `/home/jocke/Multimedia/a2dp/plugz/avdtp'
Making all in alsa-plugins
make[2]: Entering directory `/home/jocke/Multimedia/a2dp/plugz/alsa-plugins'
Making all in a2dpd
make[3]: Entering directory `/home/jocke/Multimedia/a2dp/plugz/alsa-plugins/a2dpd'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_timer.lo -MD -MP -MF ".deps/a2dpd_timer.Tpo" -c -o a2dpd_timer.lo a2dpd_timer.c; \
then mv -f ".deps/a2dpd_timer.Tpo" ".deps/a2dpd_timer.Plo"; else rm -f ".deps/a2dpd_timer.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_timer.lo -MD -MP -MF .deps/a2dpd_timer.Tpo -c a2dpd_timer.c -fPIC -DPIC -o .libs/a2dpd_timer.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_timer.lo -MD -MP -MF .deps/a2dpd_timer.Tpo -c a2dpd_timer.c -o a2dpd_timer.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_ipc.lo -MD -MP -MF ".deps/a2dpd_ipc.Tpo" -c -o a2dpd_ipc.lo a2dpd_ipc.c; \
then mv -f ".deps/a2dpd_ipc.Tpo" ".deps/a2dpd_ipc.Plo"; else rm -f ".deps/a2dpd_ipc.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_ipc.lo -MD -MP -MF .deps/a2dpd_ipc.Tpo -c a2dpd_ipc.c -fPIC -DPIC -o .libs/a2dpd_ipc.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_ipc.lo -MD -MP -MF .deps/a2dpd_ipc.Tpo -c a2dpd_ipc.c -o a2dpd_ipc.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_tools.lo -MD -MP -MF ".deps/a2dpd_tools.Tpo" -c -o a2dpd_tools.lo a2dpd_tools.c; \
then mv -f ".deps/a2dpd_tools.Tpo" ".deps/a2dpd_tools.Plo"; else rm -f ".deps/a2dpd_tools.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_tools.lo -MD -MP -MF .deps/a2dpd_tools.Tpo -c a2dpd_tools.c -fPIC -DPIC -o .libs/a2dpd_tools.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT a2dpd_tools.lo -MD -MP -MF .deps/a2dpd_tools.Tpo -c a2dpd_tools.c -o a2dpd_tools.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -o liba2dpdcommon.la -rpath /usr/lib a2dpd_timer.lo a2dpd_ipc.lo a2dpd_tools.lo -lbluetooth
gcc -shared .libs/a2dpd_timer.o .libs/a2dpd_ipc.o .libs/a2dpd_tools.o /usr/lib/libbluetooth.so -Wl,-soname -Wl,liba2dpdcommon.so.0 -o .libs/liba2dpdcommon.so.0.0.0
(cd .libs && rm -f liba2dpdcommon.so.0 && ln -s liba2dpdcommon.so.0.0.0 liba2dpdcommon.so.0)
(cd .libs && rm -f liba2dpdcommon.so && ln -s liba2dpdcommon.so.0.0.0 liba2dpdcommon.so)
ar cru .libs/liba2dpdcommon.a a2dpd_timer.o a2dpd_ipc.o a2dpd_tools.o
ranlib .libs/liba2dpdcommon.a
creating liba2dpdcommon.la
(cd .libs && rm -f liba2dpdcommon.la && ln -s ../liba2dpdcommon.la liba2dpdcommon.la)
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT pcm_a2dpd.lo -MD -MP -MF ".deps/pcm_a2dpd.Tpo" -c -o pcm_a2dpd.lo pcm_a2dpd.c; \
then mv -f ".deps/pcm_a2dpd.Tpo" ".deps/pcm_a2dpd.Plo"; else rm -f ".deps/pcm_a2dpd.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT pcm_a2dpd.lo -MD -MP -MF .deps/pcm_a2dpd.Tpo -c pcm_a2dpd.c -fPIC -DPIC -o .libs/pcm_a2dpd.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -MT pcm_a2dpd.lo -MD -MP -MF .deps/pcm_a2dpd.Tpo -c pcm_a2dpd.c -o pcm_a2dpd.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -o libasound_module_pcm_a2dpd.la -rpath /usr/lib/alsa-lib pcm_a2dpd.lo -lasound -lm -ldl -lpthread -la2dpdcommon -lbluetooth
libtool: link: warning: `/usr/lib/gcc/i586-suse-linux/4.1.0/../../..//libbluetooth.la' seems to be moved
gcc -shared .libs/pcm_a2dpd.o -Wl,--rpath -Wl,/home/jocke/Multimedia/a2dp/plugz/alsa-plugins/a2dpd/.libs -L/usr/lib/gcc/i586-suse-linux/4.1.0/../../../ /usr/lib/libasound.so -lm -ldl -lpthread /home/jocke/Multimedia/a2dp/plugz/alsa-plugins/a2dpd/.libs/liba2dpdcommon.so /usr/lib/libbluetooth.so -Wl,-soname -Wl,libasound_module_pcm_a2dpd.so.0 -o .libs/libasound_module_pcm_a2dpd.so.0.0.0
(cd .libs && rm -f libasound_module_pcm_a2dpd.so.0 && ln -s libasound_module_pcm_a2dpd.so.0.0.0 libasound_module_pcm_a2dpd.so.0)
(cd .libs && rm -f libasound_module_pcm_a2dpd.so && ln -s libasound_module_pcm_a2dpd.so.0.0.0 libasound_module_pcm_a2dpd.so)
ar cru .libs/libasound_module_pcm_a2dpd.a pcm_a2dpd.o
ranlib .libs/libasound_module_pcm_a2dpd.a
creating libasound_module_pcm_a2dpd.la
(cd .libs && rm -f libasound_module_pcm_a2dpd.la && ln -s ../libasound_module_pcm_a2dpd.la libasound_module_pcm_a2dpd.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd.o -MD -MP -MF ".deps/a2dpd-a2dpd.Tpo" -c -o a2dpd-a2dpd.o `test -f 'a2dpd.c' || echo './'`a2dpd.c; \
then mv -f ".deps/a2dpd-a2dpd.Tpo" ".deps/a2dpd-a2dpd.Po"; else rm -f ".deps/a2dpd-a2dpd.Tpo"; exit 1; fi
a2dpd.c:790:2: warning: #warning "resampler support enabled"
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_sdp.o -MD -MP -MF ".deps/a2dpd-a2dpd_sdp.Tpo" -c -o a2dpd-a2dpd_sdp.o `test -f 'a2dpd_sdp.c' || echo './'`a2dpd_sdp.c; \
then mv -f ".deps/a2dpd-a2dpd_sdp.Tpo" ".deps/a2dpd-a2dpd_sdp.Po"; else rm -f ".deps/a2dpd-a2dpd_sdp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_mixer.o -MD -MP -MF ".deps/a2dpd-a2dpd_mixer.Tpo" -c -o a2dpd-a2dpd_mixer.o `test -f 'a2dpd_mixer.c' || echo './'`a2dpd_mixer.c; \
then mv -f ".deps/a2dpd-a2dpd_mixer.Tpo" ".deps/a2dpd-a2dpd_mixer.Po"; else rm -f ".deps/a2dpd-a2dpd_mixer.Tpo"; exit 1; fi
a2dpd_mixer.c:40:2: warning: #warning "mixer support enabled"
a2dpd_mixer.c:88:2: warning: #warning "volume control support disabled"
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_uinput.o -MD -MP -MF ".deps/a2dpd-a2dpd_uinput.Tpo" -c -o a2dpd-a2dpd_uinput.o `test -f 'a2dpd_uinput.c' || echo './'`a2dpd_uinput.c; \
then mv -f ".deps/a2dpd-a2dpd_uinput.Tpo" ".deps/a2dpd-a2dpd_uinput.Po"; else rm -f ".deps/a2dpd-a2dpd_uinput.Tpo"; exit 1; fi
a2dpd_uinput.c:126:2: warning: #warning "uinput support disabled"
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_dbus.o -MD -MP -MF ".deps/a2dpd-a2dpd_dbus.Tpo" -c -o a2dpd-a2dpd_dbus.o `test -f 'a2dpd_dbus.c' || echo './'`a2dpd_dbus.c; \
then mv -f ".deps/a2dpd-a2dpd_dbus.Tpo" ".deps/a2dpd-a2dpd_dbus.Po"; else rm -f ".deps/a2dpd-a2dpd_dbus.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_avrcp.o -MD -MP -MF ".deps/a2dpd-a2dpd_avrcp.Tpo" -c -o a2dpd-a2dpd_avrcp.o `test -f 'a2dpd_avrcp.c' || echo './'`a2dpd_avrcp.c; \
then mv -f ".deps/a2dpd-a2dpd_avrcp.Tpo" ".deps/a2dpd-a2dpd_avrcp.Po"; else rm -f ".deps/a2dpd-a2dpd_avrcp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_output_a2dp.o -MD -MP -MF ".deps/a2dpd-a2dpd_output_a2dp.Tpo" -c -o a2dpd-a2dpd_output_a2dp.o `test -f 'a2dpd_output_a2dp.c' || echo './'`a2dpd_output_a2dp.c; \
then mv -f ".deps/a2dpd-a2dpd_output_a2dp.Tpo" ".deps/a2dpd-a2dpd_output_a2dp.Po"; else rm -f ".deps/a2dpd-a2dpd_output_a2dp.Tpo"; exit 1; fi
a2dpd_output_a2dp.c:502:2: warning: #warning "retry patch support disabled"
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_output_alsa.o -MD -MP -MF ".deps/a2dpd-a2dpd_output_alsa.Tpo" -c -o a2dpd-a2dpd_output_alsa.o `test -f 'a2dpd_output_alsa.c' || echo './'`a2dpd_output_alsa.c; \
then mv -f ".deps/a2dpd-a2dpd_output_alsa.Tpo" ".deps/a2dpd-a2dpd_output_alsa.Po"; else rm -f ".deps/a2dpd-a2dpd_output_alsa.Tpo"; exit 1; fi
a2dpd_output_alsa.c:45:2: warning: #warning "alsa support disabled"
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -MT a2dpd-a2dpd_output_sco.o -MD -MP -MF ".deps/a2dpd-a2dpd_output_sco.Tpo" -c -o a2dpd-a2dpd_output_sco.o `test -f 'a2dpd_output_sco.c' || echo './'`a2dpd_output_sco.c; \
then mv -f ".deps/a2dpd-a2dpd_output_sco.Tpo" ".deps/a2dpd-a2dpd_output_sco.Po"; else rm -f ".deps/a2dpd-a2dpd_output_sco.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -o a2dpd a2dpd-a2dpd.o a2dpd-a2dpd_sdp.o a2dpd-a2dpd_mixer.o a2dpd-a2dpd_uinput.o a2dpd-a2dpd_dbus.o a2dpd-a2dpd_avrcp.o a2dpd-a2dpd_output_a2dp.o a2dpd-a2dpd_output_alsa.o a2dpd-a2dpd_output_sco.o -L/opt/gnome/lib -ldbus-glib-1 -ldbus-1 -lglib-2.0 -lbluetooth -la2dpdcommon -lsbc -lbluetooth
gcc -Wall -o .libs/a2dpd a2dpd-a2dpd.o a2dpd-a2dpd_sdp.o a2dpd-a2dpd_mixer.o a2dpd-a2dpd_uinput.o a2dpd-a2dpd_dbus.o a2dpd-a2dpd_avrcp.o a2dpd-a2dpd_output_a2dp.o a2dpd-a2dpd_output_alsa.o a2dpd-a2dpd_output_sco.o -L/opt/gnome/lib /usr/lib/libdbus-glib-1.so /opt/gnome/lib/libgobject-2.0.so /usr/lib/libdbus-1.so -lnsl /opt/gnome/lib/libglib-2.0.so /home/jocke/Multimedia/a2dp/plugz/alsa-plugins/a2dpd/.libs/liba2dpdcommon.so /usr/lib/libsbc.so /usr/lib/libbluetooth.so
a2dpd-a2dpd_output_a2dp.o: In function `a2dp_state_machine':
a2dpd_output_a2dp.c:(.text+0x1306d): undefined reference to `sdp_get_socket'
a2dpd-a2dpd_output_sco.o: In function `sco_state_machine':
a2dpd_output_sco.c:(.text+0x4717): undefined reference to `sdp_get_socket'
collect2: ld returned 1 exit status
make[3]: *** [a2dpd] Fel 1
make[3]: Leaving directory `/home/jocke/Multimedia/a2dp/plugz/alsa-plugins/a2dpd'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory `/home/jocke/Multimedia/a2dp/plugz/alsa-plugins'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/home/jocke/Multimedia/a2dp/plugz'
make: *** [all] Fel 2
linux-acer:/home/jocke/Multimedia/a2dp/plugz #
linux-acer:/home/jocke/Multimedia/a2dp/plugz #
[-- Attachment #3: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] bluetooth audio
2007-08-09 7:57 [Bluez-devel] bluetooth audio Joakim Ganse
@ 2007-08-11 18:08 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-08-11 18:08 UTC (permalink / raw)
To: BlueZ development
Hi Joakim,
> I'm trying to intall the alsa-lib plugins for bluetooth audio.
> I have followed the instructions at:
> http://bluetooth-alsa.sourceforge.net/build.html
> install libsbc works well but when I install plugz I get errors ?
> I have attached the output of make whare I get the errors.
>
> Do I need a newer kernel? I have 2.6.16.27-0.9-default
> I have alsa version 1.0.14
> My distribution is SLED10 / opensuse 10.1
your kernel is really old, but it should be good enough. However you
might wanna consider an update anyway.
The plugz code is basically dead. Actually it works, but the mainstream
solution is the Bluetooth audio service from the bluez-utils CVS. It now
has A2DP support and this one should be used. It is still a little bit
buggy and we have no good documentation for setting it up, but you might
find enough information in the wiki or on IRC to get this going.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-11 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 7:57 [Bluez-devel] bluetooth audio Joakim Ganse
2007-08-11 18:08 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox