Motif/SuSE10.1 compile error
Hi, like a lot of people, I recently upgraded to SuSE 10.1. I have several programs that work together, and I've been working for a while on one that has no GUI. Now I find I have a problem with one of my GUI programs and need to recompile it.
In the first source code file the first line to compile is:
Xm.h includes Intrinsic.h as it's first include file
I'm getting the following compile error:
In file included from /usr/include/Xm/Xm.h:56,
/usr/include/X11/Intrinsic.h:242: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/X11/Intrinsic.h:249: error: ‘Boolean’ declared as function returning a function
/usr/include/X11/Intrinsic.h:404: error: ‘XtWorkProc’ declared as function returning a function
/usr/include/X11/Intrinsic.h:413: error: ‘XtFilePredicate’ declared as function returning a function
/usr/include/X11/Intrinsic.h:425: error: ‘XtConvertSelectionProc’ declared as function returning a function
and a whole bunch of similar errors
Now I haven't changed a line of code, I just want to recompile. Any ideas what could be wrong? The compiler is obviously finding the files. And I can see nothing in Intrinsic.h that should cause an error.