root@ubuntu:/home/vv3/Downloads/buildroot-2017.08.1# make
>>> wpa_supplicant 2.6 Building
PATH="/home/vv3/Downloads/buildroot-2017.08.1/output/host/bin:/home/vv3/Downloads/buildroot-2017.08.1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I/home/vv3/Downloads/buildroot-2017.08.1/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libnl3/" LDFLAGS="" BINDIR=/usr/sbin LIBS="" LIBS_c="" LIBS_p="" /usr/bin/make -j5 CC="/home/vv3/Downloads/buildroot-2017.08.1/output/host/bin/arm-linux-gnueabihf-gcc" -C /home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant
make[1]: Entering directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'
../src/common/sae.o: In function `sae_cn_confirm.isra.2':
sae.c:(.text+0x168): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x198): undefined reference to `crypto_bignum_to_bin'
../src/common/sae.o: In function `sae_cn_confirm_ffc':
sae.c:(.text+0x214): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x22c): undefined reference to `crypto_bignum_to_bin'
../src/common/sae.o: In function `sae_cn_confirm_ecc':
sae.c:(.text+0x2a4): undefined reference to `crypto_ec_point_to_bin'
sae.c:(.text+0x2c0): undefined reference to `crypto_ec_point_to_bin'
../src/common/sae.o: In function `sae_derive_pwe_ecc':
sae.c:(.text+0x370): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x388): undefined reference to `crypto_ec_prime_len_bits'
sae.c:(.text+0x40c): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x420): undefined reference to `crypto_bignum_legendre'
sae.c:(.text+0x464): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x528): undefined reference to `crypto_ec_prime_len_bits'
sae.c:(.text+0x5c0): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x5d8): undefined reference to `crypto_ec_point_compute_y_sqr'
sae.c:(.text+0x5f0): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x600): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x60c): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x670): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x67c): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0x690): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x6a4): undefined reference to `crypto_bignum_init'
sae.c:(.text+0x6c0): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x6cc): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x6e0): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x6f4): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x758): undefined reference to `crypto_bignum_mulmod'
sae.c:(.text+0x778): undefined reference to `crypto_bignum_mulmod'
sae.c:(.text+0x7a0): undefined reference to `crypto_bignum_mulmod'
sae.c:(.text+0x7bc): undefined reference to `crypto_bignum_legendre'
sae.c:(.text+0x7e0): undefined reference to `crypto_bignum_mulmod'
sae.c:(.text+0x804): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x828): undefined reference to `crypto_ec_point_init'
sae.c:(.text+0x850): undefined reference to `crypto_ec_point_solve_y_coord'
sae.c:(.text+0x860): undefined reference to `crypto_bignum_deinit'
../src/common/sae.o: In function `sae_derive_pwe_ffc':
sae.c:(.text+0x984): undefined reference to `crypto_bignum_init'
sae.c:(.text+0xa80): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0xaac): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0xad8): undefined reference to `crypto_bignum_exptmod'
sae.c:(.text+0xae8): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xaf4): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xb14): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0xb2c): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xb44): undefined reference to `crypto_bignum_sub'
sae.c:(.text+0xb60): undefined reference to `crypto_bignum_div'
sae.c:(.text+0xb74): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0xbb4): undefined reference to `crypto_bignum_is_one'
../src/common/sae.o: In function `sae_get_rand.isra.5':
sae.c:(.text+0xc20): undefined reference to `crypto_bignum_bits'
sae.c:(.text+0xc90): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0xc9c): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0xcb0): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xcbc): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0xcd4): undefined reference to `crypto_bignum_cmp'
../src/common/sae.o: In function `sae_clear_temp_data':
sae.c:(.text+0xd10): undefined reference to `crypto_ec_deinit'
sae.c:(.text+0xd1c): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xd28): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xd34): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xd40): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xd4c): undefined reference to `crypto_bignum_deinit'
../src/common/sae.o:sae.c:(.text+0xd58): more undefined references to `crypto_bignum_deinit' follow
../src/common/sae.o: In function `sae_clear_temp_data':
sae.c:(.text+0xd70): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0xd7c): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0xd88): undefined reference to `crypto_ec_point_deinit'
../src/common/sae.o: In function `sae_clear_data':
sae.c:(.text+0xdc4): undefined reference to `crypto_bignum_deinit'
../src/common/sae.o: In function `sae_set_group':
sae.c:(.text+0xe10): undefined reference to `crypto_ec_init'
sae.c:(.text+0xe28): undefined reference to `crypto_ec_prime_len'
sae.c:(.text+0xe34): undefined reference to `crypto_ec_get_prime'
sae.c:(.text+0xe40): undefined reference to `crypto_ec_get_order'
sae.c:(.text+0xe88): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0xea8): undefined reference to `crypto_bignum_init_set'
../src/common/sae.o: In function `sae_prepare_commit':
sae.c:(.text+0xf24): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0xfd0): undefined reference to `crypto_bignum_add'
sae.c:(.text+0xfe4): undefined reference to `crypto_bignum_mod'
sae.c:(.text+0xff0): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0x1004): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0x1040): undefined reference to `crypto_ec_point_mul'
sae.c:(.text+0x105c): undefined reference to `crypto_bignum_init'
sae.c:(.text+0x1080): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x1098): undefined reference to `crypto_ec_point_init'
sae.c:(.text+0x10c0): undefined reference to `crypto_ec_point_invert'
sae.c:(.text+0x10fc): undefined reference to `crypto_bignum_exptmod'
sae.c:(.text+0x1118): undefined reference to `crypto_bignum_inverse'
sae.c:(.text+0x1128): undefined reference to `crypto_bignum_init'
../src/common/sae.o: In function `sae_process_commit':
sae.c:(.text+0x1188): undefined reference to `crypto_bignum_init'
sae.c:(.text+0x11a0): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x11ac): undefined reference to `crypto_ec_point_init'
sae.c:(.text+0x11cc): undefined reference to `crypto_ec_point_mul'
sae.c:(.text+0x1200): undefined reference to `crypto_ec_point_add'
sae.c:(.text+0x1220): undefined reference to `crypto_ec_point_mul'
sae.c:(.text+0x1238): undefined reference to `crypto_ec_point_is_at_infinity'
sae.c:(.text+0x1258): undefined reference to `crypto_ec_point_to_bin'
sae.c:(.text+0x1284): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0x129c): undefined reference to `crypto_bignum_init'
sae.c:(.text+0x12bc): undefined reference to `crypto_bignum_exptmod'
sae.c:(.text+0x12f0): undefined reference to `crypto_bignum_mulmod'
sae.c:(.text+0x1310): undefined reference to `crypto_bignum_exptmod'
sae.c:(.text+0x1320): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0x1340): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x136c): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x13d8): undefined reference to `crypto_bignum_add'
sae.c:(.text+0x13ec): undefined reference to `crypto_bignum_mod'
sae.c:(.text+0x1404): undefined reference to `crypto_bignum_to_bin'
../src/common/sae.o: In function `sae_write_commit':
sae.c:(.text+0x15e0): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x1638): undefined reference to `crypto_ec_point_to_bin'
sae.c:(.text+0x1690): undefined reference to `crypto_bignum_to_bin'
../src/common/sae.o: In function `sae_parse_commit':
sae.c:(.text+0x187c): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x18a4): undefined reference to `crypto_bignum_cmp'
sae.c:(.text+0x18c4): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x18e8): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0x190c): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0x1924): undefined reference to `crypto_bignum_cmp'
sae.c:(.text+0x1938): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x19a8): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x19b8): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x19d0): undefined reference to `crypto_bignum_init'
sae.c:(.text+0x19e0): undefined reference to `crypto_bignum_init_set'
sae.c:(.text+0x19fc): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x1a08): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x1a2c): undefined reference to `crypto_bignum_sub'
sae.c:(.text+0x1a40): undefined reference to `crypto_bignum_is_zero'
sae.c:(.text+0x1a54): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0x1a6c): undefined reference to `crypto_bignum_cmp'
sae.c:(.text+0x1a80): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x1a98): undefined reference to `crypto_bignum_exptmod'
sae.c:(.text+0x1ac0): undefined reference to `crypto_bignum_is_one'
sae.c:(.text+0x1ad4): undefined reference to `crypto_bignum_deinit'
sae.c:(.text+0x1aec): undefined reference to `crypto_bignum_cmp'
sae.c:(.text+0x1b2c): undefined reference to `crypto_ec_point_cmp'
sae.c:(.text+0x1b58): undefined reference to `crypto_bignum_to_bin'
sae.c:(.text+0x1bdc): undefined reference to `crypto_ec_point_deinit'
sae.c:(.text+0x1bec): undefined reference to `crypto_ec_point_from_bin'
sae.c:(.text+0x1c08): undefined reference to `crypto_ec_point_is_on_curve'
sae.c:(.text+0x1c2c): undefined reference to `crypto_bignum_cmp'
collect2: error: ld returned 1 exit status
make[1]: *** [wpa_supplicant] Error 1
make[1]: Leaving directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'
make: *** [/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/.stamp_built] Error 2
离线
这个问题没有人遇到么,查了好久的资料都找不到是什么问题
离线
看起来是链接出错,那么应该是缺库,把openssl这个库编译进去就好了。
记得当年罗锤子给openssl捐了几百万。
其实这些软件编译最好用buildroot
晕哥,我的上面就在buildroot上编译根文件统出的错,在那里配置openssl呢,我在配置项里搜索/openssl有好多,都不知道那个是?
离线
OpenSSL在这个位置:
Target packages > Libraries > Crypto > OpenSSL
晕哥,Target packages > Libraries > Crypto > OpenSSL配置上去了,还是报下面的错误,是什问题呢,
>>> wpa_supplicant 2.6 Building
PATH="/home/vv3/Downloads/buildroot-2017.08.1/output/host/bin:/home/vv3/Downloads/buildroot-2017.08.1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I/home/vv3/Downloads/buildroot-2017.08.1/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libnl3/" LDFLAGS="" BINDIR=/usr/sbin LIBS="" LIBS_c="" LIBS_p="" /usr/bin/make -j5 CC="/home/vv3/Downloads/buildroot-2017.08.1/output/host/bin/arm-linux-gnueabihf-gcc" -C /home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant
make[1]: Entering directory `/home/vv3/Downloads/buildroot-2017.08.1/output/build/wpa_supplicant-2.6/wpa_supplicant'
../src/common/sae.o: In function `sae_cn_confirm.isra.2':
sae.c:(.text+0x168): undefined reference to `crypto_bignum_to_bin'
离线