[U-Boot-Users] U-boot-1.1.5: building nand_base failed
KokHow.Teh at infineon.com
KokHow.Teh at infineon.com
Wed Jan 17 10:32:23 CET 2007
Hi;
I have the following error when building nand_base.c:
make[1]: Entering directory `/usr/src/u-boot/drivers/nand'
mips-linux-gcc -g -Os -D__KERNEL__ -DUBOOT_RAM_TEXT_BASE=0xA0400000
-I/usr/src/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem
/opt/uclibc-toolchain/ifx-lxdb-1-2/gcc-3.4.4/toolchain-mips/bin-ccache/.
./lib/gcc/mips-linux-uclibc/3.4.4/include -pipe -DCONFIG_MIPS
-D__MIPS__ -march=mips32r2 -mtune=mips32r2 -EB -mabicalls -Wall
-Wstrict-prototypes -DCONFIG_IFX_MIPS -DCONFIG_LZMA
-DIFX_CONFIG_MEMORY_SIZE=32 -DIFX_CONFIG_FLASH_SIZE=4
-DCONFIG_REMOVE_GZIP -DIFX_UBOOT_OPTIMIZED
-DIFX_CONFIG_KERNEL_MEMORY_SIZE=31 -c -o nand.o nand.c
mips-linux-gcc -g -Os -D__KERNEL__ -DUBOOT_RAM_TEXT_BASE=0xA0400000
-I/usr/src/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem
/opt/uclibc-toolchain/ifx-lxdb-1-2/gcc-3.4.4/toolchain-mips/bin-ccache/.
./lib/gcc/mips-linux-uclibc/3.4.4/include -pipe -DCONFIG_MIPS
-D__MIPS__ -march=mips32r2 -mtune=mips32r2 -EB -mabicalls -Wall
-Wstrict-prototypes -DCONFIG_IFX_MIPS -DCONFIG_LZMA
-DIFX_CONFIG_MEMORY_SIZE=32 -DIFX_CONFIG_FLASH_SIZE=4
-DCONFIG_REMOVE_GZIP -DIFX_UBOOT_OPTIMIZED
-DIFX_CONFIG_KERNEL_MEMORY_SIZE=31 -c -o nand_base.o nand_base.c
nand_base.c: In function `nand_command':
nand_base.c:542: error: `NAND_CTL_SETCLE' undeclared (first use in this
function)
nand_base.c:542: error: (Each undeclared identifier is reported only
once
nand_base.c:542: error: for each function it appears in.)
nand_base.c:565: error: `NAND_CTL_CLRCLE' undeclared (first use in this
function)
nand_base.c:568: error: `NAND_CTL_SETALE' undeclared (first use in this
function)
nand_base.c:585: error: `NAND_CTL_CLRALE' undeclared (first use in this
function)
nand_base.c: In function `nand_command_lp':
nand_base.c:654: error: `NAND_CTL_SETCLE' undeclared (first use in this
function)
nand_base.c:658: error: `NAND_CTL_CLRCLE' undeclared (first use in this
function)
nand_base.c:661: error: `NAND_CTL_SETALE' undeclared (first use in this
function)
nand_base.c:679: error: `NAND_CTL_CLRALE' undeclared (first use in this
function)
nand_base.c: In function `nand_wait':
nand_base.c:841: warning: integer overflow in expression
nand_base.c:843: warning: integer overflow in expression
make[1]: *** [nand_base.o] Error 1
make[1]: Leaving directory `/usr/src/u-boot/drivers/nand'
make: *** [drivers/nand/libnand.a] Error 2
[tehkok at linux2:/usr/src/u-boot 34]$ grep NAND_CTL_
include/configs/ifx_mips.h
#define NAND_CTL_CLRALE(nandptr)
#define NAND_CTL_SETALE(nandptr)
#define NAND_CTL_CLRCLE(nandptr)
#define NAND_CTL_SETCLE(nandptr)
[tehkok at linux2:/usr/src/u-boot 35]$
Any insight is appreciated.
Best Regards,
Kok How
More information about the U-Boot
mailing list