Failed to build FR 2.1.10 (64-bit) on Solaris 10 x86

Chris Howley C.P.Howley at leeds.ac.uk
Mon May 16 16:23:35 CEST 2011


Alan,

I'm unable to build a 64-bit version of FreeRADIUS 2.1.10 on Solaris 10 9/10 s10x_u9wos_14a X86 owing to the following
problem. I'm using the latest software from the 2.1.x git repository and gcc version 3.4.3.

I've noticed that the 'FNM_FILE_NAME' flag is not declared in the fnmatch.h file on my system if this helps.

Thanks in advance,

Chris



gcc -m64 -O -g -I/opt/local/include -I/opt/webstack/mysql/include/mysql -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I/export/home/ecl6ch/freeradius-server/src -I/export/home/ecl6ch/freeradius-server/libltdl -c rlm_detail.c  -fPIC -DPIC -o .libs/rlm_detail.o
rlm_detail.c: In function `do_detail':
rlm_detail.c:276: warning: comparison between pointer and integer
rlm_detail.c:278: error: `FNM_FILE_NAME' undeclared (first use in this function)
rlm_detail.c:278: error: (Each undeclared identifier is reported only once
rlm_detail.c:278: error: for each function it appears in.)
gmake[6]: *** [rlm_detail.lo] Error 1
gmake[6]: Leaving directory `/export/home/ecl6ch/freeradius-server/src/modules/rlm_detail'
gmake[5]: *** [rlm_detail] Error 2
gmake[5]: Leaving directory `/export/home/ecl6ch/freeradius-server/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/export/home/ecl6ch/freeradius-server/src/modules'
gmake[3]: *** [modules] Error 2
gmake[3]: Leaving directory `/export/home/ecl6ch/freeradius-server/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/ecl6ch/freeradius-server/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/export/home/ecl6ch/freeradius-server'
gmake: *** [all] Error 2




More information about the Freeradius-Users mailing list