GNOME Bugzilla – Bug 569411
svn build dies in camel-local-private.c
Last modified: 2013-09-14 16:52:45 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:
Created attachment 127373 [details] [review] This fixed it for me
This was introduced from bug #548826
I am sorry for this. Please commit it.
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.