johan 发表于 2020-12-27 13:11:18

make 错误。。。

在用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” 需求。 停止。


libo 发表于 2020-12-28 00:11:16

新版本已经不支持了!建议用其他的代替!
页: [1]
查看完整版本: make 错误。。。