
In message 7a2ed4090601030242t6810d4a9g8360afd8061504c9@mail.gmail.com you wrote:
I'm porting u-boot to new (not supported by u-boot) 8247A based board. I began with the previous u-boot, release 1.1.3, and built our project. Yesterday I moved the project to u-boot release 1.1.4 and since I have the compilation failure:
common/libcommon.a(env_flash.o)(.text+0xe8): In function `saveenv': /home/seva/tools/u-boot-1.1.4/common/env_flash.c:332: undefined reference to `flash_sect_protect' common/libcommon.a(env_flash.o)(.text+0x108):/home/seva/tools/u-boot-1.1.4/common/env_flash.c:336: undefined reference to `flash_sect_erase'
common/libcommon.a(env_flash.o)(.text+0x158):/home/seva/tools/u-boot-1.1.4/common/env_flash.c:349: undefined reference to `flash_sect_protect'
In the project's header file I've defined CONFIG_COMMANDS as:
#define CONFIG_COMMANDS (CFG_CMD_ECHO | CONFIG_CMD_DFL | CONFIG_JFFS2_CMDLINE | CFG_CMD_FLASH)
Is this the exact notation as used in your config file? I. e. written in two lines without using a continuation marker ('') in the first line?
Please advice. Where the problem could came from? Where am I wrong?
I guess your board config file is broken.
Best regards,
Wolfgang Denk