RE: protocol.c:217: error:`PF_UNSPEC'undeclared(first use in this function)
"Gansser, Martin" <[email protected]> Thu, 8 Apr 2004 12:37:59 +0200
| Newsgroups | gmane.comp.lib.libesmtp |
|---|---|
| Message-ID | <78224A6821F87A4D8023B133E5B1140BA1B7EA@srvmxellwangen2.ratc-de.com> |
the openssl warnings are suppressed, but: /usr/local/pa20_32/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I. = -I/data/gnome-2.4/include -I/usr/X11R6/in clude -I/usr/local/include -I/usr/contrib/X11R6/include -std=3Dc99 = -pedantic -g -O3 -Wall -pedantic -g -I/data/gnome-2.4/include -I/usr/X11R6/include -L/data/gnome-2.4/lib = -L/usr/X11R6/lib -I/usr/local/ include -L/usr/local/lib -I/usr/contrib/X11R6/include = -L/usr/contrib/X11R6/lib -O2 -pipe -mschedule=3D 8000 -mpa-risc-2-0 -c protocol.c -MT protocol.lo -MD -MP -MF = .deps/protocol.TPlo -fPIC -DPIC -o pro tocol.lo protocol.c: In function `do_session': protocol.c:151: warning: implicit declaration of function `strdup' protocol.c:151: warning: assignment makes pointer from integer without a = cast protocol.c:213: error: `PF_UNSPEC' undeclared (first use in this = function) protocol.c:213: error: (Each undeclared identifier is reported only once protocol.c:213: error: for each function it appears in.) protocol.c:214: error: `SOCK_STREAM' undeclared (first use in this = function) protocol.c:226: warning: implicit declaration of function `socket' protocol.c:232: warning: implicit declaration of function `connect' protocol.c: In function `cb_ehlo': protocol.c:723: warning: implicit declaration of function `strcasecmp' protocol.c:735: warning: implicit declaration of function `strncasecmp' Martin > -----Original Message----- > From: Pawel Salek [mailto:[email protected]] > Sent: Thursday, April 08, 2004 12:29 PM > To: Gansser, Martin > Subject: Re: [libesmtp-devel] protocol.c:217: > error:`PF_UNSPEC'undeclared(first use in this function) >=20 >=20 >=20 > On 2004.04.08 12:19, Gansser, Martin wrote: > > configure works now with: --enable-emulate-getaddrinfo > > --enable-pthreads=3Dno >=20 > Try > ./configure --enable-emulate-getaddrinfo --enable-pthreads=3Dno --=20 > disable-more-warnings >=20 > -pawel