用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]$
不知有什么地方不对?请高手指教!