[Dovecot] make install fails on Solaris 10

Henrik Johansson henrikj at henkis.net
Sun Feb 24 01:32:22 EET 2013


Hello, I am trying to build dovecot-2.1.15 on Solaris 10 update 10 with Solaris Studio 12.3 and get this error:

/bin/bash ../../libtool --tag=CC    --mode=link /opt/SUNWspro/bin/cc  -fast -xipo=2 -I/usr/sfw/include -I/usr/sfw/include   -no-undefined -o doveadm doveadm-mail.o doveadm-mail-altmove.o  doveadm-mail-expunge.o doveadm-mail-fetch.o  doveadm-mail-import.o doveadm-mail-index.o  doveadm-mail-iter.o doveadm-mail-mailbox.o  doveadm-mail-mailbox-status.o  doveadm-mail-copymove.o  doveadm-mailbox-list-iter.o  doveadm-mail-search.o doveadm-mail-server.o  doveadm-print.o doveadm-settings.o  doveadm-util.o server-connection.o doveadm.o  doveadm-auth.o doveadm-director.o  doveadm-dump.o doveadm-dump-dbox.o  doveadm-dump-index.o doveadm-dump-log.o  doveadm-dump-mailboxlog.o  doveadm-dump-thread.o doveadm-instance.o  doveadm-kick.o doveadm-log.o  doveadm-master.o doveadm-mount.o  doveadm-mutf7.o doveadm-penalty.o  doveadm-print-flow.o doveadm-print-pager.o  doveadm-print-tab.o doveadm-print-table.o  doveadm-proxy.o doveadm-pw.o  doveadm-sis.o doveadm-stats.o  doveadm-who.o dsync/libdsync.a    ../auth/libpassword.a  ../lib-ntlm/libntlm.a  ../lib-otp/libotp.a    ../../src/lib-storage/libdovecot-storage.la -R/usr/sfw/lib -L/usr/sfw/lib -lssl -lcrypto -lsocket -lnsl -ldl  ../../src/lib-dovecot/libdovecot.la  -export-dynamic -lnsl -lsocket  -lrt -lsendfile
libtool: link: /opt/SUNWspro/bin/cc -fast -xipo=2 -I/usr/sfw/include -I/usr/sfw/include -o .libs/doveadm doveadm-mail.o doveadm-mail-altmove.o doveadm-mail-expunge.o doveadm-mail-fetch.o doveadm-mail-import.o doveadm-mail-index.o doveadm-mail-iter.o doveadm-mail-mailbox.o doveadm-mail-mailbox-status.o doveadm-mail-copymove.o doveadm-mailbox-list-iter.o doveadm-mail-search.o doveadm-mail-server.o doveadm-print.o doveadm-settings.o doveadm-util.o server-connection.o doveadm.o doveadm-auth.o doveadm-director.o doveadm-dump.o doveadm-dump-dbox.o doveadm-dump-index.o doveadm-dump-log.o doveadm-dump-mailboxlog.o doveadm-dump-thread.o doveadm-instance.o doveadm-kick.o doveadm-log.o doveadm-master.o doveadm-mount.o doveadm-mutf7.o doveadm-penalty.o doveadm-print-flow.o doveadm-print-pager.o doveadm-print-tab.o doveadm-print-table.o doveadm-proxy.o doveadm-pw.o doveadm-sis.o doveadm-stats.o doveadm-who.o  dsync/libdsync.a ../auth/libpassword.a ../lib-ntlm/libntlm.a ../lib-otp/libotp.a ../../src/lib-storage/.libs/libdovecot-storage.so -L/usr/sfw/lib /home/henrikj/Build/dovecot-2.1.15/src/lib-dovecot/.libs/libdovecot.so -lssl -lcrypto -ldl ../../src/lib-dovecot/.libs/libdovecot.so -lnsl -lsocket -lrt -lsendfile -R/opt/HNKSdovecot/lib/dovecot -R/usr/sfw/lib
ld: warning: file ../../src/lib-dovecot/.libs/libdovecot.so: linked to /home/henrikj/Build/dovecot-2.1.15/src/lib-dovecot/.libs/libdovecot.so: attempted multiple inclusion of file
ld: warning: file ../../src/lib-dovecot/.libs/libdovecot.so: linked to /home/henrikj/Build/dovecot-2.1.15/src/lib-dovecot/.libs/libdovecot.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
$XBKaiwbjOCHRV5w.array_append_array_i..L93 dsync/libdsync.a(dsync-brain.o)
$XBKaiwbjOCHRV5w.array_append_array_i..L94 dsync/libdsync.a(dsync-brain.o)
$XBKaiwbjOCHRV5w.array_append_array_i..L95 dsync/libdsync.a(dsync-brain.o)
ld: fatal: symbol referencing errors. No output written to .libs/doveadm
*** Error code 2
make: Fatal error: Command failed for target `doveadm'
Current working directory /home/henrikj/Build/dovecot-2.1.15/src/doveadm
*** Error code 1

Any suggestions? 

Thanks
Henrik


More information about the dovecot mailing list