pro*c编译问题

[复制链接]
查看11 | 回复0 | 2004-7-20 15:44:00 | 显示全部楼层 |阅读模式
用proc编译生成.c文件以后,用gcc编译出如下错:
[oracle@ydylinux test]$ gcc -L$ORACLE_HOME/precomp/lib -I$ORACLE_HOME/precomp/public 1.c
1.c: In function `main':
1.c:147: warning: return type of `main' is not `int'
/tmp/ccyMBcmP.o(.text+0x2b): In function `main':
: the `gets' function is dangerous and should not be used.
/tmp/ccyMBcmP.o(.text+0x267): In function `main':
: undefined reference to `sqlcxt'
collect2: ld returned 1 exit status
[oracle@ydylinux test]$
不知有什么地方不对?请高手指教!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行