PCC-F-02066, CMD-LINE: Could not find or could not open system config file
Syntax error at line 159, column 23, file /usr/include/glib-2.0/glib/gmessages.h:
Error at line 159, column 23 in file /usr/include/glib-2.0/glib/gmessages.h
#define g_error(format...) G_STMT_START { \
......................1
PCC-S-02014, Encountered the symbol "..." when expecting one of the following:

, )
The symbol ")" was substituted for "..." to continue.

Syntax error at line 292, column 50, file /usr/include/glib-2.0/glib/gtestutils.h:
Error at line 292, column 50 in file /usr/include/glib-2.0/glib/gtestutils.h
GLogLevelFlags log_level,
.................................................1
PCC-S-02201, Encountered the symbol "GLogLevelFlags" when expecting one of the f
ollowing:

What is your proc/pcc command line?
What are the options in the mentioned configuration file?
Note that the message "Could not find or could not open system config file" seems to indicate a problem in your environment.

It knows how to build a Gtk app
with make -f demo_proc_ic.mk build EXE=table1 OBJS=table1.o
from table1.c
And it knows how to build
make -f demo_proc_ic.mk build EXE=demo OBJS=demo.o
from demo.pc
But it can't make
ake -f demo_proc_ic.mk build EXE=gtkdemo OBJS=gtkdemo.o
from gtkdemo.pc with gtk functions

You can use the precompiler-defined symbol ORA_PROC to make Pro*C skip problematic includes; suppose you are #including gmessages.h directly, which you probably aren't, but this will illustrate the solution: