From root@tijeras.caja-granada.es  Wed Feb 26 00:06:43 2003
Return-Path: <root@tijeras.caja-granada.es>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 142AB37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 00:06:43 -0800 (PST)
Received: from mail.ceca.es (mail.ceca.es [80.68.128.18])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9C88B43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 00:06:38 -0800 (PST)
	(envelope-from root@tijeras.caja-granada.es)
Received: from tijeras.caja-granada.es ([192.168.25.10])
	by mail.ceca.es (8.8.8+Sun/8.8.8) with ESMTP id JAA28355
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 09:06:34 +0100 (MET)
Received: from tijeras.caja-granada.es (localhost.caja-granada.es [127.0.0.1])
	by tijeras.caja-granada.es (8.12.7/8.12.6) with ESMTP id h1Q86XQp065302
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 2003 09:06:34 +0100 (CET)
	(envelope-from root@tijeras.caja-granada.es)
Received: (from root@localhost)
	by tijeras.caja-granada.es (8.12.7/8.12.6/Submit) id h1Q86WQ3065294;
	Wed, 26 Feb 2003 09:06:32 +0100 (CET)
Message-Id: <200302260806.h1Q86WQ3065294@tijeras.caja-granada.es>
Date: Wed, 26 Feb 2003 09:06:32 +0100 (CET)
From: jmegias@caja-granada.es
To: FreeBSD-gnats-submit@freebsd.org
Subject: Error building world with sasl support in sendmail
X-Send-Pr-Version: 3.113

>Number:         48695
>Category:       misc
>Synopsis:       Error building world with sasl support in sendmail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 26 00:10:09 PST 2003
>Closed-Date:    Wed Feb 26 00:19:25 PST 2003
>Last-Modified:  Wed Feb 26 00:19:25 PST 2003
>Originator:     Jose Manuel Megias Sanchez <jmegias@caja-granada.es>
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Caja General Ahorros Granada
>Environment:
System: FreeBSD tijeras.caja-granada.es 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Dec 12 08:05:16 CET 2002 root@tijeras.caja-granada.es:/usr/src/sys/compile/TIJERAS i386


	
>Description:
	I'm trying to add sasl support to sendmail. Then I've prepared the file /etc/make.conf with the following lines:
	SENDMAIL_CFLAGS+=   -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SASL
	SENDMAIL_LDFLAGS+=  -L/usr/local/lib
	SENDMAIL_LDADD+=    -lsasl

	Then I've updated the system via cvsup to 4.7 stable release and making a buildworld break with the following error:

	===> lib/libmilter
	cc -O -pipe  -I/usr/src/lib/libmilter/../../contrib/sendmail/src -I/usr/src/lib/
	libmilter/../../contrib/sendmail/include -I. -DNETINET6 -DNOT_SENDMAIL -Dsm_snpr
	intf=snprintf -D_THREAD_SAFE -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SA
	SL  -c /usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c -o main.o
	cc: cannot specify -o with -c or -S and multiple compilations
	*** Error code 1

	Stop in /usr/src/lib/libmilter.
	*** Error code 1

	Stop in /usr/src/lib.
	*** Error code 1

	Stop in /usr/src.
	*** Error code 1

	Stop in /usr/src.
	*** Error code 1

	Stop in /usr/src.
	*** Error code 1

	Stop in /usr/src.
	tijeras# 

>How-To-Repeat:
	Always exists the before make.conf file and making a buildworld.
>Fix:

	Make buildworld makes ok if not exists the make.conf file.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Wed Feb 26 00:18:29 PST 2003 
State-Changed-Why:  
Remove a stray `-' from SENDMAIL_CFLAGS after -DSASL. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48695 
>Unformatted:
