Problems building freeradius 1.1.3 under cygwin...

3ric Johanson freeradius at cubesearch.com
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/src/modules/rlm_perl'
/home/3ricj/freeradius-1.1.3/libtool --mode=compile gcc  -g -O2 
-D_REENTRANT -D_
POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG 
-I/home/3ricj/freeradius-1
.1.3/src/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/
include  -I/usr/lib/perl5/5.8/cygwin/CORE -DPERL_USE_SAFE_PUTENV 
-fno-strict-ali
asing -pipe -I/usr/local/include -c rlm_perl.c
mkdir .libs
  gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE 
-DNDEBUG
  -I/home/3ricj/freeradius-1.1.3/src/include -DPERL_USE_SAFE_PUTENV 
-fno-strict-a
liasing -pipe -I/usr/local/include -I/usr/lib/perl5/5.8/cygwin/CORE 
-DPERL_USE_S
AFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -c rlm_perl.c 
-DPIC
-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 
'XS_radiusd_radlog'
because of 'dllexport' attribute.
make[6]: *** [rlm_perl.lo] Error 1
make[6]: Leaving directory 
`/home/3ricj/freeradius-1.1.3/src/modules/rlm_perl'
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.

Cheers,
-3ric



More information about the Freeradius-Users mailing list