tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Graham Van Epps <gvanepps@compurex.com>
Subject: Build SpamAssassin on 5.1A
Date: Thu, 11 Jul 2002 16:14:59 -0400	[thread overview]
Message-ID: <000101c22917$a1b97df0$4f01000a@bholub> (raw)

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
 



                 reply	other threads:[~2002-07-11 20:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox