Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro C Makefile
kasthuri_at_viisage.com wrote:
> Hi,
>
> I get the following error message when i try to make a Pro C
> Application. The environment variables are set properly. The
> environment is Dec Alpha 4.0D with oracle 7.2.3
>
> ******************
> System default option values taken from: /data6/oracle/proc/pmscfg.h
>
> Parser error at line 356, column 25, file /usr/include/sys/types.h:
> long _Pfield(valid);
> ......................................1
> (1) PCC-F-02209, Macro invocation has incorrect number of arguments
>
> Parser error at line 357, column 25, file /usr/include/sys/types.h:
> char* _Pfield(name);
> ......................................1
> (1) PCC-F-02209, Macro invocation has incorrect number of arguments
>
> Syntax error at line 356, column 25, file /usr/include/sys/types.h:
> long _Pfield(valid);
> ......................................1
> (1) PCC-S-02201, Encountered the symbol ";" when expecting one of the
> following:
>
> : ( * const, double, float, int, long, signed, unsigned,
> volatile, an identifier,
>
> Syntax error at line 0, column 0, file extract.pc:
>
> (1) PCC-S-02201, Encountered the symbol "<eof>" when expecting one of
> the following:
>
> ; : an identifier, end-exec, random_terminal
>
> (1) PCC-F-02102, Fatal error while doing C preprocessing
>
> *** Exit 1
> Stop.
> **********************************
>
> /usr/include/types.h contains the data structure with the above field.
>
> Can someone please let me know what should be done to set this right?
Most compilers have documentatin which either directly or indirectly state that variables beginning with '_' are reserved for the compiler. Try renaming those Pfield variables.
Ken
![]() |
![]() |