On Tue, Jan 24, 2012 at 11:41:06AM +0100, Alan DeKok wrote:
OK... I've pushed some fixes.
Just pulled a7e2b67cd - works now, with warnings compiling jlibtool: gcc scripts//jlibtool.c -o build/make/jlibtool scripts//jlibtool.c: In function 'parse_output_file_name': scripts//jlibtool.c:1570: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type /usr/include/string.h:127: note: expected 'char * __restrict__' but argument is of type 'const char *' scripts//jlibtool.c:1579: warning: passing argument 1 of 'free' discards qualifiers from pointer target type /usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *' CC src/lib/dict.c ... breaks compiling radeapclient later on: LINK build/lib/rlm_eap_peap.la CC src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c: In function 'eaptls_authenticate': src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c:262: warning: unused variable 'inst' LINK build/lib/rlm_eap_tls.la CC src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c CC src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c LINK build/lib/rlm_eap_ttls.la CC src/modules/rlm_eap/radeapclient.c build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `SSL_set_ex_data' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `HMAC_CTX_init' build/lib/relink/.libs/libfreeradius-radius.so: undefined reference to `pthread_key_create' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `HMAC_Update' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `SSL_state' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `HMAC_Final' build/lib/relink/.libs/libfreeradius-radius.so: undefined reference to `pthread_once' build/lib/relink/.libs/libfreeradius-radius.so: undefined reference to `pthread_getspecific' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `HMAC_Init_ex' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `HMAC_CTX_cleanup' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `tls_handshake_recv' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `EVP_md5' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `EVP_sha1' build/lib/relink/.libs/libfreeradius-radius.so: undefined reference to `pthread_setspecific' build/lib/relink/.libs/libfreeradius-eap.so: undefined reference to `EVP_MD_size' collect2: ld returned 1 exit status make: *** [build/bin/relink/radeapclient] Error 1
There might still be build errors if you don't have headers/libraries installed. e.g. rlm_python, rlm_perl, etc. The short-term solution is just:
Noted. Likely explains above. In the chunk it compiled, it seemed to go a good deal faster. :) Thanks Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>