FR compilation problem on Solaris
Hi, When I try to compile FR2.2.5 on Slaris 10 ( SPARC ) server with Oracle DB, configuration went successfully but I run make , I got the following error: Making all in rlm_unix... /usr/sfw/bin/gmake -w -C rlm_unix all gmake[6]: Entering directory `/export/home/freeradius-server-2.2.5/src/modules/rlm_unix' /export/home/freeradius-server-2.2.5/libtool --mode=compile --tag=CC gcc -I/export/home/freeradius-server-2.2.5 -I/export/home/freeradius-server-2.2.5/src -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -I/export/home/freeradius-server-2.2.5/libltdl -I/export/home/freeradius-server-2.2.5/src -I/export/home/freeradius-server-2.2.5/libltdl -c rlm_unix.c gcc -I/export/home/freeradius-server-2.2.5 -I/export/home/freeradius-server-2.2.5/src -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -I/export/home/freeradius-server-2.2.5/libltdl -I/export/home/freeradius-server-2.2.5/src -I/export/home/freeradius-server-2.2.5/libltdl -c rlm_unix.c -fPIC -DPIC -o .libs/rlm_unix.o rlm_unix.c: In function `groupcmp': rlm_unix.c:81: warning: unused variable `username' rlm_unix.c:83: warning: unused variable `vp' rlm_unix.c: In function `unix_accounting': rlm_unix.c:543: error: structure has no member named `ut_host' rlm_unix.c:543: error: structure has no member named `ut_host' gmake[6]: *** [rlm_unix.lo] Error 1 gmake[6]: Leaving directory `/export/home/freeradius-server-2.2.5/src/modules/rlm_unix' gmake[5]: *** [rlm_unix] Error 2 gmake[5]: Leaving directory `/export/home/freeradius-server-2.2.5/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/export/home/freeradius-server-2.2.5/src/modules' gmake[3]: *** [modules] Error 2 gmake[3]: Leaving directory `/export/home/freeradius-server-2.2.5/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/export/home/freeradius-server-2.2.5/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/export/home/freeradius-server-2.2.5' gmake: *** [all] Error 2 Thanks; Awaad
Mohd Alkhaldi wrote:
When I try to compile FR2.2.5 on Slaris 10 ( SPARC ) server with Oracle DB, configuration went successfully but I run make , I got the following error: ... rlm_unix.c:81: warning: unused variable `username' rlm_unix.c:83: warning: unused variable `vp' rlm_unix.c: In function `unix_accounting': rlm_unix.c:543: error: structure has no member named `ut_host' rlm_unix.c:543: error: structure has no member named `ut_host'
$ rm -rf src/modules/rlm_unix If you don't need it, you don't need to build it. Alan DeKok.
I need it for writing billing data in CDR detail files. On Thu, Aug 14, 2014 at 1:30 PM, Alan DeKok <aland@deployingradius.com> wrote:
Mohd Alkhaldi wrote:
When I try to compile FR2.2.5 on Slaris 10 ( SPARC ) server with Oracle DB, configuration went successfully but I run make , I got the following error: ... rlm_unix.c:81: warning: unused variable `username' rlm_unix.c:83: warning: unused variable `vp' rlm_unix.c: In function `unix_accounting': rlm_unix.c:543: error: structure has no member named `ut_host' rlm_unix.c:543: error: structure has no member named `ut_host'
$ rm -rf src/modules/rlm_unix
If you don't need it, you don't need to build it.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Mohd Alkhaldi