[U-Boot-Users] Porting project to u-boot 1.1.4: compilation error.

Wolfgang Denk wd at denx.de
Tue Jan 3 12:23:28 CET 2006


In message <7a2ed4090601030242t6810d4a9g8360afd8061504c9 at 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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Shakespeare's Law of Prototyping: (Hamlet III, iv, 156-160)
        O, throw away the worser part of it,
        And live the purer with the other half.




More information about the U-Boot mailing list