Paul Stevens wrote: >> Is anyone using gmime 2.4x with dbmail, or is dbmail ready for it? > > I'm not. Should be safe though.
Hi Paul, This is what I get when I try to compile 2.3.5 with gmime-2.4. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/zdb -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-user.lo -MD -MP -MF .deps/libdbmail_la-dbmail-user.Tpo -c dbmail-user.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-user.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/zdb -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF ".deps/libdbmail_la-dbmail-message.Tpo" -c -o libdbmail_la-dbmail-message.lo `test -f 'dbmail-message.c' || echo './'`dbmail-message.c; \ then mv -f ".deps/libdbmail_la-dbmail-message.Tpo" ".deps/libdbmail_la-dbmail-message.Plo"; else rm -f ".deps/libdbmail_la-dbmail-message.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/zdb -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF .deps/libdbmail_la-dbmail-message.Tpo -c dbmail-message.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-message.o dbmail-message.c: In function 'find_boundary': dbmail-message.c:293: warning: implicit declaration of function 'g_mime_content_type_destroy' dbmail-message.c: In function 'store_mime_multipart': dbmail-message.c:451: warning: passing argument 1 of 'g_mime_content_type_get_parameter' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:86: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c:455: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:74: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c:464: error: 'GMimePartFunc' undeclared (first use in this function) dbmail-message.c:464: error: (Each undeclared identifier is reported only once dbmail-message.c:464: error: for each function it appears in.) dbmail-message.c:464: error: expected ')' before 'store_mime_object' dbmail-message.c:464: error: too few arguments to function 'g_mime_multipart_foreach' dbmail-message.c:472: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:74: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c: In function 'store_mime_object': dbmail-message.c:515: warning: implicit declaration of function 'g_mime_header_set_raw' dbmail-message.c:522: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:74: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c:525: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:74: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c:528: warning: passing argument 1 of 'g_mime_content_type_is_type' discards qualifiers from pointer target type /usr/include/gmime-2.4/gmime/gmime-content-type.h:74: note: expected 'struct GMimeContentType *' but argument is of type 'const struct GMimeContentType *' dbmail-message.c: In function '_set_content_from_stream': dbmail-message.c:791: warning: implicit declaration of function 'g_mime_stream_filter_new_with_stream' dbmail-message.c:791: warning: assignment makes pointer from integer without a cast dbmail-message.c:793: error: 'GMIME_FILTER_CRLF_DECODE' undeclared (first use in this function) dbmail-message.c:793: error: 'GMIME_FILTER_CRLF_MODE_CRLF_DOTS' undeclared (first use in this function) dbmail-message.c: In function '_map_headers': dbmail-message.c:914: warning: implicit declaration of function 'g_mime_header_foreach' dbmail-message.c: In function 'dbmail_message_set_header': dbmail-message.c:994: warning: implicit declaration of function 'g_mime_message_set_header' dbmail-message.c: In function 'dbmail_message_get_header': dbmail-message.c:1000: warning: implicit declaration of function 'g_mime_message_get_header' dbmail-message.c:1000: warning: return makes pointer from integer without a cast dbmail-message.c: In function 'dbmail_message_get_header_addresses': dbmail-message.c:1026: warning: implicit declaration of function 'internet_address_parse_string' dbmail-message.c:1026: warning: assignment makes pointer from integer without a cast dbmail-message.c:1033: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1034: error: 'InternetAddress' has no member named 'value' dbmail-message.c:1035: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1037: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1040: warning: implicit declaration of function 'internet_address_list_destroy' dbmail-message.c: In function 'insert_address_cache': dbmail-message.c:1555: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1555: error: 'InternetAddressList' has no member named 'next' dbmail-message.c:1557: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:1563: error: 'InternetAddress' has no member named 'value' dbmail-message.c:1563: error: 'InternetAddress' has no member named 'value' dbmail-message.c: In function 'dm_message_get_addresslist': dbmail-message.c:1627: warning: assignment makes pointer from integer without a cast dbmail-message.c: In function 'dbmail_message_construct': dbmail-message.c:1794: error: 'GMimePartEncodingType' undeclared (first use in this function) dbmail-message.c:1794: error: expected ';' before 'encoding' dbmail-message.c:1807: error: 'encoding' undeclared (first use in this function) dbmail-message.c:1812: warning: implicit declaration of function 'g_mime_message_add_recipients_from_string' dbmail-message.c:1819: warning: assignment makes pointer from integer without a cast dbmail-message.c:1822: error: 'GMIME_PART_ENCODING_BASE64' undeclared (first use in this function) dbmail-message.c:1823: warning: implicit declaration of function 'g_mime_filter_basic_new_type' dbmail-message.c:1823: error: 'GMIME_FILTER_BASIC_BASE64_ENC' undeclared (first use in this function) dbmail-message.c:1823: warning: assignment makes pointer from integer without a cast dbmail-message.c:1825: error: 'GMIME_PART_ENCODING_QUOTEDPRINTABLE' undeclared (first use in this function) dbmail-message.c:1826: error: 'GMIME_FILTER_BASIC_QP_ENC' undeclared (first use in this function) dbmail-message.c:1826: warning: assignment makes pointer from integer without a cast dbmail-message.c:1854: warning: implicit declaration of function 'g_mime_part_set_content_header' dbmail-message.c: In function 'parse_and_escape': dbmail-message.c:2106: warning: assignment makes pointer from integer without a cast dbmail-message.c:2112: error: 'InternetAddressList' has no member named 'address' dbmail-message.c:2113: error: 'InternetAddress' has no member named 'type' dbmail-message.c:2113: error: 'INTERNET_ADDRESS_NAME' undeclared (first use in this function) dbmail-message.c:2119: error: 'InternetAddress' has no member named 'value' make[3]: Leaving directory `/builddir/build/BUILD/dbmail-2.3.5/src' make[2]: Leaving directory `/builddir/build/BUILD/dbmail-2.3.5/src' make[1]: Leaving directory `/builddir/build/BUILD/dbmail-2.3.5' RPM build errors: make[3]: *** [libdbmail_la-dbmail-message.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman-new.icns.fastxs.net/cgi-bin/mailman/listinfo/dbmail-dev