Pro*C compile error HELP

From: Ku Kam Ming <kmku_at_hkusua.hku.hk>
Date: 1996/03/06
Message-ID: <Dnu1vr.FL9.0.-s_at_hkusuc.hku.hk>#1/1


I am novice in Pro*C and wanted to compile the demo .pc program but failed:

% /usr/ccs/bin/make -f proc.mk sample2
/usr/ccs/bin/make -f /oracle/product/7.1.6.2/proc/lib/proc.mk
OBJS=sample2.o EXE=sample2 build
/oracle/product/7.1.6.2/bin/proc iname=sample2.pc
 

Pro*C: Release 2.0.6.0.0 - Production on Wed Mar 6 14:25:42 1996  

Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.  

System default option values taken from:
/oracle/product/7.1.6.2/proc/pmscfg.h
 

cc -I. -O -xcg92 -I/oracle/product/7.1.6.2/sqllib/public -c sample2.c cc -I. -O -xcg92 -L/oracle/product/7.1.6.2/lib -o sample2 sample2.o -lsql
/oracle/product/7.1.6.2/lib/osntab.o -lsqlnet -lora -lsqlnet -lora
-lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore `cat
/oracle/product/7.1.6.2/rdbms/lib/sysliblist`

Undefined                       first referenced
 symbol                             in file
__cg92_libc                         (command line)
ld: fatal: Symbol referencing errors. No output written to sample2 *** Error code 1
make: Fatal error: Command failed for target `build' Current working directory /oracle/product/7.1.6.2/proc/demo *** Error code 1
make: Fatal error: Command failed for target `sample2'

Any Expert PLS suggest me what went wrong.

--
**********************************************************************
Kam-ming Ku (kmku)	          Big-5:[ÅUÀA©ú]   GB: ~{9K=uCw~}	
Main Library,				Email : kmku_at_hkucc.hku.hk
The University of Hong Kong,		Tel.  : (852) 2859-8068  
Pokfulam Road, Hong Kong.               Fax.  : (852) 2858-9420
*********************************************************************
 
Received on Wed Mar 06 1996 - 00:00:00 CET

Original text of this message