Proc Compile error, Cannot create .o

Hi,

I'm facing problem compiling proc on Solaris 10, with proc version 9.2.
I'm not able to create .o
This is how it looks:

$make
. . . Making linkable xxx.o
proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx

Pro*C/C++: Release 9.2.0.1.0 - Production on Thu Jan 21 03:54:25 2010

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

System default option values taken from: /oracle9i/app/oracle/product/9.2.0/precomp/admin/pcscfg.cfg

Syntax error at line 393, column 10, file xxx.pcx:
Error at line 393, column 10 in file xxx.pcx
jmp_buf  file_jmp_env_g;
.........1
PCC-S-02201, Encountered the symbol "file_jmp_env_g" when expecting one of the f
ollowing:

   ; , = ( [

Syntax error at line 0, column 0, file xxx.pcx:
Error at line 0, column 0 in file xxx.pcx
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 xxx.pcx
PCC-F-02102, Fatal error while doing C preprocessing
*** Error code 1
make: Fatal error: Command failed for target `xxx.o'

I have included all the header files in /aa/bb/include.
Can u please suggest.

Have you checked (and maybe corrected) this part of the error message:

Syntax error at line 393, column 10, file xxx.pcx:
Error at line 393, column 10 in file xxx.pcx
jmp_buf  file_jmp_env_g;
.........1
PCC-S-02201, Encountered the symbol "file_jmp_env_g" when expecting one of the f
ollowing:

   ; , = ( [

Remember, reading error messages and thinking about their meaning is usually the first step to a solution.

This is a legacy code.
It was working on Solaris 8, but not on 10.
Why would this happen?