From: Wolfgang Denk Date: Fri, 09 May 2008 23:04:54 +0200 Subject: [U-Boot-Users] [PATCH] Fix Compilation Errors with 'tools/env/fw_printenv' In-Reply-To: Your message of "Tue, 06 May 2008 16:18:00 PDT." <1210115880-19148-1-git-send-email-gerickson@nuovations.com> Message-ID: <20080509210454.7EAA424764@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1210115880-19148-1-git-send-email-gerickson@nuovations.com> you wrote: > In the current top-of-tree, 1.3.3.-rc2, the optional tool 'tools/env/fw_printenv' fails to compile for two reasons: > > 1) The header watchdog.h cannot be found. > 2) The header zlib.h is picked up from the tool chain rather than the project causing a prototype conflict for crc32. > > This patch addresses both of these issues. > > Platforms Tested On: > - AMCC "Kilauea" > > Signed-off-by: Grant Erickson > --- > lib_generic/crc32.c | 2 ++ > tools/env/Makefile | 2 +- > 2 files changed, 3 insertions(+), 1 deletions(-) Applied, thanks. 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 When choosing between two evils, I always like to take the one I've never tried before. -- Mae West, "Klondike Annie"