[Dovecot] Can't compile mbox-snarf-plugin.c on AIX 5.3

Adnan Vatandas vatandas at stud.uni-frankfurt.de
Mon Jul 16 21:55:45 EEST 2007


Hello everyone,

I tried to compile the mbox-snarf-plugin.c (downloaded today, so I
assume it's the most recent version available) on AIX 5.3 with gcc 4.0.

Building Dovecot 1.0.1 and 1.0.2 works fine.



[root at aix root]# export DOVECOT=/root/dovecot-1.0.1

[root at aix root]# gcc -fPIC -shared -Wall -I$DOVECOT -I$DOVECOT/src/lib
-I$DOVECOT/src/lib-storage -I$DOVECOT/src/lib-mail -I
$DOVECOT/src/lib-imap -DHAVE_CONFIG_H mbox-snarf-plugin.c -o
mbox_snarf_plugin.so 

ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_init 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_next 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_sync_deinit 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_transaction_begin 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_search_init 
ld: 0711-317 ERROR: Undefined symbol: .mail_alloc 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_copy 
ld: 0711-317 ERROR: Undefined symbol: .mail_expunge 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_search_next 
ld: 0711-317 ERROR: Undefined symbol: .mail_free 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_search_deinit 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_transaction_rollback 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_transaction_commit 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_open 
ld: 0711-317 ERROR: Undefined symbol: .buffer_append_zero 
ld: 0711-317 ERROR: Undefined symbol: .buffer_get_space_unsafe 
ld: 0711-317 ERROR: Undefined symbol: .mailbox_close 
ld: 0711-317 ERROR: Undefined symbol: .mail_storage_set_critical 
ld: 0711-317 ERROR: Undefined symbol: .buffer_write 
ld: 0711-317 ERROR: Undefined symbol: .home_expand 
ld: 0711-317 ERROR: Undefined symbol: .p_strdup
ld: 0711-317 ERROR: Undefined symbol: mail_storage_module_id 
ld: 0711-317 ERROR: Undefined symbol: hook_mail_storage_created 
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information. 
collect2: ld returned 8 exit status 
[root at aix root]# 


Does this plugin work with Dovecot > 1.0 at all, is this a know bug or
are there any users who managed to install it successfully on AIX? 

Sincerely
Adnan


More information about the dovecot mailing list