Hello Postifx users,

I am struggling with a postifx compilation on AIX 6.1 with cyrus-sasl for
doing SMTP AUTH.

These are my flags:
make makefiles CCARGS="-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL
-DHAS_DB -I/opt/pware64/include -I/opt/pware64/include/sasl
-I/opt/pware64/include/openssl" AUXLIBS="-L/opt/pware64/lib
-L/opt/pware64/lib/sasl2 -lsasl2 -ldb -lssl -lcrypto -lpthread"

/opt/pware64/lib contains the libs for Berkley DB 4.8, OpenSSL 0.9.8 and
sasl 2.1.13
and /opt/pware64/include the headers.

This is the error I get, any input appreciated:

[src/smtpd]
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_token.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_check.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_chat.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_state.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_peer.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_sasl_proto.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_sasl_glue.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_proxy.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_xforward.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_dsn_fix.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_milter.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_resolve.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_expand.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -c smtpd_haproxy.c
        gcc -Wmissing-prototypes -Wformat -Wno-comment -DUSE_TLS
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_SSL -DHAS_DB -I/opt/pware64/include
-I/opt/pware64/include/sasl -I/opt/pware64/include/openssl -D_ALL_SOURCE
-DHAS_POSIX_REGEXP -g -O -I. -I../../include -DAIX6 -o smtpd smtpd.o
smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o  smtpd_peer.o
smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o  smtpd_xforward.o
smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o  smtpd_expand.o
smtpd_haproxy.o ../../lib/libmaster.a ../../lib/libtls.a
../../lib/libdns.a  ../../lib/libxsasl.a ../../lib/libmilter.a
../../lib/libglobal.a  ../../lib/libutil.a -L/opt/pware64/lib -lsasl2 -ldb
-lssl -lcrypto -lpthread
ld: 0711-224 WARNING: Duplicate symbol: .memmove
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: .sasl_version_info
ld: 0711-317 ERROR: Undefined symbol: .sasl_set_path
ld: 0711-317 ERROR: Undefined symbol: .sasl_server_init
ld: 0711-317 ERROR: Undefined symbol: .sasl_errstring
ld: 0711-317 ERROR: Undefined symbol: .sasl_done
ld: 0711-317 ERROR: Undefined symbol: .sasl_getprop
ld: 0711-317 ERROR: Undefined symbol: .sasl_listmech
ld: 0711-317 ERROR: Undefined symbol: .sasl_encode64
ld: 0711-317 ERROR: Undefined symbol: .sasl_decode64
ld: 0711-317 ERROR: Undefined symbol: .sasl_server_step
ld: 0711-317 ERROR: Undefined symbol: .sasl_server_start
ld: 0711-317 ERROR: Undefined symbol: .sasl_dispose
ld: 0711-317 ERROR: Undefined symbol: .sasl_server_new
ld: 0711-317 ERROR: Undefined symbol: .sasl_setprop
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.

Reply via email to