[Asterisk-Users] spandsp

Maurizio Marini maumar at datalogica.com
Fri Sep 17 03:30:37 MST 2004


On Thursday 19 August 2004 23:29, administrator tootai wrote:
> I made one. Can be found at
> http://ftp2.tootai.net/spandsp-0.0.1k-whole.tar.gz The 3 headers files
> are included, made a short readme file for installation and modify the
> Makefile.patch (remove the dtmftotext). Comments welcome.

debian sid with littiff3-dev & libtiff4-dev installed;
compiling spandsp i get this error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c t4.c -MT t4.lo -MD -MP -MF .deps/t4.TPlo  -fPIC -DPIC -o .libs/t4.lo
In file included from /usr/include/tiffiop.h:45,
                 from t4.c:38:
/usr/include/tif_dir.h:240: error: conflicting types for `TIFFFieldInfo'
/usr/include/tiffio.h:448: error: previous declaration of `TIFFFieldInfo'
make[2]: *** [t4.lo] Error 1

`TIFFFieldInfo' is defined in tif_dir.h and in my tiffio.h:

/usr/include# grep TIFFFieldInfo *
tif_dir.h:} TIFFFieldInfo;
tif_dir.h:extern        void _TIFFMergeFieldInfo(TIFF*, const TIFFFieldInfo[], int);
tif_dir.h:extern        const TIFFFieldInfo* _TIFFFindFieldInfo(TIFF*, ttag_t, TIFFDataType);
tif_dir.h:extern        const TIFFFieldInfo* _TIFFFieldWithTag(TIFF*, ttag_t);
tiffio.h:} TIFFFieldInfo;
tiffio.h:    const TIFFFieldInfo  *info;
tiffio.h:extern void TIFFMergeFieldInfo(TIFF*, const TIFFFieldInfo[], int);
tiffio.h:extern const TIFFFieldInfo* TIFFFindFieldInfo(TIFF*, ttag_t, TIFFDataType);
tiffio.h:extern const TIFFFieldInfo* TIFFFieldWithTag(TIFF*, ttag_t);
tiffiop.h:      TIFFFieldInfo** tif_fieldinfo;  /* sorted table of registered tags */


what do u suggest me?

-- 
Maurizio Marini



More information about the asterisk-users mailing list