<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    On 09/06/2012 03:53 PM,
    <a class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-request@lists.freeradius.org">freeradius-devel-request@lists.freeradius.org</a> wrote:
    <blockquote
cite="mid:mailman.18740.1346927022.1576.freeradius-devel@lists.freeradius.org"
      type="cite">
      <div class="moz-text-plain" wrap="true" graphical-quote="true"
        style="font-family: -moz-fixed; font-size: 12px;"
        lang="x-western">
        <pre wrap="">Send Freeradius-Devel mailing list submissions to
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel@lists.freeradius.org">freeradius-devel@lists.freeradius.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeradius.org/mailman/listinfo/freeradius-devel">http://lists.freeradius.org/mailman/listinfo/freeradius-devel</a>
or, via email, send a message with subject or body 'help' to
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-request@lists.freeradius.org">freeradius-devel-request@lists.freeradius.org</a>

You can reach the person managing the list at
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-owner@lists.freeradius.org">freeradius-devel-owner@lists.freeradius.org</a>

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


Today's Topics:

   1. Re: Freeradius 2.1.12 with EAP-FAST compilation issues (Swaraj)


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

Message: 1
Date: Thu, 06 Sep 2012 15:53:26 +0530
From: Swaraj <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:swaraj.vutturi@redpinesignals.com"><swaraj.vutturi@redpinesignals.com></a>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel@lists.freeradius.org">freeradius-devel@lists.freeradius.org</a>
Subject: Re: Freeradius 2.1.12 with EAP-FAST compilation issues
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:5048799E.8030704@redpinesignals.com"><5048799E.8030704@redpinesignals.com></a>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"



On 09/05/2012 03:30 PM, <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-request@lists.freeradius.org">freeradius-devel-request@lists.freeradius.org</a> 
wrote:
</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre wrap=""><span class="moz-txt-citetags">> </span>Send Freeradius-Devel mailing list submissions to
<span class="moz-txt-citetags">> </span>       <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel@lists.freeradius.org">freeradius-devel@lists.freeradius.org</a>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>To subscribe or unsubscribe via the World Wide Web, visit
<span class="moz-txt-citetags">> </span>       <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeradius.org/mailman/listinfo/freeradius-devel">http://lists.freeradius.org/mailman/listinfo/freeradius-devel</a>
<span class="moz-txt-citetags">> </span>or, via email, send a message with subject or body 'help' to
<span class="moz-txt-citetags">> </span>       <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-request@lists.freeradius.org">freeradius-devel-request@lists.freeradius.org</a>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>You can reach the person managing the list at
<span class="moz-txt-citetags">> </span>       <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:freeradius-devel-owner@lists.freeradius.org">freeradius-devel-owner@lists.freeradius.org</a>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>When replying, please edit your Subject line so it is more specific
<span class="moz-txt-citetags">> </span>than "Re: Contents of Freeradius-Devel digest..."
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Today's Topics:
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>    1. Re: Freeradius 2.1.12 with EAP-FAST compilation issues (Swaraj)
<span class="moz-txt-citetags">> </span>    2. Re: Freeradius 2.1.12 with EAP-FAST compilation issues
<span class="moz-txt-citetags">> </span>       (Alan DeKok)
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>----------------------------------------------------------------------
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Message: 1
<span class="moz-txt-citetags">> </span>Date: Wed, 05 Sep 2012 11:31:52 +0530
<span class="moz-txt-citetags">> </span>From: Swaraj<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:swaraj.vutturi@redpinesignals.com"><swaraj.vutturi@redpinesignals.com></a>
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:To:freeradius-devel@lists.freeradius.org">To:freeradius-devel@lists.freeradius.org</a>
<span class="moz-txt-citetags">> </span>Cc: Swaraj<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:swaraj.vutturi@redpinesignals.com"><swaraj.vutturi@redpinesignals.com></a>
<span class="moz-txt-citetags">> </span>Subject: Re: Freeradius 2.1.12 with EAP-FAST compilation issues
<span class="moz-txt-citetags">> </span>Message-ID:<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:5046EAD0.9060108@redpinesignals.com"><5046EAD0.9060108@redpinesignals.com></a>
<span class="moz-txt-citetags">> </span>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Hi All,
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I was using freeradius-server 2.1.12 without any issues till now, but
<span class="moz-txt-citetags">> </span>now i wanted to use EAP-FAST in freeradius server. So i started
<span class="moz-txt-citetags">> </span>compiling rlm_eap2 module, but i got lot of errors releated to
<span class="moz-txt-citetags">> </span>libeap.so. Some how i fixed all issues related to liaeap.so with
<span class="moz-txt-citetags">> </span>hostapd. Currently i'm stuck with these kind of errors am unable to
<span class="moz-txt-citetags">> </span>proceed further. I require some help to resolve these.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I used
<span class="moz-txt-citetags">> </span>./configure --with-experimental-modules --with-rlm_eap2 LIBS="-ldl"
<span class="moz-txt-citetags">> </span>make
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I get the following error message:
<span class="moz-txt-citetags">> </span>----------------------------------------------
<span class="moz-txt-citetags">> </span>gmake[6]: Leaving directory
<span class="moz-txt-citetags">> </span>`/backup/freeradius-server-2.1.12/src/modules/rlm_eap'
<span class="moz-txt-citetags">> </span>Making all in rlm_eap2...
<span class="moz-txt-citetags">> </span>/usr/bin/gmake -w -C rlm_eap2 all
<span class="moz-txt-citetags">> </span>gmake[6]: Entering directory
<span class="moz-txt-citetags">> </span>`/backup/freeradius-server-2.1.12/src/modules/rlm_eap2'
<span class="moz-txt-citetags">> </span>/backup/freeradius-server-2.1.12/libtool --mode=compile gcc  -g -O2
<span class="moz-txt-citetags">> </span>-Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/src
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_server
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/utils  -c rlm_eap2.c
<span class="moz-txt-citetags">> </span>   gcc -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
<span class="moz-txt-citetags">> </span>-DNDEBUG -I/backup/freeradius-server-2.1.12/src
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_server
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/utils -c rlm_eap2.c  -fPIC
<span class="moz-txt-citetags">> </span>-DPIC -o .libs/rlm_eap2.o
<span class="moz-txt-citetags">> </span>rlm_eap2.c: In function 'eap_instantiate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:622:2: warning: implicit declaration of function
<span class="moz-txt-citetags">> </span>'eap_server_register_methods'
<span class="moz-txt-citetags">> </span>rlm_eap2.c: In function 'eap_authenticate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:962:41: warning: pointer targets in assignment differ in
<span class="moz-txt-citetags">> </span>signedness
<span class="moz-txt-citetags">> </span>rlm_eap2.c:963:35: warning: pointer targets in assignment differ in
<span class="moz-txt-citetags">> </span>signedness
<span class="moz-txt-citetags">> </span>   gcc -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
<span class="moz-txt-citetags">> </span>-DNDEBUG -I/backup/freeradius-server-2.1.12/src
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/backup/freeradius-server-2.1.12/libltdl
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/eap_server
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/common
<span class="moz-txt-citetags">> </span>-I/home/livecd/Downloads/hostapd-0.7.3/src/utils -c rlm_eap2.c -o
<span class="moz-txt-citetags">> </span>rlm_eap2.o>/dev/null 2>&1
<span class="moz-txt-citetags">> </span>/backup/freeradius-server-2.1.12/libtool --mode=link gcc -release 2.1.12 \
<span class="moz-txt-citetags">> </span>-module -export-dynamic   -o rlm_eap2     \
<span class="moz-txt-citetags">> </span>-rpath /usr/local/lib rlm_eap2.lo rlm_eap2.c
<span class="moz-txt-citetags">> </span>/backup/freeradius-server-2.1.12/src/lib/libfreeradius-radius.la
<span class="moz-txt-citetags">> </span>/home/livecd/Downloads/hostapd-0.7.3/eap_example/libeap.so -lnsl
<span class="moz-txt-citetags">> </span>-lresolv -ldl -lpthread
<span class="moz-txt-citetags">> </span>libtool: link: warning: `-release' is ignored for programs
<span class="moz-txt-citetags">> </span>gcc -o .libs/rlm_eap2 .libs/rlm_eap2.o rlm_eap2.c
<span class="moz-txt-citetags">> </span>/home/livecd/Downloads/hostapd-0.7.3/eap_example/libeap.so
<span class="moz-txt-citetags">> </span>-Wl,--export-dynamic
<span class="moz-txt-citetags">> </span><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>backup/freeradius-server-2.1.12/src/lib<span class="moz-txt-tag">/</span></i>.libs/libfreeradius-radius.so
<span class="moz-txt-citetags">> </span>-lnsl -lresolv -ldl -lpthread  -Wl,--rpath -Wl,/usr/local/lib
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o:(.data+0x0): multiple definition of `debug_flag'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o:(.data+0x0): first defined here
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o:(.bss+0x0): multiple definition of `request_log_file'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o:/backup/freeradius-server-2.1.12/src/modules/rlm_eap2/rlm_eap2.c:465:
<span class="moz-txt-citetags">> </span>first defined here
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o:(.bss+0x4): multiple definition of `debug_log_file'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o:/backup/freeradius-server-2.1.12/src/modules/rlm_eap2/rlm_eap2.c:467:
<span class="moz-txt-citetags">> </span>first defined here
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o:(.data+0x160): multiple definition of `rlm_eap2'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o:(.data.rel.local+0x0): first defined here
<span class="moz-txt-citetags">> </span>/usr/lib/gcc/i686-redhat-linux/4.5.1/../../../crt1.o: In function `_start':
<span class="moz-txt-citetags">> </span>(.text+0x18): undefined reference to `main'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o: In function `eap_authenticate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x21a): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x230): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x4a9): undefined reference to `radius_pairmake'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x526): undefined reference to `radius_pairmake'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa26): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa4b): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa6a): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xab0): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xcfb): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xd16): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xe1a): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xe60): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>.libs/rlm_eap2.o: In function `eap_instantiate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1065): undefined reference to `cf_section_parse'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x10ce): undefined reference to
<span class="moz-txt-citetags">> </span>`eap_server_register_methods'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x10f1): undefined reference to `cf_subsection_find_next'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1143): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x115d): undefined reference to `cf_subsection_find_next'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1173): undefined reference to `cf_section_name1'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x12df): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x12f5): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1362): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x13ac): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eaplist_add':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xfb): undefined reference to `rad_assert_fail'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x121): undefined reference to `rad_assert_fail'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x2de): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eaplist_find':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x417): undefined reference to `rad_assert_fail'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x599): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eap_example_server_init_tls':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x895): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x8cd): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eap_instantiate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x935): undefined reference to `cf_section_parse'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x9cc): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x9e6): undefined reference to
<span class="moz-txt-citetags">> </span>`eap_server_register_methods'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa2e): undefined reference to `cf_subsection_find_next'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa41): undefined reference to `cf_section_name1'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xa6f): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xb3d): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xbac): undefined reference to `cf_subsection_find_next'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xbe5): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xc20): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eap_example_server_step':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xdbf): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xdff): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xe7f): undefined reference to `radius_pairmake'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xee6): undefined reference to `radius_pairmake'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xf47): undefined reference to `log_debug'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eap_vp2data':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xfc4): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0xfed): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1048): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x1090): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x10d9): undefined reference to `radlog'
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o:rlm_eap2.c:(.text+0x1116): more undefined references to
<span class="moz-txt-citetags">> </span>`radlog' follow
<span class="moz-txt-citetags">> </span>/tmp/cchrL0fh.o: In function `eap_authenticate':
<span class="moz-txt-citetags">> </span>rlm_eap2.c:(.text+0x165b): undefined reference to `rad_assert_fail'
<span class="moz-txt-citetags">> </span>collect2: ld returned 1 exit status
<span class="moz-txt-citetags">> </span>gmake[6]: *** [rlm_eap2] Error 1
<span class="moz-txt-citetags">> </span>gmake[6]: Leaving directory
<span class="moz-txt-citetags">> </span>`/backup/freeradius-server-2.1.12/src/modules/rlm_eap2'
<span class="moz-txt-citetags">> </span>gmake[5]: *** [rlm_eap2] Error 2
<span class="moz-txt-citetags">> </span>gmake[5]: Leaving directory `/backup/freeradius-server-2.1.12/src/modules'
<span class="moz-txt-citetags">> </span>gmake[4]: *** [all] Error 2
<span class="moz-txt-citetags">> </span>gmake[4]: Leaving directory `/backup/freeradius-server-2.1.12/src/modules'
<span class="moz-txt-citetags">> </span>gmake[3]: *** [modules] Error 2
<span class="moz-txt-citetags">> </span>gmake[3]: Leaving directory `/backup/freeradius-server-2.1.12/src'
<span class="moz-txt-citetags">> </span>gmake[2]: *** [all] Error 2
<span class="moz-txt-citetags">> </span>gmake[2]: Leaving directory `/backup/freeradius-server-2.1.12/src'
<span class="moz-txt-citetags">> </span>gmake[1]: *** [src] Error 2
<span class="moz-txt-citetags">> </span>gmake[1]: Leaving directory `/backup/freeradius-server-2.1.12'
<span class="moz-txt-citetags">> </span>make: *** [all] Error 2
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Please help me.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>If you have some easy procedure for compiling freeradius for EAP-FAST,
<span class="moz-txt-citetags">> </span>then please tell me the procedure.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>-- Regards, Swaraj -------------- next part -------------- An HTML 
<span class="moz-txt-citetags">> </span>attachment was scrubbed... URL: 
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20120905/a6eea738/attachment-0001.html"><http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20120905/a6eea738/attachment-0001.html></a> 
<span class="moz-txt-citetags">> </span>------------------------------ Message: 2 Date: Wed, 05 Sep 2012 
<span class="moz-txt-citetags">> </span>08:57:31 +0200 From: Alan DeKok <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:aland@deployingradius.com"><aland@deployingradius.com></a> To: 
<span class="moz-txt-citetags">> </span>FreeRadius developers mailing list 
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:freeradius-devel@lists.freeradius.org"><freeradius-devel@lists.freeradius.org></a> Subject: Re: Freeradius 2.1.12 
<span class="moz-txt-citetags">> </span>with EAP-FAST compilation issues Message-ID: 
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:5046F7DB.4040303@deployingradius.com"><5046F7DB.4040303@deployingradius.com></a> Content-Type: text/plain; 
<span class="moz-txt-citetags">> </span>charset=ISO-8859-1 Swaraj wrote:
</pre>
          <blockquote type="cite" style="color: #000000;">
            <blockquote type="cite" style="color: #000000;">
              <pre wrap=""><span class="moz-txt-citetags">>> > </span> I was using freeradius-server 2.1.12 without any issues till now, but
<span class="moz-txt-citetags">>> > </span> now i wanted to use EAP-FAST in freeradius server. So i started
<span class="moz-txt-citetags">>> > </span> compiling rlm_eap2 module, but i got lot of errors releated to
<span class="moz-txt-citetags">>> > </span> libeap.so. Some how i fixed all issues related to liaeap.so with
<span class="moz-txt-citetags">>> > </span> hostapd. Currently i'm stuck with these kind of errors am unable to
<span class="moz-txt-citetags">>> > </span> proceed further. I require some help to resolve these.
<span class="moz-txt-citetags">>> > </span> 
<span class="moz-txt-citetags">>> > </span> I used
<span class="moz-txt-citetags">>> > </span> ./configure --with-experimental-modules --with-rlm_eap2 LIBS="-ldl"
<span class="moz-txt-citetags">>> > </span> make
</pre>
            </blockquote>
          </blockquote>
          <pre wrap=""><span class="moz-txt-citetags">> </span>   The module doesn't use configure.  You need to edit the
<span class="moz-txt-citetags">> </span>rlm_eap2/Makefile to get it to build.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>   So... what did you do?
<span class="moz-txt-citetags">></span>
</pre>
          <blockquote type="cite" style="color: #000000;">
            <blockquote type="cite" style="color: #000000;">
              <pre wrap=""><span class="moz-txt-citetags">>> > </span> gcc -o .libs/rlm_eap2 .libs/rlm_eap2.o rlm_eap2.c
</pre>
            </blockquote>
          </blockquote>
          <pre wrap=""><span class="moz-txt-citetags">> </span>   That's wrong.  Something screwed up the build.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>   So... what did you change in the Makefile?
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>   Alan DeKok.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>------------------------------
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>-
<span class="moz-txt-citetags">> </span>List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/devel.html
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>End of Freeradius-Devel Digest, Vol 89, Issue 4
<span class="moz-txt-citetags">> </span>***********************************************
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
</pre>
        </blockquote>
        <pre wrap="">Hi Alan,

Thanks for the response.
I dint make any changes in rlm_eap2/Makefile, but just changed hostapd 
path.
It looks like this
*********************************
#HOSTAP     = /backup/hostapd/b
HOSTAP      = /home/livecd/Downloads/hostapd-0.7.3
#HOSTAP     = /home/livecd/Downloads/hostapd-1.0
#HOSTAP     = /path/to/hostap

TARGET      = rlm_eap2
SRCS        = rlm_eap2.c
HEADERS     =
RLM_CFLAGS  = $(INCLTDL) -I$(HOSTAP)/src/eap_common \
           -I$(HOSTAP)/src/eap_server  -I$(HOSTAP)/src  \
           -I$(HOSTAP)/src/common -I$(HOSTAP)/src/utils
RLM_LIBS    = $(HOSTAP)/eap_example/libeap.so

## this uses the RLM_CFLAGS and RLM_LIBS and SRCS defs to make TARGET.
include ../rules.mak
********************************

I'm compiling hostapd to generate "libeap.so" with hostapd1.0, 
hostapd.0.6.x and finally with hostapd.0.7.3.. I faced lot issues while 
compiling hostapd and finally when i generated libeap.so, rlm_eap2 
module compilation gave me tons of errors.

--
Regards,
Swaraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20120906/16a2ec3f/attachment.html"><http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20120906/16a2ec3f/attachment.html></a>

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

-
List info/subscribe/unsubscribe? See <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeradius.org/list/devel.html">http://www.freeradius.org/list/devel.html</a>


End of Freeradius-Devel Digest, Vol 89, Issue 5
***********************************************


</pre>
      </div>
    </blockquote>
    <br>
    Hi Alan,<br>
    <br>
    I'm waiting for your response. I'm configuring rlm_eap2 from top
    directory, not from rlm_eap2 directory. The included error messages
    are from error portion i.e from rlm_eap2 after compiling rlm_eap.<br>
    <br>
    <pre wrap=""> ./configure --with-experimental-modules --with-rlm_eap2 LIBS="-ldl"</pre>
    <br>
    In the previous mail i showed you rlm_eap2 Makefile which i was
    using and I also mentioned what hostapd's i used for generating
    libeap.so.<br>
    <br>
    I'm not able to compile freeradius with eap-fast support.<br>
    <br>
    If you have any package that easily compiles freeradius and hostapd
    for eap-fast. I will be very much thankful to you. My project is
    currently blocked because of this.<br>
    <br>
    Thanks<br>
    Swaraj <br>
  </body>
</html>