[Dovecot] version 2.2.6 breaks compiling on Solaris 10 sparc
Jake Goerzen
jgoerzen at opencsw.org
Sat Sep 28 02:29:46 EEST 2013
Hello,
I maintain the dovecot package at opencsw.org. The latest release of
dovecot verison 2.2.6 has some changes to lib-http which is breaking
compiling on Solaris 10 sparc (though x86 builds successfully). Here is
part of the compiler output while building:
libtool: compile: /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../..
-I../../src/lib -I../../src/lib-test -I../../src/lib-dns
-I../../src/lib-ssl-iostream -I/opt/csw/include/mysql
-I/opt/csw/include/postgresql -I/opt/csw/include -xO3 -m32
-xarch=sparc -I/opt/csw/include -c http-header-parser.c -KPIC -DPIC
-o .libs/http-header-parser.o
"http-header-parser.c", line 264: warning: statement not reached
"http-header-parser.c", line 281: warning: argument #3 is
incompatible with prototype:
prototype: pointer to unsigned int :
"../../src/lib/istream.h", line 152 argument : pointer to
unsigned long long
"http-header-parser.c", line 317: warning: argument #2 is
incompatible with prototype:
prototype: pointer to unsigned int :
"../../src/lib/buffer.h", line 93
argument : pointer to unsigned long long
and then later on a linking error:
/bin/bash ../../libtool --tag=CC --mode=link
/opt/SUNWspro/bin/cc -xO3 -m32 -xarch=sparc -I/opt/csw/include
-no-undefined -m32 -xarch=sparc -L/opt/csw/lib -o test-http-url
test-http-url.o http-url.lo ../lib-test/libtest.la ../lib/liblib.la
-export-dynamic -lrt -lnsl -lsocket -lsendfile
libtool: link: /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=sparc
-I/opt/csw/include -m32 -xarch=sparc -o test-http-url
test-http-url.o .libs/http-url.o -L/opt/csw/lib
../lib-test/.libs/libtest.a ../lib/.libs/liblib.a -lrt -lnsl
-lsocket -lsendfile
Undefined first referenced
symbol in file
http_header_field_find .libs/http-url.o
http_header_field_get .libs/http-url.o
http_header_get_fields .libs/http-url.o
ld: fatal: symbol referencing errors. No output written to test-http-url
version 2.2.5 and previous releases of dovecot have compiled
successfully on both Solaris sparc & x86.
Regards,
jgoerzen at opencsw.org
More information about the dovecot
mailing list