cancel
Showing results for 
Search instead for 
Did you mean: 

Pro*C compiler problem

Anthony Barkhuizen_1
Occasional Contributor

Pro*C compiler problem

I am trying to set up a HP 9000 D320 to replace the application side of a HP 9000 K200. I have loaded and patched HP-UX 11.00 successfully and installed the ANSI C compiler. I have also installed Oracle 8.1.6 client tools and the Pro*C compiler. Client tools work fine and I can connect to the database needed. Then I ported the programs and their make files from the old to the new server. As soon as I run any make file and the Pro*C compiler starts up, I get a Memory Fault (CoreDump). The core dump points out a segmentation error. The old machine is a K200 and has the same amount of memory as the D320 - I compared kernel parameters and all seems to be ok.
Any ideas will be appreciated.
4 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Pro*C compiler problem

>Pro*C compiler starts up, I get a Memory Fault (coredump).

What does "file core" show as aborting?
(You do know that 11.00 isn't supported?)
Anthony Barkhuizen_1
Occasional Contributor

Re: Pro*C compiler problem

I know - but this is all that is available to me at this stage.

Message from pro c compiler:
-----------------------------
Pro*C/C++: Release 8.1.6.0.0 - Production on Wed Oct 28 12:21:28 2009

(c) Copyright 1999 Oracle Corporation. All rights reserved.

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

sh: 2109 Memory fault(coredump)
*** Error exit code 139

Stop.
-----------------------------

and file core:
core: core file from 'proc' - received SIGSEGV

-----------------------------

Thanks for your response
Dennis Handly
Acclaimed Contributor

Re: Pro*C compiler problem

>core: core file from 'proc' - received SIGSEGV

So Pro*C is aborting. I suppose if you have a debugger you could try getting a stack trace.
Or ask oracle for help?
Anthony Barkhuizen_1
Occasional Contributor

Re: Pro*C compiler problem

I loaded Oracle 8.1.5 client tools and Pro*C compiler - this solved the problem.