- 收藏
- 点赞
- 分享
- 举报
这个错误是什么原因呢
./arch/x86/include/asm/bitops.h:96: 警告: no instruction mnemonic suffix given and no register operands; using default for `bts’
CC drivers/mtd/mtdblock.o
CC drivers/mtd/chips/chipreg.o
LD drivers/mtd/chips/built-in.o
LD drivers/mtd/devices/built-in.o
LD drivers/mtd/lpddr/built-in.o
LD drivers/mtd/maps/built-in.o
CC drivers/mtd/nand/nand_base.o
CC drivers/mtd/nand/nand_bbt.o
CC drivers/mtd/nand/nand_timings.o
CC drivers/mtd/nand/hinfc_gen.o
CC drivers/mtd/nand/hinfc_spl_ids.o
drivers/mtd/nand/hinfc_spl_ids.c: In function ‘hynix_probe_v02’:
drivers/mtd/nand/hinfc_spl_ids.c:54:30: error: ‘SZ_2K’ undeclared (first use in this function); did you mean ‘_2K’?
54 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _2K
drivers/mtd/nand/hinfc_spl_ids.c:54:30: note: each undeclared identifier is reported only once for each function it appears in
drivers/mtd/nand/hinfc_spl_ids.c:54:37: error: ‘SZ_4K’ undeclared (first use in this function); did you mean ‘_4K’?
54 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _4K
drivers/mtd/nand/hinfc_spl_ids.c:54:44: error: ‘SZ_8K’ undeclared (first use in this function); did you mean ‘_8K’?
54 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _8K
drivers/mtd/nand/hinfc_spl_ids.c:56:30: error: ‘SZ_128K’ undeclared (first use in this function); did you mean ‘_128K’?
56 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K,
| ^~~
| _128K
drivers/mtd/nand/hinfc_spl_ids.c:56:39: error: ‘SZ_256K’ undeclared (first use in this function); did you mean ‘_256K’?
56 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K,
| ^~~
| _256K
drivers/mtd/nand/hinfc_spl_ids.c:56:48: error: ‘SZ_512K’ undeclared (first use in this function); did you mean ‘_512K’?
56 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K,
| ^~~
| _512K
drivers/mtd/nand/hinfc_spl_ids.c:57:54: error: ‘SZ_1M’ undeclared (first use in this function); did you mean ‘_1M’?
57 | (SZ_256K + SZ_512K), SZ_1M, SZ_2M, 0, 0};
| ^~~
| _1M
drivers/mtd/nand/hinfc_spl_ids.c:57:61: error: ‘SZ_2M’ undeclared (first use in this function); did you mean ‘_2M’?
57 | (SZ_256K + SZ_512K), SZ_1M, SZ_2M, 0, 0};
| ^~~
| _2M
drivers/mtd/nand/hinfc_spl_ids.c: In function ‘samsung_probe_v02’:
drivers/mtd/nand/hinfc_spl_ids.c:77:30: error: ‘SZ_2K’ undeclared (first use in this function); did you mean ‘_2K’?
77 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _2K
drivers/mtd/nand/hinfc_spl_ids.c:77:37: error: ‘SZ_4K’ undeclared (first use in this function); did you mean ‘_4K’?
77 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _4K
drivers/mtd/nand/hinfc_spl_ids.c:77:44: error: ‘SZ_8K’ undeclared (first use in this function); did you mean ‘_8K’?
77 | int pagesizes[] = {SZ_2K, SZ_4K, SZ_8K, 0};
| ^~~
| _8K
drivers/mtd/nand/hinfc_spl_ids.c:79:30: error: ‘SZ_128K’ undeclared (first use in this function); did you mean ‘_128K’?
79 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K, SZ_1M, 0, 0, 0, 0};
| ^~~
| _128K
drivers/mtd/nand/hinfc_spl_ids.c:79:39: error: ‘SZ_256K’ undeclared (first use in this function); did you mean ‘_256K’?
79 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K, SZ_1M, 0, 0, 0, 0};
| ^~~
| _256K
drivers/mtd/nand/hinfc_spl_ids.c:79:48: error: ‘SZ_512K’ undeclared (first use in this function); did you mean ‘_512K’?
79 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K, SZ_1M, 0, 0, 0, 0};
| ^~~
| _512K
drivers/mtd/nand/hinfc_spl_ids.c:79:57: error: ‘SZ_1M’ undeclared (first use in this function); did you mean ‘_1M’?
79 | int blocksizes[] = {SZ_128K, SZ_256K, SZ_512K, SZ_1M, 0, 0, 0, 0};
| ^~~
| _1M
drivers/mtd/nand/hinfc_spl_ids.c: At top level:
drivers/mtd/nand/hinfc_spl_ids.c:168:30: error: ‘SZ_2K’ undeclared here (not in a function); did you mean ‘_2K’?
168 | .pagesize = SZ_2K,
| ^~~
| _2K
drivers/mtd/nand/hinfc_spl_ids.c:169:30: error: ‘SZ_128K’ undeclared here (not in a function); did you mean ‘_128K’?
169 | .erasesize = SZ_128K,
| ^~~
| _128K
drivers/mtd/nand/hinfc_spl_ids.c:199:30: error: ‘SZ_8K’ undeclared here (not in a function); did you mean ‘_8K’?
199 | .pagesize = SZ_8K,
| ^~~
| _8K
drivers/mtd/nand/hinfc_spl_ids.c:200:30: error: ‘SZ_2M’ undeclared here (not in a function); did you mean ‘_2M’?
200 | .erasesize = SZ_2M,
| ^~~
| _2M
drivers/mtd/nand/hinfc_spl_ids.c:225:30: error: ‘SZ_1G’ undeclared here (not in a function); did you mean ‘_1G’?
225 | .chipsize = SZ_1G,
| ^~~
| _1G
drivers/mtd/nand/hinfc_spl_ids.c:227:30: error: ‘SZ_4K’ undeclared here (not in a function); did you mean ‘_4K’?
227 | .pagesize = SZ_4K,
| ^~~
| _4K
drivers/mtd/nand/hinfc_spl_ids.c:228:30: error: ‘SZ_512K’ undeclared here (not in a function); did you mean ‘_512K’?
228 | .erasesize = SZ_512K,
| ^~~
| _512K
drivers/mtd/nand/hinfc_spl_ids.c:239:30: error: ‘SZ_2G’ undeclared here (not in a function); did you mean ‘_2G’?
239 | .chipsize = SZ_2G,
| ^~~
| _2G
drivers/mtd/nand/hinfc_spl_ids.c:242:30: error: ‘SZ_1M’ undeclared here (not in a function); did you mean ‘_1M’?
242 | .erasesize = SZ_1M,
| ^~~
| _1M
drivers/mtd/nand/hinfc_spl_ids.c:326:30: error: ‘SZ_256K’ undeclared here (not in a function); did you mean ‘_256K’?
326 | .erasesize = SZ_256K,
| ^~~
| _256K
drivers/mtd/nand/hinfc_spl_ids.c:337:30: error: ‘SZ_512M’ undeclared here (not in a function); did you mean ‘_512M’?
337 | .chipsize = SZ_512M,
| ^~~
| _512M
drivers/mtd/nand/hinfc_spl_ids.c:351:30: error: ‘SZ_256M’ undeclared here (not in a function); did you mean ‘_256M’?
351 | .chipsize = SZ_256M,
| ^~~
| _256M
drivers/mtd/nand/hinfc_spl_ids.c:454:30: error: ‘SZ_16K’ undeclared here (not in a function); did you mean ‘_16K’?
454 | .pagesize = SZ_16K,
| ^~
| _16K
drivers/mtd/nand/hinfc_spl_ids.c:455:30: error: ‘SZ_4M’ undeclared here (not in a function); did you mean ‘_4M’?
455 | .erasesize = SZ_4M,
| ^~~
| _4M
drivers/mtd/nand/hinfc_spl_ids.c:480:30: error: ‘SZ_128M’ undeclared here (not in a function); did you mean ‘_128M’?
480 | .chipsize = SZ_128M,
| ^~~~~
| _128M
make[3]: [scripts/Makefile.build:294:drivers/mtd/nand/hinfc_spl_ids.o] 错误 1
make[2]: [scripts/Makefile.build:544:drivers/mtd/nand] 错误 2
make[1]: [scripts/Makefile.build:544:drivers/mtd] 错误 2
make: [Makefile:988:drivers] 错误 2
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2019-12-19 13:40:29
-
2018-08-23 11:13:06
-
2018-10-10 16:42:09
-
2019-01-16 09:32:49
-
2018-12-28 11:02:36
-
2018-12-21 11:22:32
-
2018-12-27 10:46:39
-
2019-01-24 14:49:19
-
2023-07-26 09:48:47
-
2018-09-17 13:49:59
-
2019-01-17 09:31:23
-
2019-01-04 10:57:06
-
2018-12-03 09:26:43
-
2018-12-11 10:52:52
-
2019-01-25 16:52:41
-
2018-11-21 15:49:19
-
2021-05-08 16:25:43
-
2018-08-21 09:11:37
-
2018-11-05 14:29:01
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明