> From: Kevin T. Dunn
> Sent: Saturday, 12 July 2003 7:22 AM
> This is my first post to this list...so please be gentle. :-)
> I am trying to compile FR 0.9.0-pre1. Yes I have read about the
> radpaths.h and RADIUSD_VERSION and HOSTINFO not being defined. I have
> worked around these, but now I get the following listed below:
I suspect this is obvious, but did you read the MacOS X docs? I don't
remember what's in them, so I've no idea if they'd help.
Mainly out of curiosity, _how_ did you work around those?
> [jagserve:admin/freeradius-0.9.0-pre1/src] admin# make
> Making all in lib...
> make[2]: Nothing to be done for `all'.
> Making all in modules...
> Making static dynamic in rlm_acct_unique...
> # @cp rlm_acct_unique.a /src/modules/lib
> # @cp rlm_acct_unique.la /src/modules/lib
> Making static dynamic in rlm_always...
> # @cp rlm_always.a /src/modules/lib
> # @cp rlm_always.la /src/modules/lib
> Making static dynamic in rlm_attr_filter...
> # @cp rlm_attr_filter.a /src/modules/lib
> # @cp rlm_attr_filter.la /src/modules/lib
> Making static dynamic in rlm_attr_rewrite...
> # @cp rlm_attr_rewrite.a /src/modules/lib
> # @cp rlm_attr_rewrite.la /src/modules/lib
> Making static dynamic in rlm_chap...
> # @cp rlm_chap.a /src/modules/lib
> # @cp rlm_chap.la /src/modules/lib
Why is it that these all do nothing? I take it this is a second
run of make?
What's interesting here is that top_builddir doesn't appear
to be defined.... Those commands are
cp {target}.a ${top_builddir}/src/modules/lib
> Making static dynamic in rlm_counter...
> make[4]: Nothing to be done for `static'.
> make[4]: Nothing to be done for `dynamic'.
> Making static dynamic in rlm_dbm...
> /Users/admin/freeradius-0.9.0-pre1/libtool --mode=link gcc
> rlm_dbm_parser.o ../../lib/libradius.a -lpthread -o rlm_dbm_parser
> gcc rlm_dbm_parser.o -o rlm_dbm_parser ../../lib/libradius.a -lpthread
> ld: Undefined symbols:
> _gethostbyaddr_r
> _gethostbyname_r
That's deranged. This file doesn't _use_ gethostby*, as far as I
can see... And if this is triggered by linking in ../../lib/libradius.a
then why did the previous modules (assumedly) build correctly?
> make[4]: *** [rlm_dbm_parser] Error 1
> make[3]: *** [common] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [common] Error 1
> make: *** [all] Error 2
> BTW: This is MacOSX server 10.2.6
I guess I'd suggest a complete clean, rebuild and see if those logs
have any clues... Particularly the part of configure, near the end,
where it looks for gethostby* and also sets top_builddir (both
strangenesses are conviniently together :-)
--
=========================================================
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