HOSTCC scripts/mod/modpost.o CC scripts/mod/devicetable-offsets.s UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o ../scripts/mod/file2alias.c:47:3: error: typedef redefinition with different types ('struct uuid_t' vs '__darwin_uuid_t' (aka 'unsigned char [16]')) } uuid_t; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_uuid_t.h:31:25: note: previous definition is here typedef __darwin_uuid_t uuid_t; ^ ../scripts/mod/file2alias.c:1329:42: error: array initializer must be an initializer list or string literal DEF_FIELD(symval, tee_client_device_id, uuid);
...
../scripts/mod/file2alias.c:1335:7: error: member reference base type'typeof (((struct tee_client_device_id *)0)->uuid)' (aka 'unsigned char [16]') is not a structure or union uuid.b[15]); ~~~~^~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ 18 errors generated.
Absolute addressing not allowed in arm64 code but used in ‘_devtable_ptr377’ referencing ‘_devtable377’
现象
1 2 3 4 5
HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/kallsyms HOSTLD scripts/mod/modpost ld: Absolute addressing not allowed in arm64 code but used in'_devtable_ptr377' referencing '_devtable377' clang: error: linker command failed with exit code 1 (use -v to see invocation)