PRO*C compiling ERROR [message #136639] |
Fri, 09 September 2005 04:08 |
lcaggio
Messages: 5 Registered: September 2005 Location: Milano
|
Junior Member |
|
|
Hi,
I'm sorry but I'm new with oracle and all things related to it.
I have to compile some .pc file using proc but it doesn't work! When I try to precompile the file the error message is:
Pro*C/C++: Release 9.2.0.6.0 - Production on Fri Sep 9 11:37:38 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /oracle/OraHome1/precomp/admin/pcscfg.cfg
Syntax error at line 115, column 2, file /usr/include/sys/siginfo.h:
Error at line 115, column 2 in file /usr/include/sys/siginfo.h
__SIGINFO_DATA
.1
PCC-S-02201, Encountered the symbol "_version" when expecting one of the followi
ng:
; , : ( [
Syntax error at line 0, column 0, file main.pc:
Error at line 0, column 0 in file main.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
; : an identifier, end-exec, random_terminal
Error at line 0, column 0 in file main.pc
PCC-F-02102, Fatal error while doing C preprocessing
*** Error exit code 1
Stop.
Please help me!
Thanks
|
|
|
Re: PRO*C compiling ERROR [message #144377 is a reply to message #136639] |
Wed, 26 October 2005 05:26 |
raghavmurali
Messages: 2 Registered: October 2005
|
Junior Member |
|
|
Hi,
I too got the same error. But later got the details from Oracl forum.
Try adding the following defines to the Pro*C command line:
define=__STDC__
define=_PA_RISC2_0
proc iname=... sql_check=.... define=...
regards,
Raghav
|
|
|