Pro*C: Error in linking

From: Lim Choon Long <scip3109_at_leonis.nus.sg>
Date: 16 Jun 1994 21:06:31 GMT
Message-ID: <2tqesn$9ud_at_nuscc.nus.sg>


Hi,

I got the following error when compiling the sample program.

dogbertp:/home/cllim/proc 242% make -f proc.mk samplec /usr/5bin/cc -I. -O -Bdynamic -L/oracle/lib -o samplec samplec.c /oracle/lib/libsql.a /oracle/lib/osntab.o -lsqlnet -lora /oracle/lib/libpls.a -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm ld: Undefined symbol

_ligcnv
_ligncc
_lictbn
_ligraw
_ligstm
_liclas
_liltbn
_liccof
_littbn
_ligpth
_ligratio
_listab
_licbas

*** Error code 2
make: Fatal error: Command failed for target `samplec'

The output for 'uname -a' is
SunOS dogbertp 4.1.3_U1 2 sun4c

This is Pro*C 1.5.10.1.0 in Oracle 7.0.16.4.0.

I called Oracle support and they found that the oracle directory and everything under it belongs to root. We have changed the ownership to oracle (with group dba) but the problem is still unresolved.

Has anyone encounter this problem before? Any help/hint will be greatly appreciated.

Thanks,

CL (email: cllim_at_maxtor.com) Received on Thu Jun 16 1994 - 23:06:31 CEST

Original text of this message