Problems building freeradius 1.1.3 under cygwin...

3ric Johanson freeradius at
Tue Nov 14 00:27:20 CET 2006

Hi there,

I've been trying to get cygwin to build freeradius for a while now... just 
kinda watching the version numbers grow, but still having problems. :)

Here is the first error that it bombs out at:

Making all in rlm_perl...
make[6]: Entering directory 
/home/3ricj/freeradius-1.1.3/libtool --mode=compile gcc  -g -O2 
.1.3/src/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
include  -I/usr/lib/perl5/5.8/cygwin/CORE -DPERL_USE_SAFE_PUTENV 
asing -pipe -I/usr/local/include -c rlm_perl.c
mkdir .libs
  -I/home/3ricj/freeradius-1.1.3/src/include -DPERL_USE_SAFE_PUTENV 
liasing -pipe -I/usr/local/include -I/usr/lib/perl5/5.8/cygwin/CORE 
AFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -c rlm_perl.c 
-o .libs/rlm_perl.o
rlm_perl.c: In function `rlm_perl_get_handles':
rlm_perl.c:226: warning: cast to pointer from integer of different size
rlm_perl.c: At top level:
rlm_perl.c:614: error: external linkage required for symbol 
because of 'dllexport' attribute.
make[6]: *** [rlm_perl.lo] Error 1
make[6]: Leaving directory 
make[5]: *** [common] Error 2
make[5]: Leaving directory `/home/3ricj/freeradius-1.1.3/src/modules'

Disabling rlm_perl via:

./configure --without-rlm_perl

Results in a functional build.


More information about the Freeradius-Users mailing list