FreeRADIUS 3.0: Segfault in rlm_detail
Julius Plenz
plenz at cis.fu-berlin.de
Tue Mar 4 18:45:17 CET 2014
Hi, Arran!
* Arran Cudbard-Bell <a.cudbardb at freeradius.org> [2014-03-04 15:52]:
> > make: *** [build/objs/src/lib/cbuff.lo] Error 1
>
> OK, what compiler/OS are you using. It means that the preprocessor
> macros in ./build.h couldn't figure out the endianess of the system,
> which is odd as the Macros should cover at least GCC and clang.
I see you and Alan both use Macs. It seems GCC on OS X will actually
define __LITTLE_ENDIAN__, but on Linux it doesn't:
$ gcc -E -dM - < /dev/null | grep -i endian
When I include <endian.h> just before the code block in question in
build.h, then FreeRADIUS compiles correctly.
Julius
More information about the Freeradius-Users
mailing list