共享库文件编译时,涉及Oracle接口问题,找不到OCI方法,请教大神,,,
makefile:
[acctapp]:/acctdev/work/pubinter>make all
xlc++_r -q64 -bh:5 -lC -g -brtl -qmkshrobj -ma -D_THREAD_SAFE -DAIX -D__BIGMSGQUEUE_ENABLED -DPLATFORM_TYPE=PLATFORM_TYPE_AIX -DMACHINE_WORD=64 -lhmu -I. -I/acctdev/run/framework/pub/liblogutype -I/acctdev/run/framework/pub/tuxadp -I/acctdev/run/framework/pub/router -I/acctdev/run/framework/pub/publog -I/acctdev/run/framework/pub/filter -I/acctdev/run/framework/pub/rule -I/acctdev/run/framework/pub/utype -I/acctdev/run/framework/pub/libdbug -I/acctdev/run/framework/pub/liberrcode -I/acctdev/imdb/dci/include -I/acctdev/run/framework/include -I/acctdev/run/public/include -I/acctdev/run/xerces/include -I/include -I/include/accinc -I/include/baseinc -I/include/datainc -I/include/pubinc -I/include/crminc -I/include/ocs -I/include/croninc -I/src/loginserver/include -I/include/ -I/acctdev/run/framework/src/basemng/include -I/oracle9i/app/oracle/product/9.2.0/precomp/public -I/oracle9i/app/oracle/product/9.2.0/rdbms/public -I/oracle9i/app/oracle/product/9.2.0/rdbms/demo -ldci -limdbodbc -L/acctdev/imdb/dci/lib/ -o libinterpubfun2.so pubinterface.o pubinterHash.o log4c.o
ld: 0711-317 ERROR: Undefined symbol: .OCIAttrGet
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtFetch
ld: 0711-317 ERROR: Undefined symbol: .OCIErrorGet
ld: 0711-317 ERROR: Undefined symbol: .OCIDefineByPos
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtExecute
ld: 0711-317 ERROR: Undefined symbol: .OCIHandleAlloc
ld: 0711-317 ERROR: Undefined symbol: .OCIBindByName
ld: 0711-317 ERROR: Undefined symbol: .OCIDescriptorAlloc
ld: 0711-317 ERROR: Undefined symbol: .OCIAttrSet
ld: 0711-317 ERROR: Undefined symbol: .SQLEnvGet
ld: 0711-317 ERROR: Undefined symbol: .SQLSvcCtxGet
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论