FR3 on FreeBSD

Aaron Hurt ahurt at
Mon Jul 15 15:29:58 CEST 2013

Just did this myself, it looks like HAVE_CRYPT isn't being properly defined by the configure script on FreeBSD and missing.c is trying to emulate it which causes a conflict with the FreeBSD base definition.  I was able to get things to compile on a 9.1-RELEASE-p3 amd64 box by exporting CFLAGS="-I/usr/local/include" and LDFLAGS="-L/usr/local/include" … this got everything to build but there are still some linking errors when it gets to the proto_dhcp module.  I'll dig a bit more into this later today.

-- Aaron

On Jul 15, 2013, at 2:19 AM, Arran Cudbard-Bell <a.cudbardb at> wrote:

> On 15 Jul 2013, at 08:12, Валерій Степанюк <varela at> wrote:
>> Hi.
>> I can't compile FR3 on FreeBSD.
>> Is there some restriction?
>> Or wait for official ports?
>> freeradius-server-master/src/lib/missing.c:32: error: conflicting types for 'crypt'
>> /usr/include/unistd.h:449: error: previous declaration of 'crypt' was here
>> gmake: *** [freeradius-server-master/src/lib/missing.lo]
> Um nope. Just hasn't been tested. I'll spool up a VM and give it a go if I have time today.
> -Arran
> -
> List info/subscribe/unsubscribe? See

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Devel mailing list