[Dovecot] dovecot 2.0 (revision 9271:d467712aee77) compile problems on AIX 5.3
Having some problems compiling on AIX 5.3 with IBM vac version 8.
Programs that I had problems building: test-mail test-imap test-index
To fix the undefined symbols problem:
ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_end ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_begin ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8 ld: 0711-317 ERROR: Undefined symbol: .charset_is_utf8 ld: 0711-317 ERROR: Undefined symbol: .charset_to_utf8_str
ld: 0711-317 ERROR: Undefined symbol: .message_header_decode_utf8 ld: 0711-317 ERROR: Undefined symbol: .rfc822_parser_init ld: 0711-317 ERROR: Undefined symbol: .rfc822_skip_lwsp ld: 0711-317 ERROR: Undefined symbol: .rfc822_parse_content_type ld: 0711-317 ERROR: Undefined symbol: .rfc2231_parse ld: 0711-317 ERROR: Undefined symbol: .rfc822_parse_mime_token ld: 0711-317 ERROR: Undefined symbol: .rfc822_parse_atom ld: 0711-317 ERROR: Undefined symbol: .message_address_parse
ld: 0711-317 ERROR: Undefined symbol: .iconv ld: 0711-317 ERROR: Undefined symbol: .iconv_open ld: 0711-317 ERROR: Undefined symbol: .iconv_close
I add this ../lib-charset/.libs/libcharset.a -liconv to the Makefiles
(./src/lib-imap/Makefile;./src/lib-index/Makefile;./src/lib-mail/
Makefile)
below:
$ find . -name Makefile -exec egrep -p libcharset.a {} \; -print
clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do
f=echo $$p|sed 's/$(EXEEXT)$$//'
;
echo " rm -f $$p $$f";
rm -f $$p $$f ;
done
test-imap$(EXEEXT): $(test_imap_OBJECTS) $(test_imap_DEPENDENCIES)
@rm -f test-imap$(EXEEXT)
$(LINK) $(test_imap_LDFLAGS) $(test_imap_OBJECTS) $
(test_imap_LDADD) $(LIBS)
../lib-mail/.libs/libmail.a ../lib-charset/.libs/libcharset.a
-liconv
./src/lib-imap/Makefile
clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do
f=echo $$p|sed 's/$(EXEEXT)$$//'
;
echo " rm -f $$p $$f";
rm -f $$p $$f ;
done
test-index$(EXEEXT): $(test_index_OBJECTS) $(test_index_DEPENDENCIES)
@rm -f test-index$(EXEEXT)
$(LINK) $(test_index_LDFLAGS) $(test_index_OBJECTS) $
(test_index_LDADD) $(LIBS) ../lib-charset/.libs/libcharset.a -liconv
./src/lib-index/Makefile
clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do
f=echo $$p|sed 's/$(EXEEXT)$$//'
;
echo " rm -f $$p $$f";
rm -f $$p $$f ;
done
test-mail$(EXEEXT): $(test_mail_OBJECTS) $(test_mail_DEPENDENCIES)
@rm -f test-mail$(EXEEXT)
$(LINK) $(test_mail_LDFLAGS) $(test_mail_OBJECTS) $
(test_mail_LDADD) $(LIBS) ../lib-charset/.libs/libcharset.a -liconv
./src/lib-mail/Makefile
Then compilation occurs fine.
Thanks! Jonathan
On Wed, 2009-05-13 at 15:04 -0400, Jonathan Siegle wrote:
Having some problems compiling on AIX 5.3 with IBM vac version 8.
Programs that I had problems building: test-mail test-imap test-index
Should be fixed in hg now?
On May 17, 2009, at 2:42 PM, Timo Sirainen wrote:
On Wed, 2009-05-13 at 15:04 -0400, Jonathan Siegle wrote:
Having some problems compiling on AIX 5.3 with IBM vac version 8.
Programs that I had problems building: test-mail test-imap test-index
Should be fixed in hg now?
Yes fixed. Is it to "early" to be reporting stuff like this? I now
have this error(rev 9321:4c4b95def1fa):
"ssl-proxy.c", line 12.5: 1506-343 (S) Redeclaration of ssl_proxy_new
differs from previous declaration on line 17 of "ssl-proxy.h".
"ssl-proxy.c", line 12.5: 1506-376 (I) Redeclaration of ssl_proxy_new
has a different number of fixed parameters than the previous
declaration.
"ssl-proxy.c", line 12.5: 1506-377 (I) The type "struct ssl_proxy**"
of parameter 3 differs from the previous type "const struct
login_settings*".
"ssl-proxy.c", line 19.5: 1506-343 (S) Redeclaration of
ssl_proxy_client_new differs from previous declaration on line 19 of
"ssl-proxy.h".
"ssl-proxy.c", line 19.5: 1506-376 (I) Redeclaration of
ssl_proxy_client_new has a different number of fixed parameters than
the previous declaration.
"ssl-proxy.c", line 19.5: 1506-377 (I) The type "int(*)(void*)" of
parameter 3 differs from the previous type "const struct
login_settings*".
gmake[3]: *** [ssl-proxy.lo] Error 1
gmake[3]: Leaving directory `/usr/sadmin/src/imapservers/dovecothg/
dovecot-2.0psu/src/login-common'
thanks, Jonathan
On Mon, 2009-05-18 at 13:57 -0400, Jonathan Siegle wrote:
Yes fixed. Is it to "early" to be reporting stuff like this?
No, it's not too early. Better early than late :)
I now have this error(rev 9321:4c4b95def1fa):
"ssl-proxy.c", line 12.5: 1506-343 (S) Redeclaration of ssl_proxy_new
differs from previous declaration on line 17 of "ssl-proxy.h".
On May 18, 2009, at 2:02 PM, Timo Sirainen wrote:
On Mon, 2009-05-18 at 13:57 -0400, Jonathan Siegle wrote:
Yes fixed. Is it to "early" to be reporting stuff like this?
No, it's not too early. Better early than late :)
I now have this error(rev 9321:4c4b95def1fa):
"ssl-proxy.c", line 12.5: 1506-343 (S) Redeclaration of ssl_proxy_new differs from previous declaration on line 17 of "ssl-proxy.h".
Thanks. No more compilation errors to report.
participants (2)
-
Jonathan Siegle
-
Timo Sirainen