From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Graham Van Epps Newsgroups: gmane.os.tru64.managers Subject: Build SpamAssassin on 5.1A Date: Thu, 11 Jul 2002 16:14:59 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <000101c22917$a1b97df0$4f01000a@bholub> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1026419480 13669 127.0.0.1 (11 Jul 2002 20:31:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2002 20:31:20 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Skat-0003Y8-00 for ; Thu, 11 Jul 2002 22:31:19 +0200 Original-Received: (qmail 10046 invoked by uid 5); 11 Jul 2002 20:12:03 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10037 invoked from network); 11 Jul 2002 20:12:03 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 11 Jul 2002 20:12:03 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZ300IPJPG2FQ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 11 Jul 2002 16:12:02 -0400 (EDT) Original-Received: from greymalkin.compurex.com (greymalkin.compurex.com [216.129.153.3]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZ3008FCPFVGV@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 11 Jul 2002 16:11:56 -0400 (EDT) Original-Received: from bholub (proxy0.compurex.com [216.129.153.2]) by greymalkin.compurex.com (8.12.4/8.12.4) with ESMTP id g6BKBrje457532 for ; Thu, 11 Jul 2002 16:11:53 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:942 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:942 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