Home » Infrastructure » Unix » Oracle PROC configuration
Oracle PROC configuration [message #136635] Fri, 09 September 2005 03:41 Go to next message
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 Go to previous messageGo to next message
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 #144069 is a reply to message #136635] Mon, 24 October 2005 22:00 Go to previous messageGo to next message
dillibabu
Messages: 2
Registered: October 2005
Location: Singapore
Junior Member
I am also facing the same problem....
Did U Got Any Solution For this.
Re: Oracle PROC configuration [message #144112 is a reply to message #144069] Tue, 25 October 2005 02:11 Go to previous messageGo to next message
lcaggio
Messages: 5
Registered: September 2005
Location: Milano
Junior Member
For the moment I do it in a ver durty way...

I copied *.h header that produce this error from a server where it compile well...

It's a very durty way but just to make some test it's good, then I'll configure better Smile

Bye!

Re: Oracle PROC configuration [message #144378 is a reply to message #144112] Wed, 26 October 2005 05:28 Go to previous messageGo to next message
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
Re: Oracle PROC configuration [message #144386 is a reply to message #144378] Wed, 26 October 2005 05:47 Go to previous messageGo to next message
lcaggio
Messages: 5
Registered: September 2005
Location: Milano
Junior Member
It WORKS!!!

Thanks

Lorenzo Smile
icon12.gif  Re: Oracle PROC configuration [message #144519 is a reply to message #144378] Wed, 26 October 2005 20:09 Go to previous messageGo to next message
dillibabu
Messages: 2
Registered: October 2005
Location: Singapore
Junior Member
It works Fine ...Thanks a Ton...
Re: Oracle PROC configuration [message #405830 is a reply to message #144519] Fri, 29 May 2009 14:34 Go to previous message
vjani
Messages: 1
Registered: May 2009
Junior Member
Where do you define this? is there any file? if not what the command line and how do i get there?

Thank you?
Previous Topic: change in env_rdbms.mk file
Next Topic: [URGENT] Need help with Unix commands
Goto Forum:
  


Current Time: Mon Dec 02 08:34:18 CST 2024