[U-Boot] onenand compile failures w/top of tree on ARM
Kumar Gala
galak at kernel.crashing.org
Fri Aug 15 15:51:45 CEST 2008
When trying to build the apollon_config w/top of tree I get:
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -
msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/tmp/u-boot-85xx/
include -fno-builtin -ffreestanding -nostdinc -isystem /local/opt/eldk/
4.1/arm-linux-x86/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -
DCONFIG_ARM -D__ARM__ -march=armv5 -mabi=apcs-gnu -mno-thumb-interwork
-Wall -Wstrict-prototypes -c -o onenand_base.o onenand_base.c
onenand_base.c: In function 'onenand_bufferram_offset':
onenand_base.c:331: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_read_ecc':
onenand_base.c:541: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:543: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:544: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:545: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:549: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_read_oob':
onenand_base.c:664: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_write_ecc':
onenand_base.c:749: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:749: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:760: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:762: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:768: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_probe':
onenand_base.c:1212: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1214: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1216: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1219: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1221: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1243: error: 'struct mtd_info' has no member named
'read_ecc'
onenand_base.c:1244: error: 'struct mtd_info' has no member named
'write_ecc'
onenand_base.c:1245: warning: assignment from incompatible pointer type
onenand_base.c:1246: warning: assignment from incompatible pointer type
make[1]: *** [onenand_base.o] Error 1
make[1]: Leaving directory `/tmp/u-boot-85xx/drivers/mtd/onenand'
make: *** [drivers/mtd/onenand/libonenand.a] Error 2
More information about the U-Boot
mailing list