View Single Post
tobiasj's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#1
OK, so I admit, I got NO idea what I am doing, but I am trying to follow the porting tutorial and when I finished running through it and tried to compile I got this:

In file included from /usr/include/gtk-2.0/gdk/gdkx.h:33,
from /usr/include/hildon-1/hildon/hildon-window.h:33,
from /usr/include/hildon-1/hildon/hildon-program.h:29,
from bookmarks.c:20:
/usr/include/X11/Xlib.h:3578: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3583: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3596: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3609: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3614: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3846: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3850: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3862: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3890: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3894: error: syntax error before "_X_SENTINEL"
/usr/include/X11/Xlib.h:3934: error: syntax error before "_X_SENTINEL"
make[3]: *** [bookmarks.o] Error 1
make: *** [all] Error 2


So I stripped out all my changes, and compiled it again to no errors.
It turns out, if I add this one line:

#include <hildon/hildon-program.h>

and try to compile I get that string of errors up there with no other changes being made.
Is there something hinkey in my SDK or in scratchbox or possibly even on the host distro (Debian Etch)?
I am at a loss, but I certainly can not continue where like this. Does anyone know what might be causing this or how to remedy it?


Thanks,

-John