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 569411 - svn build dies in camel-local-private.c
svn build dies in camel-local-private.c
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
2.26.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-01-28 01:24 UTC by David Ronis
Modified: 2013-09-14 16:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
This fixed it for me (268 bytes, patch)
2009-01-28 03:07 UTC, Srinivasa Ragavan
none Details | Review

Description David Ronis 2009-01-28 01:24:49 UTC
Steps to reproduce:
1. 
2. 
3. 


Stack trace:
make[5]: Entering directory `/home/ronis/Project/notar/GNOME/garnome/svn/evolution-data-server/work/main.d/evolution-data-server-svn/camel/providers/local'
../../../doltcompile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../camel -I../../../intl -I../../.. -pthread -I/opt/garnome-svn-2.24/include/firefox-2.0.0.16/nss -I/opt/garnome-svn-2.24/include/firefox-2.0.0.16/nspr -I/opt/garnome-svn-2.24/include/glib-2.0 -I/opt/garnome-svn-2.24/lib/glib-2.0/include -I/opt/garnome-svn-2.24/include         -DG_LOG_DOMAIN=\"camel-local-provider\"  -I/opt/garnome-svn-2.24/include  -I/opt/garnome-svn-2.24/include -L/opt/garnome-svn-2.24/lib -O2 -g -pipe  -MT camel-local-private.lo -MD -MP -MF .deps/camel-local-private.Tpo -c -o camel-local-private.lo camel-local-private.c
In file included from camel-local-private.c:26:
camel-local-private.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
camel-local-private.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
make[5]: *** [camel-local-private.lo] Error 1

Looks like something isn't defined.  I'm using gcc-4.3.2 and following svn/trunk (it built a day or so ago).


Other information:
Comment 1 Srinivasa Ragavan 2009-01-28 03:07:27 UTC
Created attachment 127373 [details] [review]
This fixed it for me
Comment 2 Srinivasa Ragavan 2009-01-28 03:08:41 UTC
This was introduced from bug #548826
Comment 3 Hiroyuki Ikezoe 2009-01-28 03:30:42 UTC
I am sorry for this.

Please commit it.
Comment 4 Hiroyuki Ikezoe 2009-01-28 22:36:14 UTC
Suman fixed at rev.9979.

Modified: trunk/camel/providers/local/camel-local-private.c
==============================================================================
--- trunk/camel/providers/local/camel-local-private.c   (original)
+++ trunk/camel/providers/local/camel-local-private.c   Wed Jan 28 04:29:08 2009
@@ -23,6 +23,9 @@
 #include <config.h>
 #endif
 
+#include <stdlib.h>
+#include <string.h>
+
 #include "camel-local-private.h"
 
 int 

Modified: trunk/camel/providers/local/camel-local-private.h
==============================================================================
--- trunk/camel/providers/local/camel-local-private.h   (original)
+++ trunk/camel/providers/local/camel-local-private.h   Wed Jan 28 04:29:08 2009
@@ -31,6 +31,7 @@
 #include <config.h>
 #endif
 
+#include <glib.h>
 #include <pthread.h>
 
 G_BEGIN_DECLS

Thanks Suman.