[Dovecot] "undefined reference to `yes_storage'"

Bernd Holzmüller tigger at tiggerswelt.net
Sat Feb 18 10:42:05 EET 2006


Am Samstag, 18. Februar 2006 06:56 schrieb DiskMan:
[...]
> /usr2/www/linux-related/servers/dovecot-1.0.beta3/src/lib-storage/register/
>m ail-storage-register.c:6: undefined reference to `yes_storage'
> collect2: ld returned 1 exit status

I think you used the configure-option "--with-storages" without any parameters 
so that it is equal to "--with-storages=yes". In this case "yes" is not a 
valid option, because configure expects something like "maildir,mbox".

Configure generates mail-storage-register.c itselfs by the parameters given 
for this option (by default this is "maildir,mbox") - just skip this option 
und run configure again - this should fix your problem.

For example, my mail-storage-register.c looks like this:

[------>------]
/* this file automatically generated by Makefile */
#include "lib.h"
#include "mail-storage.h"
extern struct mail_storage maildir_storage;
extern struct mail_storage mbox_storage;
void mail_storage_register_all(void) {
mail_storage_class_register(&maildir_storage);
mail_storage_class_register(&mbox_storage);
}
[------<------]


Greetings from Germany,

Bernd

-- 
    \\\||///
  \\  - -  //
   (  @ @  )
-oOo--( )--oOo-------------------------------------------------------
                         Bernd Holzmüller    Tel.: 07 11 / 35 166-18
  www.tiggersWelt.net    Mönchstrasse 25     Büro: 07 11 / 35 165-59
                         70191 Stuttgart      Fax: 07 11 / 35 165-94


More information about the dovecot mailing list