Всем привет!
Выручите пожалуйста.
Система Ubuntu server 8.04 LTS
Проблема следующая, пытаюсь скомпилировать plugin autocreate для Dovecot
делаю все по ману
http://wiki.dovecot.org/Plugins/Autocreate
но компилелр на не находит библиотеку как видно из логов.
Сам лог:
autocreate-plugin.c:22:17: error: lib.h: No such file or directory
autocreate-plugin.c:23:34: error: mail-storage-private.h: No such file or directory
autocreate-plugin.c:25:21: error: stdlib.h: No such file or directory
autocreate-plugin.c:28: warning: ‘struct mail_storage’ declared inside parameter list
autocreate-plugin.c:28: warning: its scope is only this definition or declaration, which is probably not what you want
autocreate-plugin.c:30: error: ‘PACKAGE_VERSION’ undeclared here (not in a function)
autocreate-plugin.c:33: warning: ‘struct mail_storage’ declared inside parameter list
autocreate-plugin.c:35: warning: ‘struct mail_storage’ declared inside parameter list
autocreate-plugin.c: In function ‘autocreate_mailboxes’:
autocreate-plugin.c:42: warning: implicit declaration of function ‘getenv’
autocreate-plugin.c:42: warning: assignment makes pointer from integer without a cast
autocreate-plugin.c:43: error: ‘NULL’ undeclared (first use in this function)
autocreate-plugin.c:43: error: (Each undeclared identifier is reported only once
autocreate-plugin.c:43: error: for each function it appears in.)
autocreate-plugin.c:44: warning: implicit declaration of function ‘mail_storage_mailbox_create’
autocreate-plugin.c:44: error: ‘FALSE’ undeclared (first use in this function)
autocreate-plugin.c:45: warning: implicit declaration of function ‘i_snprintf’
autocreate-plugin.c:46: warning: assignment makes pointer from integer without a cast
autocreate-plugin.c: At top level:
autocreate-plugin.c:50: warning: ‘struct mail_storage’ declared inside parameter list
autocreate-plugin.c: In function ‘autosubscribe_mailboxes’:
autocreate-plugin.c:57: warning: assignment makes pointer from integer without a cast
autocreate-plugin.c:58: error: ‘NULL’ undeclared (first use in this function)
autocreate-plugin.c:59: warning: implicit declaration of function ‘mail_storage_set_subscribed’
autocreate-plugin.c:59: error: ‘TRUE’ undeclared (first use in this function)
autocreate-plugin.c:61: warning: assignment makes pointer from integer without a cast
autocreate-plugin.c: At top level:
autocreate-plugin.c:65: warning: ‘struct mail_storage’ declared inside parameter list
autocreate-plugin.c: In function ‘autocreate_mail_storage_created’:
autocreate-plugin.c:67: error: ‘NULL’ undeclared (first use in this function)
autocreate-plugin.c:68: warning: passing argument 1 of ‘autocreate_next_hook_mail_storage_created’ from incompatible pointer type
autocreate-plugin.c:70: error: dereferencing pointer to incomplete type
autocreate-plugin.c:70: error: ‘MAIL_STORAGE_FLAG_SHARED_NAMESPACE’ undeclared (first use in this function)
autocreate-plugin.c:71: warning: passing argument 1 of ‘autocreate_mailboxes’ from incompatible pointer type
autocreate-plugin.c:72: warning: passing argument 1 of ‘autosubscribe_mailboxes’ from incompatible pointer type
autocreate-plugin.c: In function ‘autocreate_plugin_init’:
autocreate-plugin.c:81: warning: assignment from incompatible pointer type
autocreate-plugin.c:82: warning: assignment from incompatible pointer type
autocreate-plugin.c: In function ‘autocreate_plugin_deinit’:
autocreate-plugin.c:87: warning: assignment from incompatible pointer type
Третий день бьюсь, гугл ничего внятного не дает. подскажите куда копать че далеть?
За ранее огромное спасиба! за любую подсказку!