[OE-core] [PATCH 07/25] nss: update to 3.48
Khem Raj
raj.khem at gmail.com
Fri Dec 20 17:44:10 UTC 2019
On Fri, 2019-12-20 at 11:00 +0000, Ross Burton wrote:
> Breaks on Centos 7:
>
> nsinstall.c: In function ‘main’:
> nsinstall.c:201:5: warning: implicit declaration of function
> ‘getopt’
> [-Wimplicit-function-declaration]
> while ((opt = getopt(argc, argv, "C:DdlL:Rm:o:g:t")) != EOF) {
> ^
> nsinstall.c:203:20: error: ‘optarg’ undeclared (first use in this
> function)
> case 'C': cwd = optarg; break;
> ^
> nsinstall.c:203:20: note: each undeclared identifier is reported
> only
> once for each function it appears in
> nsinstall.c:225:13: error: ‘optind’ undeclared (first use in this
> function)
> argc -= optind;
> ^
>
another C99 issue I guess perhaps #include <getopt.h> in nsinstall.c
will fix it.
> Ross
More information about the Openembedded-core
mailing list