linux上安装go环境
go version go1.21.9 linux/386
,运行trpc中的helloworld的go程序示例报错如下:
# runtime/cgo
In file included from /usr/include/features.h:399,
from /usr/include/stdlib.h:24,
from _cgo_export.c:3:
/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory
7 | # include <gnu/stubs-32.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
请问有大佬碰到这种情况吗?我windows上跑也出现过这种问题,但稀里糊涂的不知道怎么就好了。