Operating System - HP-UX
1834497 Members
2573 Online
110067 Solutions
New Discussion

Compile Error withe Pro*C

 
Bagtache
Occasional Contributor

Compile Error withe Pro*C

Hi,

I'm trying to compile Pro*C sources of Oracle 8.0.5.0.0 under HP-UX 10.20. I use C compiler, version A.10.32.30. During the compil time, i get the error described in the attached file.

Who knows what went wrong ?
Nasser
5 REPLIES 5
Andy Monks
Honored Contributor

Re: Compile Error withe Pro*C

My initial guess is that maxdsiz, maxssiz is too low.

I'm assuming you can compile other programs ok?
CHRIS_ANORUO
Honored Contributor

Re: Compile Error withe Pro*C

I would sugest you increase these kernel parameters:

Maxdsiz=1Gb
Maxssiz=90Mb
Maxtsiz=1Gb
Shmmax=1Gb

Make sure also that swapmem_on=1 and allocate_fs_swapmap=0, this will give you up to 2.75Gb of shared memory if you have a swap space that is upto 1Gb.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Amit Kureel
Advisor

Re: Compile Error withe Pro*C

Hello, I think the problem is not with OS configuration rather it is a Pro*C precompiler limitation/bug. Either your program is too big or the precompiler is unable to handle the large number of syntax errors. Try to compile by commenting out some functions (only initially) so that you reduce overall size to see if you get some other errors...Best of Luck

- Amit Kureel
Amit Kureel
Advisor

Re: Compile Error withe Pro*C

Hello, I think the problem is not with OS configuration rather it is a Pro*C precompiler limitation/bug. Either your program is too big or the precompiler is unable to handle the large number of syntax errors. Try to compile by commenting out some functions (only initially) so that you reduce overall size to see if you get some other errors...Best of Luck

- Amit Kureel
rajsri
Frequent Advisor

Re: Compile Error withe Pro*C

could you check up the core file for more info on what caused the problem .
strings core