Hello, I am trying to build cyrus-imapd-2.2.12 but I get a compile error as shown below. This same error has been reported before and I found two references to it in the mailing list archives (#26174, #30497), both without replies.
If, after receiving the error, I comment out line 20 from imap/mupdate_err.h I can finish the build off successfully. I'm going to proceed on this basis but, please, can someone please explain the correct solution to this problem, Many thanks, John Lane gcc -c -I.. -I./../lib -I./../sieve -DHAVE_CONFIG_H -g -O2 \ mupdate-client.c In file included from mupdate-client.h:47, from mupdate.h:56, from mupdate-client.c:75: mupdate_err.h:20: warning: `struct et_list' declared inside parameter list mupdate_err.h:20: warning: its scope is only this definition or declaration, which is probably not what you want In file included from mupdate.h:57, from mupdate-client.c:75: mupdate_err.h:20: warning: `struct et_list' declared inside parameter list mupdate_err.h:20: error: conflicting types for `initialize_mupd_error_table_r' mupdate_err.h:20: error: previous declaration of `initialize_mupd_error_table_r' In file included from mupdate-client.c:76: mupdate_err.h:20: warning: `struct et_list' declared inside parameter list mupdate_err.h:20: error: conflicting types for `initialize_mupd_error_table_r' mupdate_err.h:20: error: previous declaration of `initialize_mupd_error_table_r' make: *** [mupdate-client.o] Error 1
<<attachment: winmail.dat>>