- 论坛徽章:
- 0
|
环境:IBM服务器,unixware7 + oracle7
同样环境的另一台机子上的同一个程序(ct_delart.pc)正常编译通过,在这台机子上就报下面的这个错,好长时间了,那位大侠不吝赐教!谢过啦
$ make
/home1/oracle/bin/proc16 include=/home1/oracle/sqllib/public ireclen=132 select_error=no dbms=v6 ltype=none
userid=ops\$edpman/ops\$edpman sqlcheck=full oraca=yes hold_
cursor=yes iname=ct_delart.pc
System default option values taken from: /home1/oracle/proc16/pccc.cfg
Pro*C: Release 1.6.9.0.0 - Production on Wed Aug 4 16:03:19 2004
Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
Precompiling ct_delart.pc
cc -c -I/home/bsys/libbsys -O ct_delart.c
rm -f ct_delart.c
cc -L/home1/oracle/lib -s -o ct_delart ct_delart.o /home/bsys/libbsys/libbsys6.a -lsql /home1/oracle/lib/osntab.o -
lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lnlsrtl -lc3v6
-lcore3 -lcore -lnlsrtl3 -lnlsrtl -lcore3 -lcore `cat /home1/oracle/rdbms/lib/sysliblist`
UX:cc: WARNING: Avoid specifying -lc; cc will ensure that libc is linked in
the proper order. Linking libc in the wrong order may cause incorrect
execution behavior. If you do specify -lc, make sure that no dynamic
libraries are specified after it.
UX:cc: WARNING: Use -Kthread instead of -lthread when linking with threads
library; using -lthread directly may cause incorrect execution behavior.
Undefined first referenced
symbol in file
my_exit ct_delart.o
distr_set ct_delart.o
st_error ct_delart.o
ora_error ct_delart.o
get_distr_st ct_delart.o
d_between ct_delart.o
bsys_open ct_delart.o
chk_args ct_delart.o
UX:ld: ERROR: ct_delart: fatal error: Symbol referencing errors. No output written to ct_delart
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
[ 本帖最后由 ghoster 于 2006-6-23 15:32 编辑 ] |
|