Some months ago I encountered the same problem with BSDi, and the fix
suggested to me was:

Grab ftp://ftp.to.gd-es.com/pub/BSDI/libsem.tar.bz2

This is a port of the POSIX semaphores from FreeBSD.  It was made for BSDI,
but it should work on OpenBSD as well.

Build the library, then you need to get the src/main/Makefile to link in the
libsem.a library.  Something like:

LIBS            += -lradius $(SNMP_LIBS) -lsem.a

or if you haven't installed it somewhere the compiler knows about:

CFLAGS          += -I../include $(SNMP_INCLUDE) -I/path/to/libsem
LIBS            += -lradius $(SNMP_LIBS) /path/to/libsem/libsem.a

That should allow it to find the missing semaphore functions.


----- Original Message -----
From: "Marcos Prudente" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 11:09 AM
Subject: Freeradius & OpenBSD


> Hello all,
>
> I am testing Freeradius with some different platforms, and I'm
> having problems to compile it with OpenBSD. I did search the list's
> archives, and sounds like Freeradius development won't support it, at
> least until OpenBSD's implementation of semaphores change to
> POSIX style. Is it right? My unsucessfull test was with OpenBSD 3.0,
> GNU make, GCC and Freeradius 0.5. The compilations first abort
> because it don't find krb5.h (it acctually exists), and removing some rlm
> modeules, it stops with semaphore.h
>
> Regards,
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to