[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling on OpenBSD
- To: <magicmail-users@linuxmagic.com>
- Subject: Compiling on OpenBSD
- From: Marcus Bointon <marcus@synchromedia.co.uk>
- Date: Thu, 22 May 2003 13:21:23 +0100
- Delivered-to: mailing list magicmail-users@linuxmagic.com
- Mailing-list: contact magicmail-users-help@linuxmagic.com; run by ezmlm
- User-agent: Microsoft-Entourage/10.1.1.2418
I'm trying to get magic-smtpd 0.7.1 compiled on OpenBSD 3.1-stable on i386
and I'm getting a whole bunch of warnings & errors. Full output of gmake
(regular BSD make didn't work either) follows. Is this lot something I can
fix?
Is there a searchable archive of this list anywhere?
sed -f config_spam_rule_h.sed spam_rules.in > config_spam_rule.h.tmp
cat config_spam_rule.h.tmp | sed -e 's/-%-Q/-%-q/' > config_spam_rule.h
rm config_spam_rule.h.tmp
gcc -Wall -I. -pipe -g -O0 -D_LMDEBUG -I./lmlibs -c -o magic-smtpd.o
magic-smtpd.c
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from magic-smtpd.c:50:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_msd.h:41,
from magic-smtpd.c:54:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_qmail.h:41,
from magic-smtpd.c:55:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from strlist.h:36,
from config_qmail.h:43,
from magic-smtpd.c:55:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_spam_rule.h:7,
from magic-smtpd.c:56:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from strlist.h:36,
from config_spam_rule.h:9,
from magic-smtpd.c:56:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from magic-smtpd.c:56:
config_spam_rule.h:18: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:16: warning: this is the location of the previous
definition
config_spam_rule.h:20: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:18: warning: this is the location of the previous
definition
config_spam_rule.h:22: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:20: warning: this is the location of the previous
definition
config_spam_rule.h:24: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:22: warning: this is the location of the previous
definition
config_spam_rule.h:28: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:24: warning: this is the location of the previous
definition
config_spam_rule.h:30: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:28: warning: this is the location of the previous
definition
config_spam_rule.h:32: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:30: warning: this is the location of the previous
definition
config_spam_rule.h:34: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:32: warning: this is the location of the previous
definition
config_spam_rule.h:36: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:34: warning: this is the location of the previous
definition
config_spam_rule.h:38: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:36: warning: this is the location of the previous
definition
config_spam_rule.h:40: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:38: warning: this is the location of the previous
definition
config_spam_rule.h:42: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:40: warning: this is the location of the previous
definition
config_spam_rule.h:44: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:42: warning: this is the location of the previous
definition
config_spam_rule.h:46: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:44: warning: this is the location of the previous
definition
config_spam_rule.h:48: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:46: warning: this is the location of the previous
definition
config_spam_rule.h:50: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:48: warning: this is the location of the previous
definition
config_spam_rule.h:54: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:50: warning: this is the location of the previous
definition
config_spam_rule.h:56: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:52: warning: this is the location of the previous
definition
config_spam_rule.h:58: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:54: warning: this is the location of the previous
definition
config_spam_rule.h:60: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:56: warning: this is the location of the previous
definition
config_spam_rule.h:62: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:58: warning: this is the location of the previous
definition
config_spam_rule.h:64: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:60: warning: this is the location of the previous
definition
config_spam_rule.h:66: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:62: warning: this is the location of the previous
definition
config_spam_rule.h:68: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:64: warning: this is the location of the previous
definition
config_spam_rule.h:70: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:66: warning: this is the location of the previous
definition
config_spam_rule.h:72: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:68: warning: this is the location of the previous
definition
config_spam_rule.h:74: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:70: warning: this is the location of the previous
definition
config_spam_rule.h:76: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:72: warning: this is the location of the previous
definition
config_spam_rule.h:78: warning: `SPAM_CONTROL_BOOL' redefined
config_spam_rule.h:74: warning: this is the location of the previous
definition
config_spam_rule.h:80: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:76: warning: this is the location of the previous
definition
config_spam_rule.h:82: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:80: warning: this is the location of the previous
definition
config_spam_rule.h:84: warning: `SPAM_CONTROL_STRLIST' redefined
config_spam_rule.h:82: warning: this is the location of the previous
definition
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_virus_rule.h:36,
from magic-smtpd.c:57:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from smtp.h:36,
from magic-smtpd.c:58:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from check_user.h:36,
from magic-smtpd.c:60:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_msd.h:41,
from check_user.h:38,
from magic-smtpd.c:60:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from spam_check.h:36,
from magic-smtpd.c:61:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from config_spam_rule.h:7,
from spam_check.h:38,
from magic-smtpd.c:61:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from strlist.h:36,
from config_spam_rule.h:9,
from spam_check.h:38,
from magic-smtpd.c:61:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from strlist.h:36,
from magic-smtpd.c:63:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
In file included from lmlibs/lmalloc/lmalloc.h:38,
from lmlibs/liblm.h:41,
from utils.h:36,
from magic-smtpd.c:64:
/usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
magic-smtpd.c: In function `msd_rcpt_callback':
magic-smtpd.c:1180: structure has no member named `valid_helo_domain'
magic-smtpd.c:1191: structure has no member named `spam_check'
magic-smtpd.c:1252: structure has no member named `smtp_blocking'
magic-smtpd.c:1253: structure has no member named `quarantine_ext'
magic-smtpd.c:1258: structure has no member named `spam_check'
magic-smtpd.c:1273: structure has no member named `spam_check'
magic-smtpd.c:1307: structure has no member named `smtp_blocking'
magic-smtpd.c:1311: structure has no member named `smtp_blocking'
gmake: *** [magic-smtpd.o] Error 1
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk