From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] error with patches and u-boot build
Date: Tue, 8 May 2007 08:27:36 +0200 [thread overview]
Message-ID: <200705080827.36742.sr@denx.de> (raw)
In-Reply-To: <BAY137-F15A754C89A4952023C5175FD450@phx.gbl>
Hi Magda,
On Monday 07 May 2007, Magda Abdelbasit wrote:
> I am building u-boot for the KB9202B board. I got the patches available
> from:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1570316&group_id=6
>5938&atid=512789
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1576917&group_id=6
>5938&atid=512789
>
> and applied them to u-boot. The kb9202_patch was fine, but the nand patch
> gave the following message:
>
> patching file board/kb9202/Makefile
> Hunk #1 FAILED at 28.
> 1 out of 1 hunk FAILED -- saving rejects to file board/kb9202/Makefile.rej
> patching file board/kb9202/nand.c
> patching file include/configs/kb9202.h
>
>
> The makefile.rej file contains:
>
> ***************
> *** 28,34 ****
>
> LIB = lib$(BOARD).a
>
> - OBJS := kb9202.o
>
> $(LIB): $(OBJS) $(SOBJS)
> $(AR) crv $@ $(OBJS) $(SOBJS)
> --- 28,34 ----
>
> LIB = lib$(BOARD).a
>
> + OBJS := kb9202.o nand.o
>
> $(LIB): $(OBJS) $(SOBJS)
> $(AR) crv $@ $(OBJS) $(SOBJS)
>
>
> If I continue and build the u-boot I get the following error :
>
> drivers/nand/libnand.a(nand.o): In function `nand_init_chip':
> /home/magda/u-boot-1.1.6/drivers/nand/nand.c:50: undefined reference to
> `board_nand_init'
> make: *** [u-boot] Error 1
The nand_init_chip() function is missing. I assume that you don't compile the
board nand driver because of the patch conflict with the Makefile. Please
resolve the conflict manually (use "OBJS := kb9202.o nand.o" instead
of "OBJS := kb9202.o" and try again.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
=====================================================================
prev parent reply other threads:[~2007-05-08 6:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-07 21:12 [U-Boot-Users] error with patches and u-boot build Magda Abdelbasit
2007-05-08 6:27 ` Stefan Roese [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200705080827.36742.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.