src/basic/arphrd-from-name.gperf: In function ‘lookup_arphrd’:
src/basic/arphrd-from-name.gperf:64:16: error: ‘ARPHRD_MCTP’ undeclared (first use in this function); did you mean ‘ARPHRD_FCPP’?
64 | MCTP, ARPHRD_MCTP
| ^~
| ARPHRD_FCPP
src/basic/arphrd-from-name.gperf:64:16: note: each undeclared identifier is reported only once for each function it appears in
问题是由一个未定义的标识符ARPHRD_MCTP引起的。
该问题的可能原因是,ARPHRD_MCTP是Linux内核版本4.2中引入的网络硬件类型,但您正在使用的Buildroot版本中可能不支持该硬件类型。
您可以尝试升级您的Buildroot版本或尝试在Buildroot配置文件中禁用对ARPHRD_MCTP硬件类型的支持。