<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=188132315-09032009>Building 
hostapd-0.6.8 after installing OpenSSL-0.9.8i (or 0.9.8j) fails with undefined 
references related to OpenSSL dso_dlfcn.c in libcrypto.a&nbsp; as 
follows:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=188132315-09032009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=188132315-09032009>------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=188132315-09032009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cc -o hostapd hostapd.o ieee802_1x.o eapol_sm.o 
ieee802_11.o config.o ieee802_11_auth.o accounting.o sta_info.o wpa.o 
ctrl_iface.o drivers.o preauth.o pmksa_cache.o beacon.o hw_features.o wme.o 
ap_list.o mlme.o vlan_init.o wpa_auth_ie.o ../src/utils/eloop.o 
../src/utils/common.o ../src/utils/wpa_debug.o ../src/utils/wpabuf.o 
../src/utils/os_unix.o ../src/utils/ip_addr.o ../src/common/ieee802_11_common.o 
../src/common/wpa_common.o ../src/radius/radius.o ../src/radius/radius_client.o 
../src/crypto/md5.o ../src/crypto/rc4.o ../src/crypto/md4.o ../src/crypto/sha1.o 
../src/crypto/des.o ../src/crypto/aes_wrap.o ../src/crypto/aes.o iapp.o 
peerkey.o driver_madwifi.o ../src/l2_packet/l2_packet_linux.o 
../src/eap_server/eap_md5.o ../src/eap_server/eap_tls.o 
../src/eap_server/eap_peap.o ../src/eap_common/eap_peap_common.o 
../src/eap_server/eap_ttls.o ../src/eap_server/eap_mschapv2.o 
../src/eap_server/eap_gtc.o ../src/eap_server/eap.o 
../src/eap_common/eap_common.o ../src/eap_server/eap_methods.o 
../src/eap_server/eap_identity.o ../src/eap_server/eap_tls_common.o 
../src/crypto/tls_openssl.o ../src/crypto/ms_funcs.o ../src/eap_common/chap.o 
../src/crypto/crypto_openssl.o -L/usr/src/openssl -L/usr/local/ssl/lib 
-L/usr/lib -lssl -lcrypto<BR>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In 
function `dlfcn_bind_func':<BR>dso_dlfcn.c:(.text+0x2d4): undefined reference to 
`dlsym'<BR>dso_dlfcn.c:(.text+0x348): undefined reference to 
`dlerror'<BR>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function 
`dlfcn_bind_var':<BR>dso_dlfcn.c:(.text+0x400): undefined reference to 
`dlsym'<BR>dso_dlfcn.c:(.text+0x46c): undefined reference to 
`dlerror'<BR>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function 
`dlfcn_unload':<BR>dso_dlfcn.c:(.text+0x4e8): undefined reference to 
`dlclose'<BR>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function 
`dlfcn_load':<BR>dso_dlfcn.c:(.text+0x570): undefined reference to 
`dlopen'<BR>dso_dlfcn.c:(.text+0x5d8): undefined reference to 
`dlclose'<BR>dso_dlfcn.c:(.text+0x5f0): undefined reference to 
`dlerror'<BR>collect2: ld returned 1 exit status<BR>make: *** [hostapd] Error 
1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT face=Arial 
size=2>-------------------------------------------------</FONT></SPAN></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT face=Arial>linux kernel 2.6.24 
built for ARM - xscale</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT face=Arial>hostapd built with 
settings to include madwifi aetheros drivers.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT 
face=Arial></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT face=Arial>Suspect a compile 
switch in OpenSSL is not turned on that should be or that hostapd is building in 
a feature needed from OpenSSL that is not there.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT 
face=Arial></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT face=Arial>Any ideas how to 
resolve?</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT 
face=Arial></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT 
face=Arial>Thanks,</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=188132315-09032009><FONT 
face=Arial>Mike</FONT></SPAN></DIV>
<DIV><FONT face=Arial><BR></FONT></DIV><FONT 
size=2></FONT></FONT></FONT></BODY></HTML>