3

I have gentoo ~amd64 installed and I'm trying to create a crossdev environment for armv7a-hardfloat-linux-gnueabi.

my CFLAGS are `CCFLAGS="-O2 -pipe -fomit-frame-pointer".

when I try to compile the base system, it tries to compile libgpg-error and fails with:

gawk: fatal: cannot use gawk builtin `namespace' as variable

how do I resolve this to continue and build my crossdev environment ?

I tried downgrading gawk from 5 to 4 but the results are the same.

thanks

4

2 回答 2

3

我这边也有同样的问题:

gawk-5.0 不接受“命名空间”名称

尝试:

sed -i                                                  \
  -e "s/namespace/varerrno/g"                           \
  src/{Makefile.am,mkstrtable.awk}

在做之前./autogen.sh或/和./configure

希望有帮助。

于 2019-05-03T11:36:34.313 回答
1

会不会是笔误?

将“libpgp-error”更改为“libgpg-error”。

甚至其中一个蓝色按钮也带有标签“libgpg-error”

于 2019-04-21T13:15:55.930 回答