[Asterisk-Users] spandsp

Edward Eastman ed at dm3.co.uk
Sat Sep 18 15:46:03 MST 2004


I think the port.h in this distribution may have been created from
tiffv3.5.7 while you have tiffv3.6.0 - (or maybe something else), anyway I
had this problem, and installing tiffv3.5.7 and copying the port.h from that
distribution to /usr/local/include fixed it

HTH

Ed

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Maurizio
Marini
Sent: 17 September 2004 11:31
To: asterisk-users at lists.digium.com
Cc: administrator tootai
Subject: Re: [Asterisk-Users] spandsp

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




More information about the asterisk-users mailing list