I’m trying to install free radius 3.0.3 at Solaris, after I use gmake command I got this error, I tried to use make and didn’t work either:

 

 

CC src/lib/cbuff.c

In file included from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:65,

                 from src/lib/cbuff.c:26:

/home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/missing.h:419:1: warning: "htonll" redefined

In file included from /usr/include/netinet/in.h:73,

                 from /usr/include/netdb.h:74,

                 from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/missing.h:40,

                 from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:65,

                 from src/lib/cbuff.c:26:

/usr/include/sys/byteorder.h:46:1: warning: this is the location of the previous definition

In file included from src/lib/cbuff.c:26:

/home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:637: error: syntax error before "func"

gmake: *** [build/objs/src/lib/cbuff.lo] Error 1

 

 

What can I do to solve this error?

 

Thanks


  ­­