[Asterisk-Users] Spandsp question ( re: compiling )

Sean Kennedy skennedy at tpno-co.org
Thu Mar 24 07:40:42 MST 2005


Steven Critchfield wrote:

>On Wed, 2005-03-23 at 17:50 -0800, Sean Kennedy wrote:
>  
>
>>I am trying to compile spandsp on my asterisk server, and it keeps 
>>failing out with the following
>>
>>t4.c:38:21: tiffiop.h: No such file or directory
>>In file included from t4.c:41:
>>spandsp/t4.h:62: error: syntax error before "TIFF"
>>spandsp/t4.h:62: warning: no semicolon at end of struct or union
>>spandsp/t4.h:63: warning: data definition has no type or storage class
>>spandsp/t4.h:64: error: syntax error before '*' token
>>spandsp/t4.h:64: warning: data definition has no type or storage class
>>spandsp/t4.h:87: error: syntax error before '}' token
>>
>>Using my amazing powers of comrehension, I'm getting that I'm missing 
>>the TIFF lib.  I'm on fc2, so I do a simple yum search tiff.  I then 
>>installed libtiff-devel, the only thing I didn't have installed, and I 
>>get the same error.
>>
>>Is that not the correct lib?  The almighty google didn't help much, so 
>>I'm sorta stuck not knowing where to go next.
>>    
>>
>
>You did most of the right work. Follow the link below to get the proper
>google search string. It returns 3 links for me and the first one I
>checked had the proper answer for you.
>
>http://tinyurl.com/6ec25
>
>  
>
Thanks Steve,

Yeah, I didn't realized I'd needed those other files.  Once I got that, 
everything else sorta fell into place ( er..well, in a manner of 
speaking.  Had to manually patch the make file, then I had to learn that 
spaces are not "OK" in make files.  Then something was borked; I 
couldn't do make install from the asterisk directory, so I had to copy 
the so files to asterisk's lib directory.  Then I had to copy 
libspandsp.so.0 to /usr/lib instead of where it's isntalled.  But other 
then that....:)  )


Thanks for the pointer, now to get to testin'.

Sean



More information about the asterisk-users mailing list