>> Then I try "make" and end up with:
>> 
>> make[4]: *** [radiusd] Error 1
> 
> Which is quite unhelpful.  There were more descriptive errors
> printed out by make.

Okay, let me try that again. This is the output where make starts to warn of
problems, continuing to the ultimate failure:

extracting global C symbols from
`../modules/rlm_x99_token/.libs/rlm_x99_token.a'
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "radiusdS.c")
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -I../include -o radiusd radiusd.o files.o util.o
acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o timestr.o
conffile.o modules.o modcall.o session.o xlat.o threads.o smux.o
radius_snmp.o client.o request_list.o mainconfig.o
../modules/rlm_acct_unique/.libs/rlm_acct_unique.a
../modules/rlm_always/.libs/rlm_always.a
../modules/rlm_attr_filter/.libs/rlm_attr_filter.a
../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a
../modules/rlm_chap/.libs/rlm_chap.a
../modules/rlm_detail/.libs/rlm_detail.a
../modules/rlm_digest/.libs/rlm_digest.a
../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expr/.libs/rlm_expr.a
../modules/rlm_fastusers/.libs/rlm_fastusers.a
../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_krb5/.libs/rlm_krb5.a
-lcom_err -lkrb5 ../modules/rlm_ldap/.libs/rlm_ldap.a -lssl -llber -lldap_r
-lldap_r ../modules/rlm_mschap/.libs/rlm_mschap.a
../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a
../modules/rlm_pam/.libs/rlm_pam.a -lpam ../modules/rlm_pap/.libs/rlm_pap.a
../modules/rlm_preprocess/.libs/rlm_preprocess.a
../modules/rlm_radutmp/.libs/rlm_radutmp.a
../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_unix/.libs/rlm_unix.a
../modules/rlm_x99_token/.libs/rlm_x99_token.a -lcrypto
-L/Users/testbed/Desktop/freeradius-0.9.0/src/lib
/Users/testbed/Desktop/freeradius-0.9.0/src/lib/.libs/libradius.a
/usr/local/lib/libltdl.a -lpthread
ld: warning multiple definitions of symbol _des_is_weak_key
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_is_weak_key
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_is_weak_key
ld: warning multiple definitions of symbol _des_set_key
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_set_key
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_set_key
ld: warning multiple definitions of symbol _des_key_sched
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_key_sched
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_key_sched
ld: warning multiple definitions of symbol _des_fixup_key_parity
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_fixup_key_parity
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_fixup_key_parity
ld: warning multiple definitions of symbol _des_check_key_parity
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_check_key_parity
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_check_key_parity
ld: warning multiple definitions of symbol _des_crypt
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _des_crypt
ld: warning multiple definitions of symbol _des_fcrypt
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_fcrypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _des_fcrypt
ld: warning multiple definitions of symbol _crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _crypt
/usr/lib/libpthread.dylib(crypt.So) definition of _crypt
ld: warning multiple definitions of symbol _des_ecb_encrypt
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_ecb_encrypt
/usr/lib/libcrypto.dylib(ecb_enc.o) definition of _des_ecb_encrypt
ld: warning multiple definitions of symbol _des_read_pw_string
/usr/lib/libcom_err.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_read_pw_string
/usr/lib/libcrypto.dylib(read_pwd.o) definition of _des_read_pw_string
ld: Undefined symbols:
_gethostbyaddr_r
_gethostbyname_r
rm -f .libs/radiusdS.o
make[4]: *** [radiusd] Error 1
make[3]: *** [common] Error 1
make[2]: *** [all] Error 2
make[1]: *** [common] Error 1
make: *** [all] Error 2

> MAC OSX apparently has issues in 0.9.0, too.  They do even more
> weird things, which means building it is annoying, but not impossible.

Well, I'm a network admin and not a particularly experienced *NIX sysadmin,
so annoying for you may be impossible for me-- but I'm willing to keep
plugging away if anyone more knowledgeable than I (a description fitting
most of this list, I imagine) has any suggestions.
-- 
Dave Pooser
Manager of Information Services
Alford Media  http://www.alfordmedia.com


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to