在编译外部模块时,突然编译失败,然后去编译了一下内核然后报错提示:
lib/crc32.c:197:24: error: ‘crc32table_le’ undeclared (first use in this function)
(const u32 (*)[256])crc32table_le, CRCPOLY_LE);
^
lib/crc32.c:197:24: note: each undeclared identifier is reported only once for each function it appears in
lib/crc32.c: In function ‘__crc32c_le’:
lib/crc32.c:202:24: error: ‘crc32ctable_le’ undeclared (first use in this function)
(const u32 (*)[256])crc32ctable_le, CRC32C_POLY_LE);
^
lib/crc32.c: In function ‘crc32_be’:
lib/crc32.c:339:24: error: ‘crc32table_be’ undeclared (first use in this function)
(const u32 (*)[256])crc32table_be, CRCPOLY_BE);
用git查了一下本地的内核修改目录发现并没有不小心改动了什么东西;
尝试重新编译后还是报错,在make disclean后在编译通过;