ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.