unable to build wpa_supplicant
Pavel Roskin
proski at gnu.org
Fri Aug 5 22:19:00 EDT 2011
On Fri, 5 Aug 2011 22:10:11 +0100
Zé <mmodem00 at gmail.com> wrote:
> I have cloned git repository and isnt possible to build, the output:
>
> cc1: warnings being treated as errors
> ../src/crypto/random.c: In function ‘random_write_entropy’:
> ../src/crypto/random.c:372:8: error: ignoring return value of
> ‘fwrite’, declared with attribute warn_unused_res ult
> ../src/crypto/random.c:373:8: error: ignoring return value of
> ‘fwrite’, declared with attribute warn_unused_res ult
That should not be hard to fix, if you are interesting is fixing the
code.
But I guess you simply enabled CONFIG_EAPOL_TEST in .config, which
enabled the -Werror option for the compiler. You may want to disable
that option and deal with the warnings when you have time and desire
for that.
Alternatively, enable CONFIG_NO_RANDOM_POOL to disable the problematic
code.
--
Regards,
Pavel Roskin
More information about the HostAP
mailing list