Alan,
<br/><br/>Here is what I did:-
<br/><br/>git clone git://git.freeradius.org/freeradius-server.git
<br/>cd freeradius-server
<br/>git fetch origin v2.1.x:v2.1.x
<br/>git checkout v2.1.x
<br/><br/>edited the src/modules/rlm_eap2/Makefile from:-
<br/><br/>HOSTAP = /path/to/hostapd
<br/><br/>TARGET =
<br/>SRCS = rlm_eap2.c
<br/><br/>to:-
<br/><br/>HOSTAP = /home/rqwt36/hostap/hostap
<br/><br/>TARGET = rlm_eap2
<br/>SRCS = rlm_eap2.c
<br/><br/>executed the configuration file as :-
<br/>./configure --with-experimental-modules --with-rlm_eap2
<br/>make
<br/><br/>I have attached the output of the configuration and make commands.
<br/><br/>I had tried adding the path of freeradius-server/src to
<br/>src/modules/rlm_eap2/Makefile
<br/>But get same errors.
<br/><br/>When I force add all the paths in CPLUS_INCLUDE_PATH and C_INCLUDE_PATH
<br/>These errors go away but other errors like duplicate definitions
<br/>starts appearing...
<br/><br/>On Fri, May 18, 2012 at 3:42 PM, Alan DeKok-2 [via FreeRadius]
<br/><<a href="/user/SendEmail.jtp?type=node&node=5711882&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><div class='shrinkable-quote'><br/>>
<br/>> JustinP wrote:
<br/>> > In raddb/experimental.conf the descriptions are not complete to use the
<br/>> > eap2 module.
<br/>> > It doesn't say which parameters to use with configure. to enable
<br/>> > experimental modules.
<br/>>
<br/>> Which is why I replied to your message.
<br/>>
<br/>> > I hit issues only when I use configuration with following params:-
<br/>> >
<br/>> > ./configure --with-experimental-modules --with-rlm_eap2
<br/>>
<br/>> You have carefully NOT said what the problems are. How do you expect
<br/>> anyone to help you?
<br/>>
<br/>> Bad question: "I tried stuff and it didn't work. What do I do next?"
<br/>>
<br/>> Good question: DESCRIBE WHAT HAPPENED.
<br/>>
<br/>> > Just curious if it compiling without any problem for you with above
<br/>> > configuration?
<br/>>
<br/>> It works for me.
<br/>>
<br/>> I also TOLD YOU what you could do to get it to build: edit the
<br/>> Makefile. It's not hard. Doing that takes less time than posting on
<br/>> the mailing list.
<br/>>
<br/>> Alan DeKok.
<br/>> -
<br/>> List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/devel.html" target="_top" rel="nofollow" link="external">http://www.freeradius.org/list/devel.html</a><br/>>
<br/>>
<br/>> ________________________________
<br/>> If you reply to this email, your message will be added to the discussion below:
<br/>> <a href="http://freeradius.1045715.n5.nabble.com/Compilation-issues-on-freeradius-server-v2-1-x-for-rlm-eap2-tp5711734p5711822.html" target="_top" rel="nofollow" link="external">http://freeradius.1045715.n5.nabble.com/Compilation-issues-on-freeradius-server-v2-1-x-for-rlm-eap2-tp5711734p5711822.html</a><br/>> To unsubscribe from Compilation issues on freeradius-server v2.1.x for rlm_eap2, click here.
<br/>> NAML
</div></div><br/><br/><br/>--
<br/>Regards
<br/>Justin Philip
<br/><div class="small"><br/><img src="/images/icon_attachment.gif" > <strong>configure_log.txt</strong> (89K) <a href="http://freeradius.1045715.n5.nabble.com/attachment/5711882/0/configure_log.txt" target="_top" rel="nofollow" link="external">Download Attachment</a><br/><img src="/images/icon_attachment.gif" > <strong>make_output.txt</strong> (239K) <a href="http://freeradius.1045715.n5.nabble.com/attachment/5711882/1/make_output.txt" target="_top" rel="nofollow" link="external">Download Attachment</a></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeradius.1045715.n5.nabble.com/Compilation-issues-on-freeradius-server-v2-1-x-for-rlm-eap2-tp5711734p5711882.html">Re: Compilation issues on freeradius-server v2.1.x for rlm_eap2</a><br/>
Sent from the <a href="http://freeradius.1045715.n5.nabble.com/FreeRadius-Dev-f2789673.html">FreeRadius - Dev mailing list archive</a> at Nabble.com.<br/>