From: Detlev Zundel Date: Mon, 29 Jun 2009 18:40:25 +0200 Subject: [U-Boot] Undefined reference to'flash_sect_protect' in env_flash.c In-Reply-To: <194075.70132.qm@web28310.mail.ukl.yahoo.com> (Johnson Yu's message of "Mon, 29 Jun 2009 16:26:25 +0000 (GMT)") References: <194075.70132.qm@web28310.mail.ukl.yahoo.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > I met this compiling error, any idea? > > /common/env_flash.c:312: undefined reference to `flash_sect_protect' > /common/env_flash.c:316: undefined reference to `flash_sect_erase' > /common/env_flash.c:329: undefined reference to `flash_sect_protect' > make: *** [u-boot] Error 1 Sure you are missing the definition of those functions. Maybe you'd care to give us information so we can reproduce this? Is this a standard configuration? What version of U-Boot? Thanks Detlev -- Deutsches Grundgesetz Artikel 14 Absatz 2: Eigentum verpflichtet. Sein Gebrauch soll zugleich dem Wohle der Allgemeinheit dienen. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de