List Info

Thread: wpa_supplicant WPA-EAP-TTLS configuration




wpa_supplicant WPA-EAP-TTLS configuration
user name
2007-07-04 11:45:35
Hi,

I'm trying to enable de EAP_TTLS option in my wpa_supplicant
0.4.9 but
i can't "make" it. Anybody can help me to find
where is my error
please?

Thanks in advance!

my (.config)
------------------------------------------------------------
------
 #.config
 CONFIG_DRIVER_WEXT=y
 #CONFIG_IEEE8021X_EAPOL=y
 # EAP-TLS
 CONFIG_EAP_TLS=y
 # EAP-TTLS
 CONFIG_EAP_TTLS=y
 # Include control interface for external programs, e.g,
wpa_cli
 CONFIG_CTRL_IFACE=y

make error
 -----------------------------------------------------------
-------
crypto.o: In function `fips186_2_prf':
/tmp/wpa_supplicant-0.5.8/crypto.c:104: multiple definition
of `fips186_2_prf'
sha1.o:/tmp/wpa_supplicant-0.5.8/sha1.c:408: first defined
here
/usr/bin/ld: Warning: size of symbol `fips186_2_prf' changed
from 409
in sha1.o to 565 in crypto.o
crypto.o: In function `sha1_vector':
/tmp/wpa_supplicant-0.5.8/crypto.c:82: multiple definition
of `sha1_vector'
sha1.o:/tmp/wpa_supplicant-0.5.8/sha1.c:396: first defined
here
/usr/bin/ld: Warning: size of symbol `sha1_vector' changed
from 252 in
sha1.o to 88 in crypto.o
crypto.o: In function `md5_vector':
/tmp/wpa_supplicant-0.5.8/crypto.c:70: multiple definition
of `md5_vector'
md5.o:/tmp/wpa_supplicant-0.5.8/md5.c:138: first defined
here
/usr/bin/ld: Warning: size of symbol `md5_vector' changed
from 542 in
md5.o to 88 in crypto.o
aes_wrap.o: In function `aes_encrypt':
/tmp/wpa_supplicant-0.5.8/aes.c:1074: multiple definition of
`aes_encrypt'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:172: first
defined here
/usr/bin/ld: Warning: size of symbol `aes_encrypt' changed
from 27 in
crypto.o to 9 in aes_wrap.o
aes_wrap.o: In function `aes_decrypt':
/tmp/wpa_supplicant-0.5.8/aes.c:1099: multiple definition of
`aes_decrypt'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:198: first
defined here
/usr/bin/ld: Warning: size of symbol `aes_decrypt' changed
from 27 in
crypto.o to 9 in aes_wrap.o
aes_wrap.o: In function `aes_decrypt_init':
/tmp/wpa_supplicant-0.5.8/aes.c:1086: multiple definition of
`aes_decrypt_init'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:184: first
defined here
/usr/bin/ld: Warning: size of symbol `aes_decrypt_init'
changed from
78 in crypto.o to 58 in aes_wrap.o
aes_wrap.o: In function `aes_encrypt_init':
/tmp/wpa_supplicant-0.5.8/aes.c:1061: multiple definition of
`aes_encrypt_init'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:158: first
defined here
/usr/bin/ld: Warning: size of symbol `aes_encrypt_init'
changed from
78 in crypto.o to 58 in aes_wrap.o
aes_wrap.o: In function `aes_decrypt_deinit':
/tmp/wpa_supplicant-0.5.8/aes.c:1105: multiple definition
of
`aes_decrypt_deinit'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:204: first
defined here
aes_wrap.o: In function `aes_encrypt_deinit':
/tmp/wpa_supplicant-0.5.8/aes.c:1080: multiple definition
of
`aes_encrypt_deinit'
crypto.o:/tmp/wpa_supplicant-0.5.8/crypto.c:178: first
defined here
eap.o: In function `eap_sm_allowMethod':
/tmp/wpa_supplicant-0.5.8/eap.c:695: undefined reference to
`wpa_config_allowed_eap_method'
eap.o: In function `eap_sm_buildNak':
/tmp/wpa_supplicant-0.5.8/eap.c:803: undefined reference to
`wpa_config_allowed_eap_method'
eap.o: In function `eap_sm_build_expanded_nak':
/tmp/wpa_supplicant-0.5.8/eap.c:739: undefined reference to
`wpa_config_allowed_eap_method'
collect2: ld devolvió el estado de salida 1
make: *** [wpa_supplicant] Error 1
_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wpa_supplicant WPA-EAP-TTLS configuration
user name
2007-07-04 12:51:35
On Wed, Jul 04, 2007 at 11:45:35AM -0500, Jaume wrote:

> I'm trying to enable de EAP_TTLS option in my
wpa_supplicant 0.4.9 but
> i can't "make" it. Anybody can help me to
find where is my error
> please?

> crypto.o: In function `fips186_2_prf':
> /tmp/wpa_supplicant-0.5.8/crypto.c:104: multiple
definition of `fips186_2_prf'

Did you happen to change .config file and then run
"make" without
cleaning up previous build? This function (like the other
cases
mentioned in your list) are defined in multiple places and
the build
configuration selects which one is used. If you change
configuration,
you will need to clean the previous build ("make
clean") before building
the new configuration.

-- 
Jouni Malinen                                            PGP
id EFC895FA
_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )