Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2013 18:50:20 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        "freebsd-stable@freebsd.org List" <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD-Update + Sendmail
Message-ID:  <EC151460-ECFA-4027-9A3D-422E5D986743@lafn.org>
In-Reply-To: <alpine.BSF.2.00.1308061113030.28510@io-tx.com>
References:  <5200FE0E.8506.5CB69E@lausts.acm.org> <alpine.BSF.2.00.1308061113030.28510@io-tx.com>

index | next in thread | previous in thread | raw e-mail


On 6 August 2013, at 09:18, Ted Hatfield <ted@io-tx.com> wrote:

> I too have been updating my systems by updating and building from source. To recompile and install sendmail from the /usr/src tree you can run these commands.
> 
> cd /usr/src/lib/libsm; make clean; make obj; make depend; make
> cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
> cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make install
> 
> This procedure will follow all the /etc/make.conf arguments.

FreeBSD zool.lafn.org 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #4: Wed Feb 20 22:34:04 PST 2013     doug@zool.lafn.org:/usr/obj/usr/src/sys/LAFN  i386


make of sendmail yields:

cc -O2 -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/sasl -DSASL -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c
cc1: warnings being treated as errors
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c: In function 'sm_sasl_init':
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 1 of 'sasl_set_alloc' from incompatible pointer type
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 2 of 'sasl_set_alloc' from incompatible pointer type
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c:141: warning: passing argument 3 of 'sasl_set_alloc' from incompatible pointer type
*** [sasl.o] Error code 1


/etc/make.conf:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
WITHOUT_X11=yes

# added by use.perl 2013-05-22 13:05:04
PERL_VERSION=5.12.4


I can't figure out where cc1 has been configured to treat warnings as errors.  This has not happened before to me.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC151460-ECFA-4027-9A3D-422E5D986743>