Hello everybody,<br><br>I am Felipe López and I am working on a board that has a AT91SAM9G20 cpu. I am trying to install the following packages (<b>wpa_supplicant</b> and <b>hostapd</b>) because I want to set up a web server through a usb-wifi dongle (WN-722) which has an AR9271 chipset (so it must goes into master mode)<br>
<br>Both apps need the library libnl so I install it but here comes the problem. I got the following error:<br><br><i>socket.h:27:14: note: expected ‘struct nl_sock *’ but argument is of type ‘struct nl_handle *’</i><br><i><br>
</i>I have to mention that I have tried with many versions of libnl but I didn't succeed. I was googling quite a lot but I could fix the problem. Somebody points that the solution could be this one<br><br><pre>><i>     #ifndef CONFIG_LIBNL20
</i>><i>         #  define nl_sock nl_handle
</i>><i>         #endif</i><br></pre>but it doesn't work for me. Does anybody knows how to fix the problem?<br><br>Many thanks in advance<br><br>Felipe López<br>