Hostapd make error!

艳华 杨 helen_yyh23
Thu Feb 16 23:58:23 PST 2006


Hi,
   
  I just installed Hostap, OpenSSL and FreeRADIUS on a same computer, now I want to install the hostapd-0.4.7, I did the following steps:
   
  cp defconfig .config
  make 
   
  Then I got error:
  In file include from /usr/include/openssl/ssl.h:179,
                      from tls_openssl.c:25:
  /usr/include/openssl/kssl.h:132:parse error before "krb5_enctype"
  /usr/include/openssl/kssl.h:134:parse error before "FAR"
  /usr/include/openssl/kssl.h:135:parse error before '}' token
  /usr/include/openssl/kssl.h:147:parse error before "kssl_ctx_eststring"
  /usr/include/openssl/kssl.h:147:parse error before '*' token
  /usr/include/openssl/kssl.h:148:parse error before '*' token
  /usr/include/openssl/kssl.h:149:parse error before '*' token
  /usr/include/openssl/kssl.h:149:parse error before '*' token
  /usr/include/openssl/kssl.h:150:parse error before '*' token
  /usr/include/openssl/kssl.h:151:parse error before "kssl_ctx_setprinc"
  /usr/include/openssl/kssl.h:151:parse error before '*' token
  /usr/include/openssl/kssl.h:153:parse error before "kssl_cget_tkt"
  /usr/include/openssl/kssl.h:153:parse error before '*' token
  /usr/include/openssl/kssl.h:155:parse error before "kssl_sget_tkt"
  /usr/include/openssl/kssl.h:155:parse error before '*' token
  /usr/include/openssl/kssl.h:157:parse error before "kssl_ctx_setkey"
  /usr/include/openssl/kssl.h:157:parse error before '*' token
  /usr/include/openssl/kssl.h:159:parse error before "context"
  /usr/include/openssl/kssl.h:160:parse error before "kssl_build_principal_2"
  /usr/include/openssl/kssl.h:160:parse error before "context"
  /usr/include/openssl/kssl.h:163:parse error before "kssl_validate_times"
  /usr/include/openssl/kssl.h:163:parse error before "atime"
  /usr/include/openssl/kssl.h:165:parse error before "kssl_check_authent"
  /usr/include/openssl/kssl.h:165:parse error before '*' token
  /usr/include/openssl/kssl.h:167:parse error before "enctype"
  In file included from tls_openssl.c:25:
  /usr/include/openssl/ssl.h:909:parse error before "KSSL_CTX"
  /usr/include/openssl/ssl.h:931:parse error before '}' token
  tls_openssl.c: In function 'tls_connection_get_keys':
  tls_openssl.c:1539:dereferencing pointer to incomplete type
  tls_openssl.c:1539:dereferencing pointer to incomplete type
  tls_openssl.c:1543:dereferencing pointer to incomplete type
  tls_openssl.c:1544:dereferencing pointer to incomplete type
  tls_openssl.c:1545:dereferencing pointer to incomplete type
  tls_openssl.c:1547:dereferencing pointer to incomplete type
  tls_openssl.c:In function 'tls_connection_resumed':
  tls_openssl.c:1735:dereferencing pointer to incomplete type
  make: *** [tls_openssl.o] Error 1
   
  I have installed the openssl in /usr/local/openssl/, so my questions are:
     1. Why the included file path is "/usr/include/openssl/"?
     2. How to change the path (/usr/include/openssl/) to my path (/usr/local/openssl/include/openssl/)?
     3. What's the problem of the above make error? What can I do to install hostapd?
   
  In addition, since I made the FreeRADIUS and Hostap in the same compter, how to config the radiusd.conf, eap.conf and hostapd.conf?
   
  Anyone can help me? Thanks a lot.
   
  Yours,Helen

		
---------------------------------
 ??1G???????????
 ????-?????????  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060217/9142cc4a/attachment.htm 



More information about the Hostap mailing list