GNOME Bugzilla – Bug 581824
Compilation with gmime-2.4 fails
Last modified: 2009-05-13 13:08:05 UTC
Compilation fails on linux x86 with following error: make[5]: Entering directory `/usr/local/src/tracker-0.6.94/src/tracker-indexer/modules' /bin/sh ../../../libtool --tag=CC --mode=compile i486-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -DSHAREDIR=\""/opt/gnome2/share"\" -DLIBDIR=\""/opt/gnome2/lib"\" -DLOCALEDIR=\""/opt/gnome2/share/locale"\" -DINDEXER_MODULES_DIR=\"/opt/gnome2/lib/tracker/indexer-modules\" -DG_LOG_DOMAIN=\"Tracker\" -D_GNU_SOURCE -DTRACKER_COMPILATION -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/opt/gnome2/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -MT evolution-imap.lo -MD -MP -MF .deps/evolution-imap.Tpo -c -o evolution-imap.lo evolution-imap.c libtool: compile: i486-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -DSHAREDIR=\"/opt/gnome2/share\" -DLIBDIR=\"/opt/gnome2/lib\" -DLOCALEDIR=\"/opt/gnome2/share/locale\" -DINDEXER_MODULES_DIR=\"/opt/gnome2/lib/tracker/indexer-modules\" -DG_LOG_DOMAIN=\"Tracker\" -D_GNU_SOURCE -DTRACKER_COMPILATION -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/opt/gnome2/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -MT evolution-imap.lo -MD -MP -MF .deps/evolution-imap.Tpo -c evolution-imap.c -fPIC -DPIC -o .libs/evolution-imap.o evolution-imap.c:555: error: expected declaration specifiers or '...' before 'GMimePartEncodingType' evolution-imap.c: In function 'get_attachment_info': evolution-imap.c:565: error: 'encoding' undeclared (first use in this function) evolution-imap.c:565: error: (Each undeclared identifier is reported only once evolution-imap.c:565: error: for each function it appears in.) evolution-imap.c:566: error: 'GMIME_PART_ENCODING_DEFAULT' undeclared (first use in this function) evolution-imap.c:635: error: 'GMIME_PART_ENCODING_7BIT' undeclared (first use in this function) evolution-imap.c:639: error: 'GMIME_PART_ENCODING_BINARY' undeclared (first use in this function) evolution-imap.c:641: error: 'GMIME_PART_ENCODING_BASE64' undeclared (first use in this function) evolution-imap.c:643: error: 'GMIME_PART_ENCODING_QUOTEDPRINTABLE' undeclared (first use in this function) evolution-imap.c:645: error: 'GMIME_PART_ENCODING_UUENCODE' undeclared (first use in this function) evolution-imap.c: In function 'tracker_evolution_imap_file_get_uri': evolution-imap.c:718: error: too many arguments to function 'get_attachment_info' evolution-imap.c: In function 'extract_message_text': evolution-imap.c:736: error: 'GMimePartEncodingType' undeclared (first use in this function) evolution-imap.c:736: error: expected ';' before 'part_encoding' evolution-imap.c:754: warning: passing argument 2 of 'g_mime_multipart_foreach' from incompatible pointer type evolution-imap.c:760: warning: assignment makes pointer from integer without a cast evolution-imap.c:761: error: 'part_encoding' undeclared (first use in this function) evolution-imap.c:763: error: 'GMIME_PART_ENCODING_BINARY' undeclared (first use in this function) evolution-imap.c:764: error: 'GMIME_PART_ENCODING_BASE64' undeclared (first use in this function) evolution-imap.c:765: error: 'GMIME_PART_ENCODING_UUENCODE' undeclared (first use in this function) evolution-imap.c:780: warning: assignment makes pointer from integer without a cast evolution-imap.c: In function 'get_attachment_metadata': evolution-imap.c:1028: error: 'GMimePartEncodingType' undeclared (first use in this function) evolution-imap.c:1028: error: expected ';' before 'encoding' evolution-imap.c:1031: error: 'encoding' undeclared (first use in this function) evolution-imap.c:1031: error: too many arguments to function 'get_attachment_info' make[5]: *** [evolution-imap.lo] Error 1 make[5]: Leaving directory `/usr/local/src/tracker-0.6.94/src/tracker-indexer/modules' It was compiled on the system with latest stable Gnome libraries (2.26.1), gmime-2.4.7, gtk+-2.16.1, glib-2.20, glibc-2.9, gcc-4.3.3, without evolution installed. 'GMimePartEncodingType' was removed from gmime-2.4.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 564640 ***