This has nothing to do with gcc 4.2; the same syntax error appears with gcc 4.0 (but with a somewhat more helpful error message).
There are two problems that combine to cause this error. First, the gdk_imlib_private.h makes inconsistent use of two config macros - the inclusion of XShm.h is dependent on HAVE_SHM_H whereas the use of XShmSegmentInfo, defined in that header, is dependent on HAVE_SHM. Second, the test for the config macro HAVE_SHM_H is failing, presumably as a result of X changes: checking X11/extensions/XShm.h... no Ben. -- Ben Hutchings DNRC Motto: I can please only one person per day. Today is not your day. Tomorrow isn't looking good either.
signature.asc
Description: This is a digitally signed message part