proc编译时候的联结错误?请帮忙!

jianshen77 2003-04-24 04:03:13

[Linker error] undefined reference to `sqlcxt'
我用c编译器编译预编译好的c文件,结果联结的时候抱错!
在windows 2000 server gcc编译器
这是为什么?
函数原形
extern void sqlcxt (void **, unsigned long *,
struct sqlexd *, const struct sqlcxp *);
我在c文件里面也找不到它的实现,
因该如何更正呢!
...全文
31 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
black_snail 2003-04-29
  • 打赏
  • 举报
回复
Visual C Pro*C configuration:

1. Include Oracle header file directory in the directory list
2. include oraSQL8.lib in the object/modules
3. Put proc command in the custome Build of Pro*C
zhangtenyu 2003-04-29
  • 打赏
  • 举报
回复
用c编译器编译时要用 -L 加载oracle的库文件所在的路经
nicholaz 2003-04-28
  • 打赏
  • 举报
回复
proc很久没用了,你到 c 论坛去问问
jianshen77 2003-04-28
  • 打赏
  • 举报
回复
没有人可以帮忙吗?

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧