unable to build wpa_supplicant

Pavel Roskin proski
Fri Aug 5 19:19:00 PDT 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