I solved the problem for compiling with the following steps:
I added the following lines in the file:
- src/lib/misc.c
----------------------------------------------------------------------------
---------------------
/* Under OpenBSD the configure script doens't choose the correct
gethostby{addr,name} function */
/* Thierry Rietsch / 22.08.2003 */
#define GETHOSTBYADDRRSTYLE BSD
#define GETHOSTBYNAMERSTYLE BSD
----------------------------------------------------------------------------
---------------------
- src/modules/rlm_x99_token/x99_state.c
----------------------------------------------------------------------------
-----------
/* To use the MD5_DIGEST_LENGTH you have to include the openssl/md5.h under
OpenBSD! */
/* Thierry Rietsch / 22.08.2003 */
#include <openssl/md5.h>
----------------------------------------------------------------------------
-----------
And now it compiles without a problem..
thierry
-----Original Message-----
From: Oliver Graf [mailto:[EMAIL PROTECTED]
Sent: Freitag, 22. August 2003 09:24
To: '[EMAIL PROTECTED]'
Subject: Re: Problems with Freeradius 0.9.0/CVS-Snapshot on OpenBSD 3.3
On Fri, Aug 22, 2003 at 09:19:45AM +0200, Rietsch Thierry wrote:
> Here is the man page for the gethostby* functions under OpenBSD (i386):
>
http://www.openbsd.org/cgi-bin/man.cgi?query=gethostbyaddr&apropos=0&sektion
> =0&manpath=OpenBSD+Current&arch=i386&format=html
>
> Which header files do you need?
Its clickable in the man-page. Thanks.
What about a thread-mutex wrapper for the two funcs in libradius, if
no thread safe variant is found?
Or a big, fat warning in configure that this version is not thradsafe
and should only be run single threaded?
Oliver.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html