Home » Developer & Programmer » Precompilers, OCI & OCCI » error in compiling
error in compiling [message #157370] Thu, 02 February 2006 00:47 Go to next message
surbhigarg
Messages: 11
Registered: January 2006
Junior Member
hi
i got this error while compiling pro*c program.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: error in compiling [message #157585 is a reply to message #157370] Fri, 03 February 2006 07:54 Go to previous message
kshkid
Messages: 24
Registered: November 2005
Junior Member
could you please post the lines from line no: 160 - 180

i almost got the reason for the error

i just want to confirm it
Previous Topic: stored procedure
Next Topic: C based routines to use Fast Connect Failover?
Goto Forum:
  


Current Time: Thu Mar 28 15:19:55 CDT 2024