Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 14:16:08 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        kpaasial@gmail.com, roberthuff@rcn.com
Cc:        freebsd-stable@freebsd.org, freebsd-current@freebsd.org, beat.siegenthaler@beatsnet.com
Subject:   Re: troubles with buildworld/sendmail/sasl/clang
Message-ID:  <201303211416.r2LEG8cG041216@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20811.4719.174493.857351@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
	Kimmo Paasiala writes:

	>  > =================buildworld===============
	>  >
	>  > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1864:8:
	>  > error: incompatible pointer types passing 'void ()' to parameter of type
	>  > 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)'
	>  > [-Werror,-Wincompatible-pointer-types]
	>  >                                    getsasldata, NULL, XS_AUTH);
	>  >                                    ^~~~~~~~~~~
	>  > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:2519:67: note:
	>  > passing argument to parameter here
	>  > extern int      reply __P((MAILER *, MCI *, ENVELOPE *, time_t, void
	>  > (*)__P((char *, bool, MAILER *, MCI *, ENVELOPE *)), char **, int));
	>  >                                                                        ^
	>  > /usr/obj/usr/src/tmp/usr/include/sys/cdefs.h:129:21: note: expanded from
	>  > macro '__P'
	>  > #define __P(protos)     protos          /* full-blown ANSI C */
	>  >                         ^
	>  > 3 errors generated.
	>  > *** [usersmtp.o] Error code 1
	>  
	>  
	>  I can not help with the error but I really have to make this question:
	>  Does FreeBSD really have to support pre-ANSI C compilers in 2013?

		I have been getting this also for at least the last two months.
		(There is no src.conf; make.conf is appended.  Current system
	is:

	FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012  amd64 

		and I have cyrus-sasl-2.1.26_2 installed and working with that
	installation.)

		Respectfully,


				Robert Huff

me too, also on amd64 -current
no src.conf

# cat /etc/make.conf
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=    -lsasl2
WITH_PKGNG=yes
PERL_VERSION=5.16.2

Anton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303211416.r2LEG8cG041216>