Hello managers;
Has anyone found a successful way to build SpamAssassin for Tru64 5.1A?
Ive tried a couple times and the build dies in the manner below. Im
using SpamAssassin because it looks to be pretty slick and a lot of the
BBLISA list readers recommended it to me. Just wondering if anyone here
uses it and if so, how they got it to build on 5.1A.
Thanks
--g
bash-2.05a# make install
cc -std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C
-O4 spamd/spamc.c \
-o spamd/spamc -L/usr/local/lib -ldbm -ldb -lm -liconv
-lutil
cc: Error: spamd/spamc.c, line 50: In this declaration, "in_addr_t" has
no linkage and has a prior declaration in this scope at line number 604
in file /usr/include/sys/types.h. (nolinkage)
typedef unsigned long in_addr_t; /* base type for internet
address */
------------------------^
cc: Warning: spamd/spamc.c, line 169: In this statement, the referenced
type of the pointer value "msg_buf" is "char", which is not compatible
with "unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
if((bytes = full_read (in, msg_buf, max_size+1024, max_size+1024)) >
max_size)
-----------------------------^
cc: Warning: spamd/spamc.c, line 174: In this statement, the referenced
type of the pointer value "header_buf" is "char", which is not
compatible with "const unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
full_write (out,header_buf,bytes2);
--------------------^
cc: Warning: spamd/spamc.c, line 202: In this statement, the referenced
type of the pointer value "header_buf" is "char", which is not
compatible with "const unsigned char" because they differ by
signed/unsigned attribute. (ptrmismatch1)
full_write (out,header_buf,bytes2);
--------------------^
cc: Warning: spamd/spamc.c, line 203: In this statement, the referenced
type of the pointer value "msg_buf" is "char", which is not compatible
with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
full_write (out,msg_buf,bytes);
--------------------^
cc: Warning: spamd/spamc.c, line 306: In this statement, the referenced
type of the pointer value "buf" is "char", which is not compatible with
"unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
if(full_read (in,buf,2,2) != 2 || !('\r' == buf[0] && '\n' ==
buf[1]))
---------------------------^
cc: Warning: spamd/spamc.c, line 321: In this statement, the referenced
type of the pointer value "buf" is "char", which is not compatible with
"unsigned char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
while((bytes=full_read (in,buf,8192, 8192)) > 0)
-------------------------------^
cc: Warning: spamd/spamc.c, line 348: In this statement, the referenced
type of the pointer value "out_buf" is "char", which is not compatible
with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
full_write (out, out_buf, out_index);
-----------------------^
cc: Warning: spamd/spamc.c, line 497: In this statement, the referenced
type of the pointer value "msg_buf" is "char", which is not compatible
with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
full_write (STDOUT_FILENO,msg_buf,amount_read);
--------------------------------^
cc: Warning: spamd/spamc.c, line 512: In this statement, the referenced
type of the pointer value "msg_buf" is "char", which is not compatible
with "const unsigned char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
full_write(STDOUT_FILENO,msg_buf,amount_read);
-------------------------------^
make: *** [spamd/spamc] Error 1
Received on Thu Jul 11 2002 - 20:12:07 NZST