Freeradius-Devel Digest, Vol 53, Issue 16

kachin Agarwal kach_gr8 at yahoo.co.in
Thu Sep 17 12:17:52 CEST 2009


hi,
      Actually these patches worked fine when i upgraded freeeadius server from 2.0.2 to 2.1.4
So again i ve created these patches for 2.1.6
But the patches work fine. as it does not show any error while patching. but only shows an error after that

patching file src/modules/rlm_eap/types/rlm_eap_ttls/eap_ttls.h
patching file src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
patching file share/dictionary
Hunk #1 succeeded at 186 (offset 3 lines).
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf at gnu.org.
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir setting
config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting
radius.c: In function 'vp2data':
radius.c:678: warning: pointer targets in passing argument 2 of 'make_passwd' differ in signedness
radius.c:704: warning: pointer targets in passing argument 2 of 'make_tunnel_passwd' differ in signedness
radius.c:711: warning: pointer targets in passing argument 2 of 'make_tunnel_passwd' differ in signedness
rlm_counter.c: In function 'counter_instantiate':
rlm_counter.c:533: warning: suggest explicit braces to avoid ambiguous 'else'
rlm_eap_peap.c: In function 'eappeap_authenticate':
rlm_eap_peap.c:315: warning: implicit declaration of function 'pairmoveall'
rlm_eap_ttls.c: In function 'eapttls_authenticate':
rlm_eap_ttls.c:215: warning: implicit declaration of function 'pairmoveall'
rlm_eap.c: In function 'eap_instantiate':
rlm_eap.c:203: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
rlm_eap.c:211: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
/opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/lib/gcc/mips-xlr-linux-gnu/4.2.2/../../../../mips-xlr-linux-gnu/bin/ld: warning: libfreeradius-radius-2.1.6.so, needed by libeap/.libs/libfreeradius-eap.so, not found (try using -rpath or -rpath-link)
.libs/radeapclient.o: In function `cleanresp':
radeapclient.c:(.text+0x214): undefined reference to `pairdelete'
radeapclient.c:(.text+0x234): undefined reference to `pairdelete'
radeapclient.c:(.text+0x24c): undefined reference to `pairbasicfree'
.libs/radeapclient.o: In function `process_eap_start':
radeapclient.c:(.text+0x304): undefined reference to `pairfind'
radeapclient.c:(.text+0x43c): undefined reference to `pairfind'
radeapclient.c:(.text+0x454): undefined reference to `pairfind'
radeapclient.c:(.text+0x46c): undefined reference to `pairfind'
radeapclient.c:(.text+0x520): undefined reference to `paircreate'
radeapclient.c:(.text+0x538): undefined reference to `pairreplace'
radeapclient.c:(.text+0x558): undefined reference to `paircreate'
radeapclient.c:(.text+0x570): undefined reference to `pairreplace'
radeapclient.c:(.text+0x5a4): undefined reference to `paircreate'
radeapclient.c:(.text+0x5c0): undefined reference to `fr_rand'
radeapclient.c:(.text+0x5e0): undefined reference to `fr_rand'
radeapclient.c:(.text+0x5f8): undefined reference to `fr_rand'
radeapclient.c:(.text+0x610): undefined reference to `fr_rand'
radeapclient.c:(.text+0x654): undefined reference to `pairreplace'
radeapclient.c:(.text+0x67c): undefined reference to `pairfind'
radeapclient.c:(.text+0x6dc): undefined reference to `paircreate'
radeapclient.c:(.text+0x734): undefined reference to `pairreplace'
.libs/radeapclient.o: In function `respond_eap_sim':
radeapclient.c:(.text+0x968): undefined reference to `paircopy2'
radeapclient.c:(.text+0x990): undefined reference to `paircopy2'
radeapclient.c:(.text+0x9b0): undefined reference to `pairfind'
radeapclient.c:(.text+0x9d0): undefined reference to `paircreate'
radeapclient.c:(.text+0x9e8): undefined reference to `pairreplace'
radeapclient.c:(.text+0xa04): undefined reference to `pairfind'
radeapclient.c:(.text+0xa80): undefined reference to `vp_printlist'
radeapclient.c:(.text+0xa98): undefined reference to `pairfind'
radeapclient.c:(.text+0xb28): undefined reference to `pairfind'
radeapclient.c:(.text+0xb40): undefined reference to `pairfind'
radeapclient.c:(.text+0xb7c): undefined reference to `pairfind'
radeapclient.c:(.text+0xba8): undefined reference to `pairfind'
.libs/radeapclient.o:radeapclient.c:(.text+0xbc4): more undefined references to `pairfind' follow
.libs/radeapclient.o: In function `respond_eap_sim':
radeapclient.c:(.text+0x1024): undefined reference to `paircreate'
radeapclient.c:(.text+0x103c): undefined reference to `pairreplace'
radeapclient.c:(.text+0x1054): undefined reference to `paircreate'
radeapclient.c:(.text+0x1070): undefined reference to `pairreplace'
radeapclient.c:(.text+0x10ac): undefined reference to `paircreate'
radeapclient.c:(.text+0x10ec): undefined reference to `pairreplace'
radeapclient.c:(.text+0x1268): undefined reference to `pairreplace'
radeapclient.c:(.text+0x12dc): undefined reference to `pairreplace'
.libs/radeapclient.o: In function `sendrecv_eap':
radeapclient.c:(.text+0x1370): undefined reference to `pairfind'
radeapclient.c:(.text+0x1390): undefined reference to `pairfind'
radeapclient.c:(.text+0x13ac): undefined reference to `pairfind'
radeapclient.c:(.text+0x13c8): undefined reference to `strlcpy'
radeapclient.c:(.text+0x140c): undefined reference to `vp_printlist'
radeapclient.c:(.text+0x1418): undefined reference to `pairfind'
radeapclient.c:(.text+0x1430): undefined reference to `pairdelete'
radeapclient.c:(.text+0x1484): undefined reference to `fr_md5_calc'
radeapclient.c:(.text+0x1490): undefined reference to `strlcpy'
radeapclient.c:(.text+0x17c0): undefined reference to `rad_chap_encode'
radeapclient.c:(.text+0x17e4): undefined reference to `rad_send'
radeapclient.c:(.text+0x1934): undefined reference to `rad_recv'
radeapclient.c:(.text+0x19a0): undefined reference to `ip_ntoh'
radeapclient.c:(.text+0x19c0): undefined reference to `ip_ntoh'
radeapclient.c:(.text+0x1a10): undefined reference to `fr_perror'
radeapclient.c:(.text+0x1a94): undefined reference to `rad_verify'
radeapclient.c:(.text+0x1ab8): undefined reference to `fr_perror'
radeapclient.c:(.text+0x1ac4): undefined reference to `rad_decode'
radeapclient.c:(.text+0x1ae8): undefined reference to `fr_perror'
radeapclient.c:(.text+0x1af4): undefined reference to `fr_debug_flag'
radeapclient.c:(.text+0x1bc0): undefined reference to `paircreate'
radeapclient.c:(.text+0x1bd8): undefined reference to `pairadd'
radeapclient.c:(.text+0x1bf8): undefined reference to `paircreate'
radeapclient.c:(.text+0x1c10): undefined reference to `pairadd'
radeapclient.c:(.text+0x1c60): undefined reference to `paircreate'
radeapclient.c:(.text+0x1cac): undefined reference to `pairadd'
radeapclient.c:(.text+0x1d1c): undefined reference to `paircopy2'
radeapclient.c:(.text+0x1d28): undefined reference to `fr_MD5Init'
radeapclient.c:(.text+0x1d34): undefined reference to `fr_MD5Update'
radeapclient.c:(.text+0x1d40): undefined reference to `fr_MD5Final'
radeapclient.c:(.text+0x1d4c): undefined reference to `paircreate'
radeapclient.c:(.text+0x1d58): undefined reference to `pairreplace'
.libs/radeapclient.o: In function `main':
radeapclient.c:(.text+0x20d8): undefined reference to `fr_debug_flag'
radeapclient.c:(.text+0x2204): undefined reference to `fr_debug_flag'
radeapclient.c:(.text+0x2578): undefined reference to `dict_init'
radeapclient.c:(.text+0x2598): undefined reference to `fr_perror'
radeapclient.c:(.text+0x25b4): undefined reference to `rad_alloc'
radeapclient.c:(.text+0x25d4): undefined reference to `fr_perror'
radeapclient.c:(.text+0x2810): undefined reference to `ip_hton'
radeapclient.c:(.text+0x29c4): undefined reference to `pairfree'
radeapclient.c:(.text+0x29d0): undefined reference to `readvp2'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_strerror'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_SHA1Final'
libeap/.libs/libfreeradius-eap.so: undefined reference to `pairmake'
libeap/.libs/libfreeradius-eap.so: undefined reference to `dict_valbyattr'
libeap/.libs/libfreeradius-eap.so: undefined reference to `paircopy'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_SHA1Init'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_SHA1Update'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_hmac_sha1'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_SHA1FinalNoLen'
libeap/.libs/libfreeradius-eap.so: undefined reference to `fr_SHA1Transform'
collect2: ld returned 1 exit status
make[7]: *** [radeapclient] Error 1
make[6]: *** [common] Error 2
make[5]: *** [all] Error 2
make[4]: *** [common] Error 2
make[3]: *** [all] Error 2
make[2]: *** [common] Error 2
make[1]: *** [all] Error 2
make: *** [*/*/*/*/freeradius-server-2.1.6/src/main/radiusd] Error 2


i m a newbie in free radius server. i m able to use 2.1.4 but i want to upgrade it to 2.1.6
can u jus tell me which file creates the libfreeradius-radius-2.1.6.so and the whole concept of linking in a nutshell.


Thanx & regards,
kachin
--- On Thu, 17/9/09, freeradius-devel-request at lists.freeradius.org <freeradius-devel-request at lists.freeradius.org> wrote:

From: freeradius-devel-request at lists.freeradius.org <freeradius-devel-request at lists.freeradius.org>
Subject: Freeradius-Devel Digest, Vol 53, Issue 16
To: freeradius-devel at lists.freeradius.org
Date: Thursday, 17 September, 2009, 3:30 PM

Send Freeradius-Devel mailing list submissions to
    freeradius-devel at lists.freeradius.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freeradius.org/mailman/listinfo/freeradius-devel
or, via email, send a message with subject or body 'help' to
    freeradius-devel-request at lists.freeradius.org

You can reach the person managing the list at
    freeradius-devel-owner at lists.freeradius.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freeradius-Devel digest..."


Today's Topics:

   1. Cannot upgrade 2.1.4 to 2.1.6 (kachin Agarwal)
   2. Re: Cannot upgrade 2.1.4 to 2.1.6 (Alan Buxey)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 Sep 2009 11:31:42 +0530 (IST)
From: kachin Agarwal <kach_gr8 at yahoo.co.in>
Subject: Cannot upgrade 2.1.4 to 2.1.6
To: freeradius-devel at lists.freeradius.org
Message-ID: <375760.2597.qm at web94206.mail.in2.yahoo.com>
Content-Type: text/plain; charset="utf-8"



I m trying to upgrade from freeradius-server2.1.4 to
 freeradius-server2.1.6.
i ve created some patches and applied it.
but while compiling, it patches all the files and then gives me an error as below :

/opt/wios/gcc-4.2.2-glibc-2.7- p2/mips-xlr-linux-gnu/lib/gcc/ mips-xlr-linux-gnu/4.2.2/../.. /../../mips-xlr-linux-gnu/bin/ ld: warning: libfreeradius-radius-2.1.6.so, needed by libeap/.libs/libfreeradius- eap.so, not found (try using -rpath or -rpath-link)


collect2: ld returned 1 exit status
make[7]: *** [radeapclient] Error 1
make[6]: *** [common] Error 2
make[5]: *** [all] Error 2
make[4]: *** [common] Error 2
make[3]: *** [all] Error 2
make[2]: *** [common] Error 2

make[1]: *** [all] Error 2

make: *** [*/*/*/*/*/freeradius-server- 2.1.6/src/main/radiusd] Error 2

it fails to link
plz give me a solution to this problem.


       





      Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freeradius.org/pipermail/freeradius-devel/attachments/20090917/e66a99ed/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 17 Sep 2009 09:29:10 +0100
From: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
Subject: Re: Cannot upgrade 2.1.4 to 2.1.6
To: FreeRadius developers mailing list
    <freeradius-devel at lists.freeradius.org>
Message-ID: <20090917082910.GD421 at lboro.ac.uk>
Content-Type: text/plain; charset=us-ascii

Hi,

> I m trying to upgrade from freeradius-server2.1.4 to
>  freeradius-server2.1.6.
> i ve created some patches and applied it.
> but while compiling, it patches all the files and then gives me an error as below :

what are these patches? we have no idea what you have done - you've got
some local wierd changes that break things.

2.1.6 compiles fine (as does 2.1.7) - so what are these 'patches' you have applied?

alan


------------------------------

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


End of Freeradius-Devel Digest, Vol 53, Issue 16
************************************************



      Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20090917/aab38d33/attachment.html>


More information about the Freeradius-Devel mailing list