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 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? 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.0gambit-10 { zms_release_2.4_gambit_gvu } >lsCOPYRIGHT Makefile config.guess debian libtool.m4 redhatCREDITS README config.log dialup_admin ltmain.sh scriptsINSTALL VERSION config.status doc man shareLICENSE acinclude.m4 config.sub install-sh mibs srcMake.inc aclocal.m4 configure libltdl missing suseMake.inc.in autogen.sh configure.in libtool raddb todogambit-11 { zms_release_2.4_gambit_gvu } >makemake[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-ammake[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.oltdl.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 onceltdl.c:2452: for each function it appears in.)make[3]: *** [ltdl.lo] Error 1make[3]: Leaving directory `/home/rlinga/freeRadius/freeradius-server-2.2.0/libltdl'make[2]: *** [all] Error 2make[2]: Leaving directory `/home/rlinga/freeRadius/freeradius-server-2.2.0/libltdl'make[1]: *** [libltdl] Error 2make[1]: Leaving directory `/home/rlinga/freeRadius/freeradius-server-2.2.0'make: *** [all] Error 2 Thanks, Rama
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*<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
participants (2)
-
Fajar A. Nugraha -
Rama Krishna