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

"Gansser, Martin" <[email protected]> Thu, 8 Apr 2004 11:49:51 +0200
Newsgroups gmane.comp.lib.libesmtp
Message-ID <78224A6821F87A4D8023B133E5B1140BB662B7@srvmxellwangen2.ratc-de.com>
"clocal ; automake ; autoconf" gives the following messages:

Makefile.am:7: `CFLAGS' is a user variable, you should not override it;
Makefile.am:7: use `AM_CFLAGS' instead.
crammd5/Makefile.am:6: `CFLAGS' is a user variable, you should not =
override it;
crammd5/Makefile.am:6: use `AM_CFLAGS' instead.
login/Makefile.am:8: `CFLAGS' is a user variable, you should not =
override it;
login/Makefile.am:8: use `AM_CFLAGS' instead.
ntlm/Makefile.am:6: `CFLAGS' is a user variable, you should not override =
it;
ntlm/Makefile.am:6: use `AM_CFLAGS' instead.
plain/Makefile.am:6: `CFLAGS' is a user variable, you should not =
override it;
plain/Makefile.am:6: use `AM_CFLAGS' instead.
configure.in:234: error: do not use LIBOBJS directly, use AC_LIBOBJ (see =
section `AC_LIBOBJ vs LIBOB
JS'
      If this token and others are legitimate, please use =
m4_pattern_allow.
      See the Autoconf documentation.


configure --enable-emulate-getaddrinfo prints the same error message:

checking for unsigned short... yes
checking size of unsigned short... configure: error: cannot compute =
sizeof (unsigned short), 77
See `config.log' for more details.

Martin

> -----Original Message-----
> From: Brian Stafford [mailto:[email protected]]
> Sent: Thursday, April 08, 2004 11:12 AM
> To: Gansser, Martin
> Cc: [email protected]
> Subject: Re: [libesmtp-devel] protocol.c:217: error:
> `PF_UNSPEC'undeclared(first use in this function)
>=20
>=20
> On 2004.04.08 09:14, Gansser, Martin wrote:
> > with libesmtp-1.0.2 i get the following configure error:
> >=20
> > checking for unsigned short... yes
> > checking size of unsigned short... configure: error: cannot compute
> > sizeof (unsigned short), 77
> > See `config.log' for more details.
> >=20
> > I attached the config.log file
>=20
> OK had a look at this, looks like an autoconf problem.  I=20
> can't see why =20
> the configure script can't determine sizeof (unsigned short)=20
> since this =20
> is part of the configure script (automatically generated by GNU =20
> autoconf).
>=20
> Try running "aclocal ; automake ; autoconf" and then the configure =20
> command again.  See if that helps.
>=20
> Regards
> Brian
>=20