[Asterisk-Users] Compiling chan_bluetooth

Danko Miocevic danko at santirso.com.ar
Sat May 27 08:51:42 MST 2006


Hello, I´m trying to use my phone with asterisk to get GSM connectivity but 
I can´t compile the code.
I got the asterisk, chan_bluetooth, zaptel and libpri sources, the last two 
ones compiled perfectly.
I have added this to the /usr/src/asterisk/channels/Makefile:
    include /usr/src/chan_bluetooth/Makefile
and I´ve also added chan_bluetooth.so to the CHANNEL_LIBS var.
When I do "make install" in the asterisk directory I get lots of this error:

/usr/src/chan_bluetooth/chan_bluetooth.c:2469: error: dereferencing pointer 
to incomplete type

and some others like:

/usr/src/chan_bluetooth/chan_bluetooth.c: En la función 
`remove_sdp_records':
/usr/src/chan_bluetooth/chan_bluetooth.c:2937: error: `sdp_session_t' 
undeclared (first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2937: error: `sdp' undeclared 
(first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2938: error: `sdp_list_t' 
undeclared (first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2938: error: `attr' undeclared 
(first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2939: error: `sdp_record_t' 
undeclared (first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2939: error: `rec' undeclared 
(first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2948: aviso: implicit declaration 
of function `sdp_connect'
/usr/src/chan_bluetooth/chan_bluetooth.c:2948: error: `BDADDR_ANY' 
undeclared (first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2948: error: `BDADDR_LOCAL' 
undeclared (first use in this function)
/usr/src/chan_bluetooth/chan_bluetooth.c:2948: error: `SDP_RETRY_IF_BUSY' 
undeclared (first use in this function)

I´m working on a stable debian, kernel 2.6 and my asterisk is 1.2. I really 
don´t know what is happening, if someone
has an idea I´d be glad to hear it. Thanks for reading,
                                                                             
        Danko 




More information about the asterisk-users mailing list