From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 04:49:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D4A816A4CE for ; Thu, 29 Jan 2004 04:49:32 -0800 (PST) Received: from msr16.hinet.net (msr16.hinet.net [168.95.4.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id B57D743D1F for ; Thu, 29 Jan 2004 04:49:30 -0800 (PST) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-78.HINET-IP.hinet.net [61.227.219.78]) by msr16.hinet.net (8.9.3/8.9.3) with SMTP id UAA14092 for ; Thu, 29 Jan 2004 20:49:27 +0800 (CST) Date: Thu, 29 Jan 2004 20:49:51 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040129204951.79a74c0a.y2kbug@ms25.hinet.net> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Mailfilter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: y2kbug@ms25.hinet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 12:49:32 -0000 Dear All, For awhile now I've been using a Linux/Unix program called Mailfilter, and it is SUPERB. It has solved my problems with the continuous bombardment of Windows viruses that pour into my inbox. Unlike Procmail, Mailfilter deletes the garbage on the mail server, so you don't have to download, which is of major importance if you're on dialup (as I am most of the time). Alas, I have not been able to get Mailfilter to compile on FreeBSD, even though it is claimed to work. It is not in the ports collection (though I wish it was - any developers interested?). Rather, you have to download the source from Sourceforge and compile. Below I've reproduced the part of the make process where the error shows up. If anybody has a suggestion, I'd be grateful. best regards, Robert Making all in src gmake[2]: Entering directory `/root/mailfilter-0.6/src' source='rcfile.cc' object='rcfile.o' libtool=no \ depfile='.deps/rcfile.Po' tmpdepfile='.deps/rcfile.TPo' \ depmode=gcc /usr/local/bin/bash ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I../src -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -I/usr/local/include -Wall -g -O2 -c -o rcfile.o `test -f 'rcfile.cc' || echo './'`rcfile.cc rcfile.ll:230: conflicting types for `typedef union YYSTYPE YYSTYPE' rcparser.h:40: previous declaration as `typedef union YYSTYPE YYSTYPE' rcfile.ll:231: conflicting types for `union YYSTYPE yylval' rcparser.h:41: previous declaration as `union YYSTYPE yylval' gmake[2]: *** [rcfile.o] Error 1 gmake[2]: Leaving directory `/root/mailfilter-0.6/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/mailfilter-0.6' gmake: *** [all] Error 2