FR3 on FreeBSD

Aaron Hurt ahurt at ena.com
Mon Jul 15 15:33:29 CEST 2013


On Jul 15, 2013, at 8:29 AM, Aaron Hurt <ahurt at ena.com> wrote:

> 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 freeradius.org> wrote:
> 
>> 
>> On 15 Jul 2013, at 08:12, Валерій Степанюк <varela at uar.net> 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 http://www.freeradius.org/list/devel.html
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

Sorry, had a typo up there.  I meant:

CFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/local/lib"

This gets things to build but there is still something going on with module linking.

-- Aaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20130715/a42e5658/attachment-0001.html>


More information about the Freeradius-Devel mailing list