On 6 August 2013, at 09:18, Ted Hatfield <t...@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     d...@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.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to