> From: Rohaizam Abu Bakar
> Sent: Tuesday, 7 October 2003 5:37 PM

> > That patch is in 0.9.1... The problem is that FreeBSD seems to be
> > providing a symbol gethostbyaddr_r() in the GNU layout, which conftest
> > can link against, but which fails when FreeRADIUS tries to use it.

> > What happens if you put:
> > #line 7980 "configure"
> > #include "confdefs.h"

> > #include <stdio.h>
> > #include <netdb.h>

> > int main() {gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL); return
> 0;}
> > into file called conftest, and run
> > gcc -o
> conftest -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -DNDEBUG
> conftest.c
> > on a FreeBSD machine?

> > If it compiles cleanly, try running it.

> I can't find conftest file.. So just created one .. and put as advised...
> and output below error...

Sorry, I meant conftest.c :-(

> # gcc -o
> conftest -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -DNDEBUG
> conftest.c
> configure:7980:22: confdefs.h: No such file or directory
> configure: In function `main':
> configure:7986: warning: implicit declaration of function `gethostbyaddr_r'

OK, can I now see the 'ldd conftest' output, and what happens when you try
to run it?

--
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

On a sidewalk near Portland State
University someone wrote `Trust Jesus', and
someone else wrote `But Cut the Cards'.


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

Reply via email to