[Asterisk-Users] Compiling chan_bluetooth

Danko Miocevic danko at santirso.com.ar
Tue May 30 16:48:29 MST 2006


I´ve found a solution to my problem, I forgot to install the posix 
development libraries.. now the error has dissapeared to
make place to a new error! :D I still can´t compile.
The new error says:

cc: chan_gsm_bt.o: no se usó el fichero de entrada del enlazador porque no 
se hizo enlace
cc: -lbluetooth: no se usó el fichero de entrada del enlazador porque no se 
hizo enlace

It says that the file wasn´t used because the linker didn´t make link... 
don´t know what to do..
Any ideas?
                                                                             
            Danko


----- Original Message ----- 
From: "Danko Miocevic" <danko at santirso.com.ar>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Saturday, May 27, 2006 12:51 PM
Subject: [Asterisk-Users] Compiling chan_bluetooth


> 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
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users 




More information about the asterisk-users mailing list