Hi,

My saga continues (the earlier thread had to do with linking to openssl
correctly under OpenBSD). As before, this is OpenBSD 5.9 and postfix 3.1.1.

I have built dovecot 2.2.24 from the upstream source and gotten it working
(hello, file descriptor limits! hello, user authentication weirdness!) but
that doesn't seem to resolve this in the postfix build:

[src/smtpd]
cc -I. -I../../include -DUSE_TLS -I/usr/local/include/eopenssl
-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE="dovecot" -I/usr/local/include
-DHAS_DEV_URANDOM -DHAS_PCRE -I/usr/local/include -UUSE_DYNAMIC_LIBS
-DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat
-Wno-comment -g -O -I. -I../../include -DOPENBSD5 -c smtpd.c
smtpd.c: In function 'main':
smtpd.c:5799: error: 'dovecot' undeclared (first use in this function)
smtpd.c:5799: error: (Each undeclared identifier is reported only once
smtpd.c:5799: error: for each function it appears in.)
*** Error 1 in src/smtpd (Makefile:73 'smtpd.o')
*** Error 1 in /home/benfell/postfix-3.1.1 (Makefile:93 'update')

I am using:

make tidy \
        && make makefiles \
                CCARGS="-DUSE_TLS -I/usr/local/include/eopenssl
-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"" \
                AUXLIBS="-L/usr/local/lib/eopenssl -lssl -lcrypto" \
        && make \
        && sudo sh postfix-install

I'm guessing there's something else I need to stick in here. What could it
be?

Thanks!

Reply via email to