[Dovecot] "undefined reference to `yes_storage'"
Well after the 'issues' with Compaq C, I decided to attempt compile using GCC-3.4.3... To put it short, that didn't fair well either. Will L G.
Redhat 7.2 [Alpha] GCC 3.4.3 Binutils-2.16.x Kernel-2.6.13.4
ccache gcc-3.4.3 -std=gnu99 -g -O5 -finline -fstrict-aliasing
-fomit-frame-pointer -mieee -w -mtune=ev56 -mmax -pipe -D_BSD_SOURCE
-Wl,-lots -Wl,-lcpml -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap
cmd-append.o cmd-authenticate.o cmd-capability.o cmd-check.o cmd-close.o
cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-login.o cmd-logout.o cmd-lsub.o cmd-namespace.o
cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o
cmd-unsubscribe.o client.o commands.o commands-util.o imap-expunge.o
imap-fetch.o imap-fetch-body.o imap-messageset.o imap-search.o imap-sort.o
imap-sync.o imap-thread.o mail-storage-callbacks.o main.o namespace.o
-Wl,--export-dynamic ../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a -ldl
../lib-storage/register/libstorage-register.a(mail-storage-register.o): In
function mail_storage_register_all': /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
as much as i don't want to spark a distro war, perhaps you might consider migrating to a distro that supports alpha actively? (like gentoo?)
On 2/17/06, DiskMan diskman@kc.rr.com wrote:
Well after the 'issues' with Compaq C, I decided to attempt compile using GCC-3.4.3... To put it short, that didn't fair well either. Will L G.
Redhat 7.2 [Alpha] GCC 3.4.3 Binutils-2.16.x Kernel-2.6.13.4
ccache gcc-3.4.3 -std=gnu99 -g -O5 -finline -fstrict-aliasing -fomit-frame-pointer -mieee -w -mtune=ev56 -mmax -pipe -D_BSD_SOURCE -Wl,-lots -Wl,-lcpml -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap cmd-append.o cmd-authenticate.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o cmd-list.o cmd-login.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o cmd-unsubscribe.o client.o commands.o commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o imap-messageset.o imap-search.o imap-sort.o imap-sync.o imap-thread.o mail-storage-callbacks.o main.o namespace.o -Wl,--export-dynamic ../lib-storage/register/libstorage-register.a ../../src/lib-storage/index/libstorage_index.a ../../src/lib-index/libindex.a ../lib-storage/libstorage.a ../lib-storage/subscription-file/libstorage_subscription_file.a ../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a ../lib-charset/libcharset.a ../lib/liblib.a -ldl ../lib-storage/register/libstorage-register.a(mail-storage-register.o): In function
mail_storage_register_all': /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
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
participants (3)
-
Bernd Holzmüller
-
DiskMan
-
infowolfe