<div dir="ltr">Hi Pavel,<div><br></div><div>This is what I did. I compiled the source code obtained from <span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">(<a href="http://hostap.epitest.fi/wpa_supplicant/" style="color:rgb(0, 0, 204)" target="_blank">http://hostap.epitest.fi/wpa_supplicant/</a></span><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">) for v0.6.10 setting flags as ARCH=arm and CROSS_COMPILE=arm-eabi-</span></div>


<div><font face="arial, sans-serif"><span style="border-collapse:collapse">Then copied the wpa_supplicant binary to the /system/bin folder of my HTC Nexus One device. Here is the attached log of my command window.<br>
</span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><div class="gmail_quote">I did not know what mistake did I make.</div>
<div class="gmail_quote">In my lab machine, the path to adb has spaces and &#39;(&#39; character. It should not be a problem as I am running in the device.</div><div class="gmail_quote"><br></div><div class="gmail_quote">


Thank for taking your time. It would be great if we can solve this issue and move forward.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">Nithy</div><div class="gmail_quote">


<br></div><div class="gmail_quote">On Tue, Jul 12, 2011 at 11:28 AM, Pavel Roskin <span dir="ltr">&lt;<a href="mailto:proski@gnu.org" target="_blank">proski@gnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


On 07/11/2011 05:35 PM, Nithyananthan Poosamani wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
*error wpa_supplicant: 1 : Unexpected &#39;(&#39; found*<br>
<br>
*Is this a bug or did I make any fault?*<br>
</blockquote>
<br>
I don&#39;t see &quot;found&quot; after &quot;Unexpected&quot; in the wpa_supplicant sources. This command gives no output:<br>
<br>
grep -A 3 -r &#39;Unexpected&#39; * | grep found<br>
<br>
So I assume the message is not from wpa_supplicant.  It looks like the OS interprets the binary you compiled as a shell script or something. Run &quot;file&quot; command on both binaries to see what they are:<br>
<br>
file wpa_supplicant<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can any of you share the .config file and Makefile so that I can verify if<br>
any patches need to be done?<br>
</blockquote>
<br></div>
I don&#39;t think wpa_supplicant even runs on your system, so looking for patches and configuration is premature.  I believe the defaults should be sane.<br>
<br>
-- <br>
Regards,<br><font color="#888888">
Pavel Roskin<br>
</font></blockquote></div><br></div></div>