From: Subhransu Prusty Date: Tue, 19 Sep 2006 12:08:16 +0530 Subject: [U-Boot-Users] facing problem in cmd_flash.c Message-ID: <71c86e0b0609182338sbf63d3ayd24bfda02564b468@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de while compiling for my lsi(arm7tdmi based) board i am getting some undefined references in cmd_flash.c like flash_print_info, flash_erase. i have included common.h(which includes flash.h) in the cmd_flash.c and in the flash.c also. in flash.c i have given the definition for flash_print_info and flash_erase. Here in the following i am giving the snippets of the code where i am getting the error. in cmd_flash.c - #include .... flash_print_info (&flash_info[bank]); //here at this point i am getting undefined reference error ....... in flash.h - ..... extern void flash_print_info (flash_info_t *); in /board/flash.c - void flash_print_info (flash_info_t *info) { int i; ...... } can anybody please solve this problem -- thanks & regards Subhransu Sekhar Prusty +91-9885212073