RE: make errors
> 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
make errors
Hello, 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: [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 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 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 Any clues? BTW: This is MacOSX server 10.2.6 Thanks in advance for any advice. Kevin Dunn - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Make errors
"Andrew G. Buenaventura" <[EMAIL PROTECTED]> wrote: > I am getting the following errors when I run make in my > freeradius-0.7.1. Any help will be greatly appreciated. Thanks. Grab the latest CVS snapshot. Those problems are fixed in it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Make errors
I am getting the following errors when I run make in my freeradius-0.7.1. Any help will be greatly appreciated. Thanks. Making static in rlm_sql_freetds... gmake[10]: Entering directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_s ql/drivers/rlm_sql_freetds' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wsha dow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I../.. -I../../.. /../include -c sql_freetds.c -o sql_freetds.o In file included from sql_freetds.h:11, from sql_freetds.c:12: /usr/local/include/tds.h:617: warning: declaration of `connect' shadows global d eclaration sql_freetds.c: In function `sql_init_socket': sql_freetds.c:56: warning: passing arg 2 of `tds_connect' from incompatible poin ter type sql_freetds.c: At top level: sql_freetds.c:272: conflicting types for `sql_fetch_row' sql_freetds.h:31: previous declaration of `sql_fetch_row' sql_freetds.c: In function `sql_fetch_row': sql_freetds.c:326: warning: passing arg 1 of `tds_convert' from incompatible poi nter type sql_freetds.c:326: warning: passing arg 6 of `tds_convert' makes integer from po inter without a cast sql_freetds.c:326: warning: passing arg 7 of `tds_convert' makes pointer from in teger without a cast gmake[10]: *** [sql_freetds.o] Error 1 gmake[10]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_sq l/drivers/rlm_sql_freetds' gmake[9]: *** [common] Error 1 gmake[9]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_sql /drivers' gmake[8]: *** [static] Error 2 gmake[8]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_sql /drivers' gmake[7]: *** [common] Error 1 gmake[7]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_sql ' gmake[6]: *** [static] Error 2 gmake[6]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules/rlm_sql ' gmake[5]: *** [common] Error 1 gmake[5]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/local/src/freeradius-0.7.1/src/modules' gmake[3]: *** [common] Error 1 gmake[3]: Leaving directory `/usr/local/src/freeradius-0.7.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/local/src/freeradius-0.7.1/src' gmake[1]: *** [common] Error 1 gmake[1]: Leaving directory `/usr/local/src/freeradius-0.7.1' make: *** [all] Error 2 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html