FR compilatio​n problem on Solaris

Mohd Alkhaldi alwaadalhaq at gmail.com
Thu Aug 14 10:33:51 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140814/45575b67/attachment.html>


More information about the Freeradius-Users mailing list