搜索
查看: 4990|回复: 1

make 错误。。。

[复制链接]

3

主题

13

回帖

22

积分

新手开车

积分
22
发表于 2020-12-27 13:11:18 | 显示全部楼层 |阅读模式 来自 上海
在用hcxtools过程中如何会发生以下错误,有没有知道的朋友告诉下,并给出解决方案,学习。


root@johan:~/hcxtools# make
make: pkg-config: 没有那个文件或目录
make: pkg-config: 没有那个文件或目录
make: pkg-config: 没有那个文件或目录
make: pkg-config: 没有那个文件或目录
cc -O3 -Wall -Wextra -std=gnu99    -MMD -MF .deps/hcxpcapngtool.d -o hcxpcapngtool hcxpcapngtool.c    -DVERSION_TAG=\"6.1.4-23-ga2371fe\" -DVERSION_YEAR=\"2020\"
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `getpmkid':
hcxpcapngtool.c:(.text+0x1ab7): undefined reference to `PKCS5_PBKDF2_HMAC_SHA1'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x1b0d): undefined reference to `EVP_sha1'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x1b37): undefined reference to `HMAC'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `initlists':
hcxpcapngtool.c:(.text+0x2e35): undefined reference to `OpenSSL_version_num'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `outputeapmschapv2hashlist':
hcxpcapngtool.c:(.text+0x4775): undefined reference to `SHA1_Init'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x478a): undefined reference to `SHA1_Update'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x479f): undefined reference to `SHA1_Update'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x47b5): undefined reference to `SHA1_Update'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x47c8): undefined reference to `SHA1_Final'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `addpmkid':
hcxpcapngtool.c:(.text+0x4c31): undefined reference to `EVP_sha1'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x4c5f): undefined reference to `HMAC'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `decompressgz':
hcxpcapngtool.c:(.text+0x6210): undefined reference to `inflateInit2_'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x62d4): undefined reference to `inflate'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x62e6): undefined reference to `inflateEnd'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6324): undefined reference to `inflateEnd'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6359): undefined reference to `inflateEnd'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `omac1_aes_128_vector':
hcxpcapngtool.c:(.text+0x64d8): undefined reference to `CMAC_CTX_new'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x64ed): undefined reference to `EVP_aes_128_cbc'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6507): undefined reference to `CMAC_Init'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6550): undefined reference to `CMAC_Update'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6560): undefined reference to `CMAC_CTX_free'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x658a): undefined reference to `CMAC_Final'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `testeapolpmk':
hcxpcapngtool.c:(.text+0x67af): undefined reference to `EVP_sha1'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x67db): undefined reference to `HMAC'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6801): undefined reference to `EVP_sha1'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x682c): undefined reference to `HMAC'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x69eb): undefined reference to `EVP_sha256'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6a15): undefined reference to `HMAC'
/usr/bin/ld: hcxpcapngtool.c:(.text+0x6a91): undefined reference to `EVP_md5'
/usr/bin/ld: /tmp/ccWjyjkd.o: in function `gethandshake':
hcxpcapngtool.c:(.text+0x82ce): undefined reference to `PKCS5_PBKDF2_HMAC_SHA1'
collect2: error: ld returned 1 exit status
make: *** 没有规则可制作目标“hcxpcapngtool”,由“build” 需求。 停止。


回复

使用道具 举报

330

主题

177

回帖

1071

积分

vip用户

积分
1071

注册会员活跃会员热心会员

QQ
发表于 2020-12-28 00:11:16 来自手机 | 显示全部楼层
新版本已经不支持了!建议用其他的代替!
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表