cant build

Jouni Malinen j
Sun Oct 23 03:24:22 PDT 2011

On Sun, Oct 23, 2011 at 06:22:56AM +0100, Z? wrote:
> I cant build, the error:
>   CC  bss.c
> ../src/utils/os_unix.c: In function 'os_gmtime':
> ../src/utils/os_unix.c:111:9: error: variable 't2' set but not used
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors

It looks like you are using a new gcc version and that added a new
warning which was triggered in couple of places. The build configuration
you used seemed to have requesting warnings to be converted into errors
(-Werror), so that prevented the build from continuing. You can either
remove that -Werror compiler argument or update to the latest hostap.git
snapshot that removes those warnings.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list