Freeradius-Users Digest, Vol 118, Issue 29

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Feb 17 15:41:59 CET 2015



>>> -       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:
>>> 
>> https://docs.oracle.com/cd/E37069_01/html/E37074/appxc.html#scrolltoc
>>>     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.

Because the lack of that particular C11 feature usually generates a warning.

> 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
> rad_suid_set_down_uid               build/objs/src/main/mainconfig.o
> ld: fatal: symbol referencing errors
> collect2: error: ld returned 1 exit status
> gmake: *** [build/bin/local/radiusd] Error 1
> 
> Am I the only one? :)

Fixed.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150217/b7404d73/attachment.sig>


More information about the Freeradius-Users mailing list