Freeradius-Users Digest, Vol 118, Issue 29
sander.eerdekens at uzleuven.be
Tue Feb 17 15:25:06 CET 2015
> Date: Tue, 17 Feb 2015 07:36:35 -0500
> From: Alan DeKok <aland at deployingradius.com>
> Subject: Re: compiling Freeradius v3 on Solaris 11
> > The issue I am bumping into is the same as described here:
> > http://lists.freeradius.org/pipermail/freeradius-users/2014-
> > (compiling Freeradius 3.0.3 at Solaris).
> > src/lib/udpfromto.c:251:6: error: 'struct msghdr' has no member named
> > Is there anything I can do to help get this issue fixed?
> This should help: ./configure —help
> ./configure ----with-udpfromto=no
Thank you, I overlooked this, this helps!
> > - I have tried compiling arran's Freeradius 3.0.7 RC0, but keep getting an
> error that my compiler must support C11,
> > I am using Solaris Studio 12.4, whoch should support C11:
> > Is my compiler broken?
> I’d say so.
> > If I try to compile the snippet itself I get a warning that the last return
> was not reached.
> It’s a warning. Not an error.
Yes, but with the -Werror option that the configure script passes, all warnings are treated as errors.
Furthermore, Configure does not seem to set the RADIUSD_VERSION constant in /src/include/features.h and /src/include/autoconf.h
RADIUSD_VERSION_STRING in these files were set to the correct version.
If I set RADIUSD_VERSION to 030006 manually, I can compile and get 3.0.6 running.
Thank you very much!
One more comment: If I try to build 3.0.7 using the same settings as above,
RADIUS_VERSION_STRING is set to 3.1.0, and I get this error further on:
Undefined first referenced
symbol in file
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
gmake: *** [build/bin/local/radiusd] Error 1
Am I the only one? :)
More information about the Freeradius-Users