Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro C Makefile

Re: Pro C Makefile

From: <kasthuri_at_viisage.com>
Date: Mon, 13 Sep 1999 14:53:17 GMT
Message-ID: <7rj34n$ncv$1@nnrp1.deja.com>


In article <37DCE002.2AEB5EF7_at_Unforgettable.com>,   BlueSax_at_Unforgettable.com wrote:
> 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

Hi Ken,
  The above _Pfield variable is defined in 'types.h' which is a standard c header file. i dont know the other references of this variable and this could cause more problems if i change this definition. The same Pro C compiles well in the Alpha 4.0D environment with oracle 7.4. could it be that i should have any specific entry in my make file like a define or so, for this?
Thanks,
--
Kasthuri Jegatheesan

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Mon Sep 13 1999 - 09:53:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US