Hi, I'm trying to build the portable version on Ubuntu 14.04.3 LTS, and
am running into the following error. ./configure completes w/out errors, but
make fails:
gabe@phab:~/opensmtpd$ make
make all-recursive
make[1]: Entering directory `/home/gabe/opensmtpd'
Making all in openbsd-compat
make[2]: Entering directory `/home/gabe/opensmtpd/openbsd-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/gabe/opensmtpd/openbsd-compat'
Making all in mk
make[2]: Entering directory `/home/gabe/opensmtpd/mk'
Making all in smtpd
make[3]: Entering directory `/home/gabe/opensmtpd/mk/smtpd'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../smtpd -I../../openbsd-compat -I.
-I/usr/include -DSMTPD_CONFDIR=\"/usr/
local/etc\" -DPATH_CHROOT=\"/var/empty\"
-DPATH_SMTPCTL=\"/usr/local/sbin/smtpctl\" -DPATH_MAILLOCAL=\"/usr/local
/libexec/opensmtpd/mail.local\" -DPATH_LIBEXEC=\"/usr/local/libexec/opensmtpd\"
-DHAVE_CONFIG_H -DIO_SSL -DCA_FIL
E=\"/etc/ssl/cert.pem\" -g -O2 -fPIC -DPIC -Wall -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-securit
y -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset -D_GN
U_SOURCE -DNEED_EVENT_ASR_RUN -c -o ../../smtpd/smtpd-delivery_lmtp.o `test -f
'../../smtpd/delivery_lmtp.c' || e
cho './'`../../smtpd/delivery_lmtp.c
In file included from ../../smtpd/delivery_lmtp.c:28:0:
../../smtpd/delivery_lmtp.c: In function ‘delivery_lmtp_open’:
../../openbsd-compat/err.h:16:25: error: expected ‘)’ before string constant
errx(exitcode, format ": %s", ## args, strerror(errno))
^
../../openbsd-compat/err.h:25:19: note: in definition of macro ‘warnx’
fprintf(stderr, format "\n", ## args)
^
../../openbsd-compat/err.h:16:3: note: in expansion of macro ‘errx’
errx(exitcode, format ": %s", ## args, strerror(errno))
^
../../smtpd/delivery_lmtp.c:206:8: note: in expansion of macro ‘err’
err(1, NULL);
^
../../openbsd-compat/err.h:16:25: warning: null argument where non-null
required (argument 2) [-Wnonnull]
errx(exitcode, format ": %s", ## args, strerror(errno))
^
../../openbsd-compat/err.h:25:19: note: in definition of macro ‘warnx’
fprintf(stderr, format "\n", ## args)
^
../../openbsd-compat/err.h:16:3: note: in expansion of macro ‘errx’
errx(exitcode, format ": %s", ## args, strerror(errno))
^
../../smtpd/delivery_lmtp.c:206:8: note: in expansion of macro ‘err’
err(1, NULL);
^
make[3]: *** [../../smtpd/smtpd-delivery_lmtp.o] Error 1
make[3]: Leaving directory `/home/gabe/opensmtpd/mk/smtpd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gabe/opensmtpd/mk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gabe/opensmtpd'
make: *** [all] Error 2
Any pointers appreciated.
Thanks,
gabe.
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]