4 Mar
2014
4 Mar
'14
12:45 p.m.
Hi, Arran! * Arran Cudbard-Bell <a.cudbardb@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