Re: protocol.c:217: error: `PF_UNSPEC' undeclared(first use in this function)

Brian Stafford <[email protected]> Thu, 08 Apr 2004 09:11:49 +0000
Newsgroups gmane.comp.lib.libesmtp
Message-ID <[email protected]>
On 2004.04.08 09:14, Gansser, Martin wrote:
> with libesmtp-1.0.2 i get the following configure error:
> 
> checking for unsigned short... yes
> checking size of unsigned short... configure: error: cannot compute
> sizeof (unsigned short), 77
> See `config.log' for more details.
> 
> I attached the config.log file

OK had a look at this, looks like an autoconf problem.  I can't see why  
the configure script can't determine sizeof (unsigned short) since this  
is part of the configure script (automatically generated by GNU  
autoconf).

Try running "aclocal ; automake ; autoconf" and then the configure  
command again.  See if that helps.

Regards
Brian