net-wireless/wpa_supplicant-2.4-r1 build fails with USE=wimax. It seems to be openssl-related functions redefined in wpa_supplicant. dev-libs/openssl-1.0.2a is installed on system. Reproducible: Always Steps to Reproduce: 1. USE=wimax emerge net-wireless/wpa_supplicant Actual Results: wpa_supplicant build fails due to multiple definition of openssl-related functions. Expected Results: wpa_supplicant successfully build with wibro support Linker error message. x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared ../utils/common.o ../utils/os_unix.o ../utils/wpa_debug.o ../utils/base64.o ../utils/wpabuf.o ../utils/eloop.o ../crypto/md5.o ../crypto/sha1-tlsprf.o ../crypto/aes-encblock.o ../crypto/aes-wrap.o ../crypto/aes-ctr.o ../crypto/aes-eax.o ../crypto/aes-omac1.o ../crypto/ms_funcs.o ../crypto/sha256.o ../crypto/random.o ../eap_common/eap_peap_common.o ../eap_common/eap_psk_common.o ../eap_common/eap_pax_common.o ../eap_common/eap_sake_common.o ../eap_common/eap_gpsk_common.o ../eap_common/chap.o ../crypto/tls_openssl.o ../crypto/crypto_openssl.o ../eap_peer/eap_tls.o ../eap_peer/eap_peap.o ../eap_peer/eap_ttls.o ../eap_peer/eap_md5.o ../eap_peer/eap_mschapv2.o ../eap_peer/mschapv2.o ../eap_peer/eap_otp.o ../eap_peer/eap_gtc.o ../eap_peer/eap_leap.o ../eap_peer/eap_psk.o ../eap_peer/eap_pax.o ../eap_peer/eap_sake.o ../eap_peer/eap_gpsk.o ../eap_peer/eap.o ../eap_common/eap_common.o ../eap_peer/eap_methods.o ../eap_peer/eap_tls_common.o -Wl,-soname -Wl,libeap.so.0 -o libeap.so.0.0.0 -lssl -lcrypto ../crypto/crypto_openssl.o: In function `aes_wrap': crypto_openssl.c:(.text+0x8a0): multiple definition of `aes_wrap' ../crypto/aes-wrap.o:aes-wrap.c:(.text+0x0): first defined here ../crypto/crypto_openssl.o: In function `hmac_md5_vector': crypto_openssl.c:(.text+0x1200): multiple definition of `hmac_md5_vector' ../crypto/md5.o:md5.c:(.text+0x0): first defined here ../crypto/crypto_openssl.o: In function `hmac_md5': crypto_openssl.c:(.text+0x1250): multiple definition of `hmac_md5' ../crypto/md5.o:md5.c:(.text+0x230): first defined here collect2: error: ld returned 1 exit status Makefile:148: recipe for target 'libeap.so.0.0.0' failed
Duplicate of bug 544036
Fixed in 2.4-r2 :-)