编译异常提示

编译错误提示
test.c:(.text+0x11): undefined reference to `readline’
collect2: ld returned 1 exit status
大家好!这个.text+0x11是什么意思?是编译好的,正文第0x11出出现未定义错误吗?collect2是什么意思?


不是未定义,而是链接的时候找不到那个符号,应该是对应的库没有指定。


undefined reference to `readline’

这才是关键,你能确定“readline”所在的so文件? -l 一下


链接时未找到函数定义.

探讨

http://blog.csdn.net/azhang00000/article/details/2936551

编译异常提示

相关文章:

你感兴趣的文章:

标签云: