On Sun, 2006-02-26 at 22:06 +0300, Oleg Lapshin wrote:
> Hello
> 
> > The changes I made were to default to shared builds, and to make shared
> > and static mutually exclusive. See if the most recent checkout has
> > different behavior for you if you use ./configure --enable-shared
> > vs. ./configure --enable-static.
> 
> I download libsieve-2.1.10 and dbmail-rev1994
> 
> Tried to do 
> configure --with-mysql --with-sieve --enable-shared
> then make and get errors:
> 
> $ make > /dev/null
> authsql.c: In function `auth_check_userid':
> authsql.c:636: warning: unused variable `query_result'
> dbmail-message.c: In function `_retrieve':
> dbmail-message.c:494: warning: unused variable `r'
> dbmail-message.c:495: warning: unused variable `raw'
> dbmail-message.c: At top level:
> dbmail-message.c:125: warning: 'dump_to_file' defined but not used
> misc.c: In function `find_bounded':
> misc.c:431: warning: assignment discards qualifiers from pointer target type
> misc.c:432: warning: assignment discards qualifiers from pointer target type
> sort.c: In function `sort_and_deliver':
> sort.c:49: warning: passing arg 2 of `dbmail_message_set_envelope_recipient' 
> discards qualifiers from pointer target type
> main.c: In function `main':
> main.c:397: warning: passing arg 1 of `free' discards qualifiers from pointer 
> target type
> main.c:404: warning: passing arg 1 of `free' discards qualifiers from pointer 
> target type

These are ugly, but not major problems.

> ../.libs/libdbmail.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status

That's a problem. I think I fixed it in the new Makefile.am. I believe
it was not previously a problem because we weren't actually building
shared.

> make[2]: *** [dbmail-smtp] Ошибка 1
> make[1]: *** [all-recursive] Ошибка 1
> make: *** [all] Ошибка 2

I like that the Russian characters work! It's hard to really come by
properly encoded stuff in the USA. Everything's US-ASCII/Unicode/8859-1
transparent. Never know if it's really working or the degenerate case.

> And again, copy acinclude.m4 and configure.in from revision-1991
> and dbmail was compiled fine!
> 
> And it seems, that libsieve treate null sender as it must!
> Thanks.

Ok, cool.

Aaron


Reply via email to