我在执行gcc -o proc_test proc_test.c 之后出现 以下内容
/tmp/cckJwYNd.o: In function `sql_error':
proc_test1.c:(.text+0xa1): undefined reference to `sqlcxt'
proc_test1.c:(.text+0xb0): undefined reference to `exiit'
/tmp/cckJwYNd.o: In function `sql_connect':
proc_test1.c:(.text+0x303): undefined reference to `sqlcxt'
/tmp/cckJwYNd.o: In function `main':
proc_test1.c:(.text+0x3e2): undefined reference to `sqlcxt'
proc_test1.c:(.text+0x6c4): undefined reference to `sqlcxt'
collect2: ld returned 1 exit status
这是什么原因,解决法方法说的详细一点,因为我技术不好,感谢。还有就是sqlcxt在哪一个库里、谢谢大神帮助
/tmp/cckJwYNd.o: In function `sql_error':
proc_test1.c:(.text+0xa1): undefined reference to `sqlcxt'
proc_test1.c:(.text+0xb0): undefined reference to `exiit'
/tmp/cckJwYNd.o: In function `sql_connect':
proc_test1.c:(.text+0x303): undefined reference to `sqlcxt'
/tmp/cckJwYNd.o: In function `main':
proc_test1.c:(.text+0x3e2): undefined reference to `sqlcxt'
proc_test1.c:(.text+0x6c4): undefined reference to `sqlcxt'
collect2: ld returned 1 exit status
这是什么原因,解决法方法说的详细一点,因为我技术不好,感谢。还有就是sqlcxt在哪一个库里、谢谢大神帮助