wx_p0fdd 发表于 2021-10-22 17:08:02

rk3328 linux版本的内核可以编译32位吗?

编译过程遇到这个错误求指导
fs/ecryptfs/keystore.c: In function 'decrypt_pki_encrypted_session_key':
fs/ecryptfs/keystore.c:1168:41: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member]
error, forbidden warning:keystore.c:1168
1168 |rc = write_tag_64_packet(auth_tok_sig, &(auth_tok->session_key),
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~
fs/ecryptfs/keystore.c:1187:27: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member]
error, forbidden warning:keystore.c:1187
1187 |rc = parse_tag_65_packet(&(auth_tok->session_key),
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
make: *** 错误 1
make: *** 错误 2
页: [1]
查看完整版本: rk3328 linux版本的内核可以编译32位吗?