[Buildroot] build failure netsniff-ng-0.6.3

Romain Naour romain.naour at smile.fr
Sat Sep 30 08:11:38 UTC 2017


Hi Ross,

Le 30/09/2017 à 04:56, grunpferd at netscape.net a écrit :
> The following compile errors occurred during building netsniff-ng-0.6.3.
> 
> This used to work successfully previously. Using an internal toolchain ggc6 / glibc.
> 
> Changed to latest linux-4.13.4 kernel. 
> 
> The following compile errors get reported:
> 
> Building mausezahn:
>  CC    str.c
>  CC    die.c
>  CC    dev.c
>  CC    sock.c
>  CC    link.c
>  CC    sysctl.c
>  CC    xmalloc.c
>  CC    staging/layer1.c
>  CC    staging/layer2.c
>  CC    staging/layer3.c
>  CC    staging/layer4.c
>  CC    staging/hextools.c
>  CC    staging/tools.c
> staging/tools.c: In function ‘get_ip6_range_count’:
> staging/tools.c:485:10: error: ‘UINT64_MAX’ undeclared (first use in this function)
>   return UINT64_MAX;
>          ^~~~~~~~~~
> staging/tools.c:485:10: note: each undeclared identifier is reported only once
> for each function it appears in
> Makefile:184: recipe for target 'mausezahn/staging/tools.o' failed
> make[1]: *** [mausezahn/staging/tools.o] Error 1
> 
> 
> It looks that UINT64_MAX is not declared.
> 
> This was working fine recently. Using latest buildroot git master along with
> latest linux-4.13.4.

Missing stdint.h header in staging/tools.c ?
Adding it fixes the issue.

Best regards,
Romain

> 
> Regards,
> 
> Ross
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 



More information about the buildroot mailing list