Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pro C Compilation error 1506-046

954800Aug 9 2012
Hi,
I am trying to compile a pro c code and it throws an error shown below-

"oracle-fns.c", line 117.8: 1506-046 (S) Syntax error.
"oracle-fns.c", line 125.1: 1506-046 (S) Syntax error.
the oracle-fns.c file is feting created from oracle-fns.pc file which is a pro c code!

on opening the oracle-fns.c file; the area its pointing to is having a declaration for extern!

Can someone help me in this regard!
my make file has the following flags set- pointing to the oracle libraries

PC_LDFLAGS =-m64 -L$(ORACLE_HOME)/precomp/lib -L$(ORACLE_HOME)/rdbms/public -L$(ORACLE_HOME)/rdbms/demo -L$(ORACLE_HOME)/plsql/demo -L$(ORACLE_HOME)/plsql/public -L$(ORACLE_HOME)/network/public -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/bin
PC_LIBS = -lclntsh -lsql11


Any help is highly appreciated!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2012
Added on Aug 9 2012
0 comments
615 views