Proc Compile error, Cannot create .o


 
Thread Tools Search this Thread
Operating Systems Solaris Proc Compile error, Cannot create .o
# 1  
Old 01-21-2010
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:
Code:
$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.

Last edited by Scott; 01-21-2010 at 05:25 AM.. Reason: Please use code tags
# 2  
Old 01-21-2010
Have you checked (and maybe corrected) this part of the error message:
Code:
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.
# 3  
Old 01-21-2010
This is a legacy code.
It was working on Solaris 8, but not on 10.
Why would this happen?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

Hi all... As you know I like making code backwards compatible for as many platforms as possible. This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies

2. Solaris

Need help to compile and create python64 bit (2.7.9) on Solaris10

Hi, I am trying to build python(2.7.9) 64 bit from source on solaris10. Using the below to compile ./configure CFLAGS=-m64 LDFLAGS=-m64 But getting errors like below while executing make make: Fatal error: Command failed for target `libinstall' OS info: isainfo -v 64-bit amd64... (9 Replies)
Discussion started by: Sumanthsv
9 Replies

3. Programming

How to compile and run the ProC (*.pc) program?

Hi Team, I am very new to this forum and hope someone will help me in resolving the issue. I am new to Pro C also. I made some changes to the existing Pro C program and want to run the program with the changes. But I am unable to neither compile nor run the program. Please do the... (2 Replies)
Discussion started by: prakashs1218
2 Replies

4. Programming

Linux 11.2 to 10.2 Proc Compile error

I am trying to compile a proc++ program on linux using an 11.2 client and pointing to a 10.2 database running on Solaris. The compiler is able to connect to the database but the semantic checks fail as if it cannot see any objects in the database. I tried a test, only selecting 'X' into a... (0 Replies)
Discussion started by: rdudash
0 Replies

5. UNIX for Dummies Questions & Answers

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 rim_grd_main.o proc sqlcheck=full user=/ include=../include include=/rims/prod/include iname=rim_grd_main.pcx Pro*C/C++: Release... (1 Reply)
Discussion started by: suhaswallur
1 Replies

6. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: suhaswallur
1 Replies

7. Programming

Compile a proc/c++ file in debug mode.

Hi, I'm using the following commands to execute a proc file, but I'm unable to debug the program. What modifications do I need to make in the command options to debug the program created. I have a proc1.pc file, using the following three steps to generate the proc1 exe. After the proc1 exe... (2 Replies)
Discussion started by: ehari
2 Replies

8. Programming

Proc compilation error.

I'm trying to compile a proc program when use make -f proc.mk , it gives the following error . `/export/home/app/oracle/product/10.2.0/lib/libclntsh.so' is up to date. rateutil.o: No such file or directory Please advise ,, I need urgent help. Thanks, Omar Atia:) (2 Replies)
Discussion started by: atiato
2 Replies

9. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

10. UNIX for Dummies Questions & Answers

Proc Makefile error

Hi When i am compile the makefile i am getting this error. make: Fatal error in reader: Makefile, line 25: Extra `:', `::', or `:=' on dependency line Following Content is the makefile. HDR_INSTALL = CommonDb.h rpts.h rptslogfmts.h CCFLAGS+= -g -v BINDIR = $(INSTALLROOT)/bin... (0 Replies)
Discussion started by: nagasundaramn
0 Replies
Login or Register to Ask a Question