[U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE
Wolfgang Denk
wd at denx.de
Wed Jan 11 08:33:46 CET 2012
Dear Liu Gang,
In message <1326195751-20729-2-git-send-email-Gang.Liu at freescale.com> you wrote:
> When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors:
>
> ./common/env_nowhere.o: In function `env_relocate_spec':
> ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec'
> ./common/env_flash.o: ./common/env_flash.c:326: first defined here
> ./common/env_nowhere.o: In function `env_get_char_spec':
> ./common/env_nowhere.c:42: multiple definition of `env_get_char_spec'
> ./common/env_flash.o:./common/env_flash.c:78: first defined here
> ./common/env_nowhere.o: In function `env_init':
> ./common/env_nowhere.c:51: multiple definition of `env_init'
> ./common/env_flash.o:./common/env_flash.c:237: first defined here
> make[1]: *** [./common/libcommon.o] Error 1
> make[1]: Leaving directory `./common'
> make: *** [./common/libcommon.o] Error 2
The Subject: says this affects "powerpc/env". Is this really correct?
Are _all_ Power architecture systems affected? I don't think so.
If your comment was correct, how comes you change configs/corenet_ds.h
only?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Dealing with failure is easy: work hard to improve. Success is also
easy to handle: you've solved the wrong problem. Work hard to
improve.
More information about the U-Boot
mailing list