Home » Developer & Programmer » Precompilers, OCI & OCCI » PRO C COMPILATIONS ERRORS
PRO C COMPILATIONS ERRORS [message #198806] Wed, 18 October 2006 11:07
Messages: 10
Registered: June 2006
Junior Member
Hi I am getting a problem while compile the c program.
Server details
HP-UX uapkb139 B.11.11 U 9000/800 1500385023 unlimited-user license

what /opt/ansic/bin/cc
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $
LINT B.11.11.08 CXREF B.11.11.08
HP92453-01 B.11.11.08 HP C Compiler
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
swlist -l product | grep ANSI
C-ANSI-C B.11.11.08 HP C/ANSI C Compiler

Oracle version 64bit.

When I Compiling I am getting the below error.

$ make -f demo_proc.mk build INAME=ote_batch_create.pc EXE=ote_batch_create OBJS=ote_batch_create.o PROCFLAGS=sqlcheck=semantics

proc sqlcheck=semantics iname=ote_batch_create

Pro*C/C++: Release - Production on Wed Oct 11 17:24:44 2006

(c) Copyright 2000 Oracle Corporation. All rights reserved.

System default option values taken from: /oracle_new/product/

cc -I. -I/oracle_new/product/ -I/oracle_new/product/ -I/oracle_new/product/ -I/oracle_new/product/ -I/oracle_new/product/ -c ote_batch_create.c

cc -o ote_batch_create ote_batch_create.o -L/oracle_new/product/ -lclntsh `cat /oracle_new/product/` -lm -lpthread -lpthread

/usr/ccs/bin/ld: Unsatisfied symbols:

pm_create_batch (first referenced in ote_batch_create.o) (code)

pm_cancel_batch (first referenced in ote_batch_create.o) (code)

pm_save_batch (first referenced in ote_batch_create.o) (code)

pm_scale_batch (first referenced in ote_batch_create.o) (code)

gm_session (first referenced in ote_batch_create.o) (code)

pm_reschedule_batch (first referenced in ote_batch_create.o) (code)

pm_sda_clear (first referenced in ote_batch_create.o) (code)

*** Error exit code 1


Please need a help why its not compiling.
Previous Topic: how does oracle provide XA interface?
Next Topic: Get default values from OCI
Goto Forum:

Current Time: Fri Sep 17 17:15:48 CDT 2021