problems with building freeradius on solaris 10

Ubale, Abhishek Amarnath uabhi at corp.untd.com
Mon Jun 23 14:21:24 CEST 2008


Hi Everyone,

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" 

./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

but my make is erroring out with following error:

In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:41,
                 from crypt.c:24:
/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/token.h:27: warning: `used' attribute directive ignored
In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:42,
                 from crypt.c:24:
/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/hash.h:28: warning: `used' attribute directive ignored
In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:54,
                 from crypt.c:24:
/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/md4.h:13: warning: `used' attribute directive ignored
In file included from /var/tmp/freeradius-server-2.0.4/src/freeradius-devel/libradius.h:466,
                 from crypt.c:24:
/var/tmp/freeradius-server-2.0.4/src/freeradius-devel/packet.h:28: warning: `used' attribute directive ignored
 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
/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
 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
exec.c:226: macro `rad_fork' used without args
gmake[4]: *** [exec.lo] Error 1
gmake[4]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/freeradius-server-2.0.4/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/var/tmp/freeradius-server-2.0.4'
make: *** [all] Error 2

Please help.

thanks
Abhishek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080623/131bc3ee/attachment.html>


More information about the Freeradius-Users mailing list