http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4860





------- Additional Comments From [EMAIL PROTECTED]  2006-04-21 20:52 -------
Sorry I couldn't test earlier, I just took some time when I seen this ticket 
closed.  I tried to build one of todays svn tarballs from cvs but it's 
failing.  WinXPSP2 with Cygwin.

Didn't "make" used to prompt if you wanted to build spamc?  I used to say no!
If this isn't related, I can always open a seperate ticket!


$ make
make -f spamc/Makefile spamc/spamc.exe
make[1]: Entering directory `/cygdrive/e/data/shared/cygwin/spamassassin'
gcc  -Wall -g -O2 spamc/spamc.c spamc/libspamc.c spamc/utils.c \
        -o spamc/spamc.exe
spamc/spamc.c: In function `get_current_user':
spamc/spamc.c:571: error: `errno' undeclared (first use in this function)
spamc/spamc.c:571: error: (Each undeclared identifier is reported only once
spamc/spamc.c:571: error: for each function it appears in.)
spamc/spamc.c:572: warning: implicit declaration of function `getpwuid'
spamc/spamc.c:572: warning: assignment makes pointer from integer without a 
cast
spamc/spamc.c:582: error: dereferencing pointer to incomplete type
spamc/libspamc.c:86:1: warning: "INADDR_NONE" redefined
In file included from /usr/include/netinet/in.h:14,
                 from spamc/libspamc.h:41,
                 from spamc/libspamc.c:19:
/usr/include/cygwin/in.h:160:1: warning: this is the location of the previous 
defi
nition
spamc/libspamc.c: In function `_translate_connect_errno':
spamc/libspamc.c:138: error: `EBADF' undeclared (first use in this function)
spamc/libspamc.c:138: error: (Each undeclared identifier is reported only once
spamc/libspamc.c:138: error: for each function it appears in.)
spamc/libspamc.c:139: error: `EFAULT' undeclared (first use in this function)
spamc/libspamc.c:140: error: `ENOTSOCK' undeclared (first use in this function)
spamc/libspamc.c:141: error: `EISCONN' undeclared (first use in this function)
spamc/libspamc.c:142: error: `EADDRINUSE' undeclared (first use in this 
function)
spamc/libspamc.c:143: error: `EINPROGRESS' undeclared (first use in this 
function)

spamc/libspamc.c:144: error: `EALREADY' undeclared (first use in this function)
spamc/libspamc.c:145: error: `EAFNOSUPPORT' undeclared (first use in this 
function
)
spamc/libspamc.c:148: error: `ECONNREFUSED' undeclared (first use in this 
function
)
spamc/libspamc.c:149: error: `ETIMEDOUT' undeclared (first use in this 
function)
spamc/libspamc.c:150: error: `ENETUNREACH' undeclared (first use in this 
function)

spamc/libspamc.c:153: error: `EACCES' undeclared (first use in this function)
spamc/libspamc.c: In function `_opensocket':
spamc/libspamc.c:214: error: `errno' undeclared (first use in this function)
spamc/libspamc.c:222: error: `EPROTONOSUPPORT' undeclared (first use in this 
funct
ion)
spamc/libspamc.c:223: error: `EINVAL' undeclared (first use in this function)
spamc/libspamc.c:226: error: `EACCES' undeclared (first use in this function)
spamc/libspamc.c:229: error: `ENFILE' undeclared (first use in this function)
spamc/libspamc.c:230: error: `EMFILE' undeclared (first use in this function)
spamc/libspamc.c:231: error: `ENOBUFS' undeclared (first use in this function)
spamc/libspamc.c:232: error: `ENOMEM' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_unix':
spamc/libspamc.c:343: error: `errno' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_tcp':
spamc/libspamc.c:425: error: `errno' undeclared (first use in this function)
spamc/libspamc.c: In function `transport_setup':
spamc/libspamc.c:1554: error: `errno' undeclared (first use in this function)
make[1]: *** [spamc/spamc.exe] Error 1
make[1]: Leaving directory `/cygdrive/e/data/shared/cygwin/spamassassin'
make: *** [spamc/spamc.exe] Error 2




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to