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

"Gansser, Martin" <[email protected]> Thu, 8 Apr 2004 13:00:22 +0200
Newsgroups gmane.comp.lib.libesmtp
Message-ID <78224A6821F87A4D8023B133E5B1140BB662BB@srvmxellwangen2.ratc-de.com>
fantastic, compiles now fine.

great thanks Martin

> -----Original Message-----
> From: Brian Stafford [mailto:[email protected]]
> Sent: Thursday, April 08, 2004 12:44 PM
>
> Might be getting somewhere. Try configure with
> --enable-pthreads=3Dno --disable-isoc --enable-more-warnings=3Dno
>=20
> I think the strict ISO C check (--std=3Dc99) has disabled parts of the =
=20
> standard C library headers.  Normally autoconf will define=20
> the correct =20
> feature macros to enable things like getaddrinfo(), strdup() etc, =20
> however I've not had any feedback from HPUX users before.
> --disable-isoc will work around this.
>=20
> --enable-more-warnings=3Dno should get rid of the OpenSSL=20
> header problem =20
> warnings, the complaint from GCC is, indeed, correct.
>=20
> I dont know what the problem is with pthreads on your platform, but =20
> disabling it seems to help.  LibESMTP should work fine with=20
> Balsa even =20
> if it is built with thread support.
>=20
> Hope this helps
> Brian
>=20