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

答: 修改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;
 }

猜你喜欢

转载自www.cnblogs.com/dakewei/p/12984108.html