当前位置: 技术问答>linux和unix
关于openssl库函数调用问题
来源: 互联网 发布时间:2015-11-20
本文导语: 我include 调用里面的SHA1_Init 等函数结果出现如下错误XD帮忙在线等 /tmp/cc7wqRPs.o(.text+0xe): In function `Sha1': : undefined reference to `SHA1_Init' /tmp/cc7wqRPs.o(.text+0x23): In function `Sha1': : undefined reference to `SHA1_Update' /tmp/cc7wq...
我include
调用里面的SHA1_Init 等函数结果出现如下错误XD帮忙在线等
/tmp/cc7wqRPs.o(.text+0xe): In function `Sha1':
: undefined reference to `SHA1_Init'
/tmp/cc7wqRPs.o(.text+0x23): In function `Sha1':
: undefined reference to `SHA1_Update'
/tmp/cc7wqRPs.o(.text+0x35): In function `Sha1':
: undefined reference to `SHA1_Final'
调用里面的SHA1_Init 等函数结果出现如下错误XD帮忙在线等
/tmp/cc7wqRPs.o(.text+0xe): In function `Sha1':
: undefined reference to `SHA1_Init'
/tmp/cc7wqRPs.o(.text+0x23): In function `Sha1':
: undefined reference to `SHA1_Update'
/tmp/cc7wqRPs.o(.text+0x35): In function `Sha1':
: undefined reference to `SHA1_Final'
|
编译命令行加-lssl