cant build

Jouni Malinen j at w1.fi
Sun Oct 23 06:24:22 EDT 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