zl程序教程

您现在的位置是:首页 >  其它

当前栏目

yocto编译时报错"Unescaped left brace in regex is illegal here in regex"如何处理?

如何 处理 in 编译 is quot 时报 left
2023-09-11 14:16:47 时间

答: 修改automake的规则

--- a/bin/automake
+++ b/bin/automake
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
 sub substitute_ac_subst_variables
 {
   my ($text) = @_;
-  $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+  $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
   return $text;
 }