troubles with buildworld/sendmail/sasl/clang
Anton Shterenlikht
mexas at bristol.ac.uk
Thu Mar 21 14:16:21 UTC 2013
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
More information about the freebsd-current
mailing list