public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] error with patches and u-boot build
@ 2007-05-07 21:12 Magda Abdelbasit
  2007-05-08  6:27 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Magda Abdelbasit @ 2007-05-07 21:12 UTC (permalink / raw)
  To: u-boot

Hello everyone,
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=65938&atid=512789

http://sourceforge.net/tracker/index.php?func=detail&aid=1576917&group_id=65938&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

I am new to Linux and I cannot figure out the meaning of the errors.
I would greatly appreciate your help.
Thanks in anticipation,
          Magda

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-08  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox