[Asterisk-Dev] [Asterisk-Users] Asterisk + spandsp
Steve Underwood
steveu at coppice.org
Mon Jul 11 17:26:24 MST 2005
Leonardo F. Bauchwitz wrote:
> Can anyone help for this topic?
>
> Leonardo F. Bauchwitz wrote:
>
>> Hello all:
>> Excuse, I ask first in the users-list, but I haven 't answer.
>> I dont know, if is my question to do hier, or not, but anyway:
>> I 've installed Asterisk (head, development because I need Realtime),
>> but when I try to apply the patch (Makefile.patch from spandsp) I 've
>> got many errors, reason why I wrote myself the apps/Makefile.
>> (Of course, first, I compiled spandsp, etc.)
>> Then, I try to compile Asterisk, but it 's impossible:
>> The output:
>>
>>> app_rxfax.c:14:1: warning: "_GNU_SOURCE" redefined
>>> <command line>:4:1: warning: this is the location of the previous
>>> definition
>>> app_rxfax.c: In function `phase_e_handler':
>>> app_rxfax.c:70: error: structure has no member named `resolution'
>>> app_rxfax.c:77: error: structure has no member named `callerid'
>>> app_rxfax.c:81: error: structure has no member named `resolution'
>>> app_rxfax.c:83: error: structure has no member named `rx_file'
>>> make[1]: *** [app_rxfax.so] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/apps'
>>> make: *** [subdirs] Error 1
>>
>>
>>
>> Can anyone help me?
>
Not really. These things are defined in the spandsp headers. If they
cannot be found during the compilation of app_rxfax you should have had
a warning about missing header files. Let's assume the above errors are
not the whole list. The most likely thing is you built spandsp with
./configure
make
make install
which will install it in /usr/local. Perhaps /usr/local is not in your
search paths. Try building with
./configure --prefix=/usr
make
make install
This is not a specific spandsp issue. Almost any package built with
./configure behaves in this way.
Regards,
Steve
More information about the asterisk-dev
mailing list