Home » Developer & Programmer » Precompilers, OCI & OCCI » Pro*C Compile Errors (7.3.4 to 8.1.7)
Pro*C Compile Errors (7.3.4 to 8.1.7) [message #93564] Mon, 24 June 2002 06:31 Go to next message
Paul
Messages: 164
Registered: April 1999
Senior Member
Hi,

We're migrating our pro*c app. from 7.3.4 to 8.1.7 (and from AIX 4.2.1 to 5.1). First off, I noticed some of the ORACLE libraries had changed, so I had to make the necessary changes to my makefile.

When I compile/link, I get these undefined symbols:

.pw_wait
.pw_post
.pw_config
.aix_ora_pw_version3_required
ksmsgl_
kcbkclx_

Looking at the loadmap, I see that these symbols are referenced in libgeneric8.a, but where are they defined??? I tried using the Oracle symfind utility, but it didn't find them either!!

The Oracle libraries I'm linking with are:
ORACLE_LIBS = -L$(ORACLE_HOME)/lib
-L$(ORACLE_HOME)/rdbms/lib -lsql8
-lcommon8 -lgeneric8 -lncrypt8 -lserver8
-lclient8 -lnl8 -lcore8 -lnls8
-ldsbtsh8 -lclntst8 -lclntsh -lagtsh -lctxc8
`cat /products/oracle/8.1.7/lib/sysliblist`

Anyone have any suggestions?

Thanks,

Paul
Re: Pro*C Compile Errors (7.3.4 to 8.1.7) [message #93665 is a reply to message #93564] Tue, 24 September 2002 22:35 Go to previous messageGo to next message
Giridhar
Messages: 38
Registered: May 2001
Member
Did this problem gets resolved ?
I was wondering whether somebody can help...as i am also in the same need of help.
-Giri
Re: Pro*C Compile Errors (7.3.4 to 8.1.7) [message #93687 is a reply to message #93665] Fri, 11 October 2002 12:44 Go to previous message
mani
Messages: 105
Registered: September 1999
Senior Member
I could compile with the following compilation option.

-bI:/opt/oracle/product/8.1.7/lib/pw-syscall.exp -bI:/opt/oracle/product/8.1.7/lib/ksms.imp

ex:
OBJS = sample1.o

build : $(OBJS)
$(CC) -o SAMP $(OBJS) -I/opt/oracle/product/8.1.7/precomp/public -bI:/opt/oracle/product/8.1.7/lib/pw-syscall.exp -bI:/opt/oracle/product/8.1.7/lib/ksms.imp -L/opt/oracle/product/8.1.7/lib -lsql8 -lclntst8 -lclntsh -L/usr/lib -lpthreads -bloadmap:loadmap
Previous Topic: OCI on 8.1.7
Next Topic: what about PCC-F-NOERRFILE error message?
Goto Forum:
  


Current Time: Mon May 20 09:50:25 CDT 2024