----- Original Message ----- 
From: "Chris Parker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 19, 2003 19:03
Subject: Re: FreeRadius and Cygwin


> At 04:49 PM 8/19/2003 -0700, A. Clausen wrote:
> >I'm sure you get this question quite a bit, but I was wondering if anyone
> >had successfully compiled FreeRadius under Cygwin, and if so, what
> >modifications were required.  I've tried a couple of quick compiles, but
so
> >far have been unable to.
>
> Yes, as far back as 0.2.
>
> The trick was to compile static modules ala:
>
> ./configure --disable-shared
>
> And also disabling a few of the modules that try to use stuff that cygwin
> doesn't have.  Try disabling shared modules, and then clean up the
'stable'
> module list to only list the modules you need/want.

Alright, I've done as much as I know how (darn little!), but its failing at
this point:

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.exe 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 -Wl,--export-dynamic
../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_counter/.libs/rlm_counter.a
../modules/rlm_detail/.libs/rlm_detail.a
../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.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_ippool/.libs/rlm_ippool.a .libs/libimp-cyggdbm-3.a
../modules/rlm_mschap/.libs/rlm_mschap.a
../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a
../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_sql/.libs/rlm_sql.a
../modules/rlm_unix/.libs/rlm_unix.a -L/usr/src/freeradius-0.9.0/src/lib -lc
rypt -lpthread /usr/src/freeradius-0.9.0/src/lib/.libs/libradius.a
.libs/libimp-cygltdl-3.a
/usr/src/freeradius-0.9.0/src/lib/.libs/libradius.a(crypt.o)(.text+0x35): In
function `lrad_crypt_check':
/usr/src/freeradius-0.9.0/src/lib/crypt.c:44: undefined reference to
`_crypt'
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
make[4]: *** [radiusd] Error 1
make[4]: Leaving directory `/usr/src/freeradius-0.9.0/src/main'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/usr/src/freeradius-0.9.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeradius-0.9.0/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/usr/src/freeradius-0.9.0'
make: *** [all] Error 2

-- 
Aaron Clausen


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

Reply via email to