Oracle PROC configuration [message #136635] |
Fri, 09 September 2005 03:41 |
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: Oracle PROC configuration [message #136655 is a reply to message #136635] |
Fri, 09 September 2005 06:31 |
lcaggio
Messages: 5 Registered: September 2005 Location: Milano
|
Junior Member |
|
|
Someone know if i need to install GCC? if yes, which version?
Now I have installed just cc compiler.
The version installed on the server is an Oracle 9i release2
Thanks
|
|
|
|
|
Re: Oracle PROC configuration [message #144378 is a reply to message #144112] |
Wed, 26 October 2005 05:28 |
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
|
|
|
|
|
|