After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581824 - Compilation with gmime-2.4 fails
Compilation with gmime-2.4 fails
Status: RESOLVED DUPLICATE of bug 564640
Product: tracker
Classification: Core
Component: General
0.6.94
Other Linux
: Normal normal
: ---
Assigned To: Jürg Billeter
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2009-05-08 05:00 UTC by Andrey Panov
Modified: 2009-05-13 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrey Panov 2009-05-08 05:00:00 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.
Comment 1 Jürg Billeter 2009-05-13 13:08:05 UTC
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 ***