[OE-core] [PATCH][denzil] openjade-native: fix undefined Getopts error, use std namespace

Scott Garman scott.a.garman at intel.com
Wed Oct 3 17:22:37 UTC 2012


On 10/02/2012 08:24 PM, Denys Dmytriyenko wrote:
> From: Dennis Lan <dennis.yxun at gmail.com>
>
> Using Gentoo Linux as the build host, it fails without this patch
> Use Getopt::Std in place of getopts.pl.
>
> https://bugs.gentoo.org/show_bug.cgi?id=420083
>
> which following error:
> /usr/bin/perl -w ./../msggen.pl -l jstyleModule InterpreterMessages.msg
> /usr/bin/perl -w ./../msggen.pl -l jstyleModule DssslAppMessages.msg
> Undefined subroutine &main::Getopts called at ./../msggen.pl line 22.
> make[2]: *** [InterpreterMessages.h] Error 2
> make[2]: *** Waiting for unfinished jobs....
> Undefined subroutine &main::Getopts called at ./../msggen.pl line 22.
> make[2]: *** [DssslAppMessages.h] Error 2
>
> (from OE-Core rev 169a89b10817b742c063fcd76721e4dbbcca6199)
>
> Signed-off-by: Dennis Lan <dennis.yxun at gmail.com>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Thanks for this, I've merged these patches into my sgarman/denzil-next 
testing branches.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center




More information about the Openembedded-core mailing list