<div dir="ltr"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi All,<div><br></div><div>I am a research student at Networking Research Laboratory (NRL) at North Carolina State University. I aim to develop a new scanning algorithm for Android Wifi Scanning and so I wanted to first compile wpa_supplicant source code without modifications, test it&#39;s working by porting to phone and then start actual modifications in it.</div>

<div><br></div><div>I stumbled upon your page (<a href="http://hostap.epitest.fi/wpa_supplicant/" target="_blank" style="color: rgb(0, 0, 204); ">http://hostap.epitest.fi/wpa_supplicant/</a>) where you have given a link to download version 0.6.10 tar file. I downloaded it. I could not find .config file in that directory. So I copied .config file from the wpa_supplicant directory which I downloaded from Github and then enabled for Wext driver in .config file and run the make file for Android with arm cross compiler toolchain.</div>

<div><br></div><div><b>make ARCH=arm CROSS_COMPILE=arm-eabi-</b></div><div><br></div><div>The makefile completed without any error and generated the binary.</div><div><br></div><div>I copied wpa_supplicant binary to /system/bin directory of my HTC Nexus One phone and tried to start the wpa supplicant back-end service as a front-end service with debugging option.</div>

<div><br></div><div><b>wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd</b></div><div><br></div><div>I gave me an error and did not start the wpa supplicant service. The phone started to reboot every 10 seconds and I loaded my original wpa_supplicant binary to make it work again.</div>

<div><br></div><div><b>error wpa_supplicant: 1 : Unexpected &#39;(&#39; found</b></div><div><br></div><div><b>Is this a bug or did I make any fault?</b></div><div><br></div><div>Can any of you share the .config file and Makefile so that I can verify if any patches need to be done?<br>

<br></div><div>I would very glad if you can help me in this. Thanks in advance.</div><div><br></div><div>Thanks,</div><div>Nithyananthan Poosamani</div><div>--</div><font color="#888888"><div>Networking Research Laboratory (NRL)</div>

<div>North Carolina State University</div></font></span></div>