On Tue, Jun 25, 2013 at 6:20 AM, Rama Krishna <RLinga@zhone.com> wrote:

Hi There,

I am trying to build FreeRadius 2.2 on Solaris 10 by following the steps given in below link.

http://coova.org/JRadius/FreeRADIUS


Why not follow http://wiki.freeradius.org/building/Solaris?
 

In that process, make is giving the following errors.

Can someone help fixing these? Is there a ready to execute binary for FreeRadius for Solari 10 that I could download?


http://www.opencsw.org/package/freeradius/
 

gambit-12 { zms_release_2.4_gambit_gvu } >ls
freeradius-server-2.2.0      freeradius-server-2.2.0.tar  pax_global_header

gambit-9 { zms_release_2.4_gambit_gvu } >cd freeradius-server-2.2.0
gambit-10 { zms_release_2.4_gambit_gvu } >ls
COPYRIGHT      Makefile       config.guess   debian         libtool.m4     redhat
CREDITS        README         config.log     dialup_admin   ltmain.sh      scripts
INSTALL        VERSION        config.status  doc            man            share
LICENSE        acinclude.m4   config.sub     install-sh     mibs           src
Make.inc       aclocal.m4     configure      libltdl        missing        suse
Make.inc.in    autogen.sh     configure.in   libtool        raddb          todo
gambit-11 { zms_release_2.4_gambit_gvu } >make


I'm pretty sure you need ./confgure first. Or perhaps you've done that already?
 

make[1]: Entering directory `/home/rlinga/freeRadius/freeradius-server-2.2.0'
Making all in libltdl...
make[2]: Entering directory `/home/rlinga/freeRadius/freeradius-server-2.2.0/libltdl'
/usr/local/bin/make  all-am
make[3]: Entering directory `/home/rlinga/freeRadius/freeradius-server-2.2.0/libltdl'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c -o ltdl.lo ltdl.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
ltdl.c: In function `tryall_dlopen':
ltdl.c:2450: parse error before `data'
ltdl.c:2452: `data' undeclared (first use in this function)
ltdl.c:2452: (Each undeclared identifier is reported only once
ltdl.c:2452: for each function it appears in.)
make[3]: *** [ltdl.lo] Error 1
make[3]: Leaving directory `/home/rlinga/freeRadius/freeradius-server-2.2.0/libltdl'


There are switches to ./configure that tells it to use system's libltdl and libtool. If you have alreadt have both installed (e.g. from opencsw), you could probably try "--with-system-libtool --with-system-libltdl"

-- 
Fajar