<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>problems with building freeradius on solaris 10</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi Everyone,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Im trying to build freeradius on a solaris10 sparx box. im only interested in rlm_perl modules of freeradius and I face no issues with "configure" </FONT></P>
<P><FONT SIZE=2 FACE="Arial">./configure --prefix=/usr/local/radius --without-threads --with-static-modules="rlm_perl" --without-rlm_sql --without-rlm_eap --without-rlm_ldap --without-rlm_krb5 --without-rlm_python --without-rlm_counter --without-rlm_ippool --without-rlm_otp</FONT></P>
<P><FONT SIZE=2 FACE="Arial">but my make is erroring out with following error:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:41,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> from crypt.c:24:</FONT>
<BR><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/token.h:27: warning: `used' attribute directive ignored</FONT>
<BR><FONT SIZE=2 FACE="Arial">In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:42,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> from crypt.c:24:</FONT>
<BR><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/hash.h:28: warning: `used' attribute directive ignored</FONT>
<BR><FONT SIZE=2 FACE="Arial">In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:54,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> from crypt.c:24:</FONT>
<BR><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/md4.h:13: warning: `used' attribute directive ignored</FONT>
<BR><FONT SIZE=2 FACE="Arial">In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:466,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> from crypt.c:24:</FONT>
<BR><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/packet.h:28: warning: `used' attribute directive ignored</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gcc -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2.0.4/src -DHOSTINFO=\"sparc-sun-solaris2.10\" -DRADIUSD_VERSION=\"2.0.4\" -DNO_OPENSSL -c crypt.c -o crypt.o >/dev/null 2>&1</FONT></P>
<P><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.4/libtool --mode=compile gcc -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2.0.4/src -DHOSTINFO=\"sparc-sun-solaris2.10\" -DRADIUSD_VERSION=\"2.0.4\" -DNO_OPENSSL -c exec.c</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> gcc -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2.0.4/src -DHOSTINFO=\"sparc-sun-solaris2.10\" -DRADIUSD_VERSION=\"2.0.4\" -DNO_OPENSSL -c exec.c -fPIC -DPIC -o .libs/exec.o</FONT></P>
<P><FONT SIZE=2 FACE="Arial">exec.c:226: macro `rad_fork' used without args</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[4]: *** [exec.lo] Error 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[4]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src/main'</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[3]: *** [common] Error 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[3]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src'</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[2]: *** [all] Error 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[2]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src'</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[1]: *** [common] Error 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">gmake[1]: Leaving directory `/var/tmp/freeradius-server-2.0.4'</FONT>
<BR><FONT SIZE=2 FACE="Arial">make: *** [all] Error 2</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Please help.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">thanks</FONT>
<BR><FONT SIZE=2 FACE="Arial">Abhishek</FONT>
</P>
</BODY>
</HTML>