Home » Infrastructure » Linux » its urgent.......cant compile pro*c code.i have to submit immediatly
its urgent.......cant compile pro*c code.i have to submit immediatly [message #157371] Thu, 02 February 2006 00:50 Go to next message
surbhigarg
Messages: 11
Registered: January 2006
Junior Member
hi
i got this error.could any one plz help


Pro*C/C++: Release 9.2.0.4.0 - Production on Sun Feb 12 00:12:50 2006

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

System default option values taken from: /home/oracle/ora9i/precomp/admin/pcscfg.cfg

Syntax error at line 174, column 1, file db.pc:
Error at line 174, column 1 in file db.pc
{
1
PCC-S-02201, Encountered the symbol "{" when expecting one of the following:

; , = ( [
The symbol ";" was substituted for "{" to continue.

Syntax error at line 0, column 0, file db.pc:
Error at line 0, column 0 in file db.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:

; { } ( * & + - ~ ! ^ ++ -- ... auto, break, case, char,
const, continue, default, do, double, enum, extern, float,
for, goto, if, int, long, ulong_varchar, OCIBFileLocator
OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, register, return, short, signed, sizeof,
sql_context, sql_cursor, static, struct, switch, typedef,
union, unsigned, utext, uvarchar, varchar, void, volatile,
while, an identifier, a typedef name, a precompiled header,
a quoted string, a numeric constant, exec oracle,
exec oracle begin, exec, exec sql, exec sql begin,
exec sql type, exec sql var, exec sql include,
The symbol "}" was substituted for "<eof>" to continue.

Error at line 0, column 0 in file db.pc
PCC-F-02102, Fatal error while doing C preprocessing
Re: its urgent.......cant compile pro*c code.i have to submit immediatly [message #157506 is a reply to message #157371] Thu, 02 February 2006 18:53 Go to previous messageGo to next message
Gerardo Fernandez Herrera
Messages: 58
Registered: January 2006
Location: Montevideo, Uruguay
Member
and the code is...
Re: its urgent.......cant compile pro*c code.i have to submit immediatly [message #161190 is a reply to message #157506] Thu, 02 March 2006 08:39 Go to previous message
kshkid
Messages: 24
Registered: November 2005
Junior Member
thats clearly an error where you would missed out closing paranthesis, something like that

just post the code with 10 lines ahead and below from the line of code where you get the error

we can easily catch that
Previous Topic: RAC on debian
Next Topic: rman scripting in linux
Goto Forum:
  


Current Time: Fri Apr 19 15:48:58 CDT 2024