> From: andrew bogorodsky
> Sent: Sunday, 14 September 2003 8:28 PM

> Making static dynamic in rlm_dbm...
> gmake[5]: Entering directory 
> `/usr/local/soft/freeradius-0.9.1/src/modules/rlm_dbm'
> gcc  -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -DNDEBUG 
> -I../../include -DHAVE_NDBM_H -c rlm_dbm.c -o rlm_dbm.o
> rlm_dbm.c: In function `sm_parse_user':
> rlm_dbm.c:172: warning: assignment discards qualifiers from pointer 
> target type
> rlm_dbm.c:206: warning: passing arg 2 of `paircmp' discards qualifiers 
> from pointer target type
> /usr/local/soft/freeradius-0.9.1/libtool --mode=link ld \
> -module -static  -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE 
> -DNDEBUG  -I../../include -DHAVE_NDBM_H rlm_dbm.o -o rlm_dbm.a
> mkdir .libs
> ar cru rlm_dbm.a rlm_dbm.o
> ranlib rlm_dbm.a
> gcc  -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -DNDEBUG 
> -I../../include -DHAVE_NDBM_H -c rlm_dbm_parser.c -o rlm_dbm_parser.o
> rlm_dbm_parser.c: In function `storecontent':
> rlm_dbm_parser.c:160: warning: assignment discards qualifiers from 
> pointer target type
> /usr/local/soft/freeradius-0.9.1/libtool --mode=link gcc 
> rlm_dbm_parser.o ../../lib/libradius.a   -o rlm_dbm_parser
> gcc rlm_dbm_parser.o -o rlm_dbm_parser  ../../lib/libradius.a
> ../../lib/libradius.a(misc.o): In function `ip_hostname':
> /usr/local/soft/freeradius-0.9.1/src/lib/misc.c:63: undefined reference 
> to `gethostbyaddr_r'
> gmake[5]: *** [rlm_dbm_parser] Error 1
> 
> (libtool-1.5)

I don't think we support libtool-1.5... No idea if it actually
breaks things.

This problem is triggered by FreeBSD's lying about the functions
provided by libc regarding name resolution. Specifically, it claims
to have gethostbyaddr_r but won't link with it. Try
CFLAGS=-lc_r ./configure {Rest of configure options}
from a clean copy of the tarball, and see if that helps.

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

This is a one line proof...if we start
sufficiently far to the left.
        -- Cambridge University Math Department
---------------------------------------------------------
Random signature generator 3.0 by Paul "TBBle" Hampson
=========================================================


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

Reply via email to