2010-02-23 07:27:31     Error in compilation of u-boot

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2010-02-23 07:27:31     Error in compilation of u-boot

Kaustubh Vaidya (INDIA)

Message: 86377   

 

Hello

 

While compiling u-boot-2008.10-2009R1.1-rc1.tar.bz2 , I am getting following error

 

[kunal@localhost u-boot-2008.10-2009R1.1-rc1]# make stplbf532

make stplbf532_config

make[1]: Entering directory `/kunal/u-boot-2008.10-2009R1.1-rc1'

Configuring for stplbf532 board...

make[1]: Leaving directory `/kunal/u-boot-2008.10-2009R1.1-rc1'

make

make[1]: Entering directory `/kunal/u-boot-2008.10-2009R1.1-rc1'

for dir in tools examples ; do make -C $dir _depend ; done

make[2]: Entering directory `/kunal/u-boot-2008.10-2009R1.1-rc1/tools'

make[2]: Nothing to be done for `_depend'.

make[2]: Leaving directory `/kunal/u-boot-2008.10-2009R1.1-rc1/tools'

make[2]: Entering directory `/kunal/u-boot-2008.10-2009R1.1-rc1/examples'

make[2]: Nothing to be done for `_depend'.

make[2]: Leaving directory `/kunal/u-boot-2008.10-2009R1.1-rc1/examples'

make -C tools all

make[2]: Entering directory `/kunal/u-boot-2008.10-2009R1.1-rc1/tools'

gcc -g -Wall -idirafter /kunal/u-boot-2008.10-2009R1.1-rc1/include -idirafter /kunal/u-boot-2008.10-2009R1.1-rc1/include2 -idirafter /kunal/u-boot-2008.10-2009R1.1-rc1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c

In file included from /kunal/u-boot-2008.10-2009R1.1-rc1/include/config.h:2,

                 from /kunal/u-boot-2008.10-2009R1.1-rc1/include/command.h:30,

                 from /kunal/u-boot-2008.10-2009R1.1-rc1/include/image.h:37,

                 from mkimage.c:26:

/kunal/u-boot-2008.10-2009R1.1-rc1/include/configs/stplbf532.h:118:26: error: cmd_confdefs.h: No such file or directory

make[2]: *** [mkimage.o] Error 1

make[2]: Leaving directory `/kunal/u-boot-2008.10-2009R1.1-rc1/tools'

make[1]: *** [tools] Error 2

make[1]: Leaving directory `/kunal/u-boot-2008.10-2009R1.1-rc1'

make: *** [stplbf532] Error 2

 

what is getting wrong?

 

Thank You.

QuoteReplyEditDelete

 

 

2010-02-23 08:04:28     Re: Error in compilation of u-boot

Mike Frysinger (UNITED STATES)

Message: 86379   

stplbf532.h is your code, so fix your code.  if the header doesnt exist, why are you trying to include it ?

Attachments

    Outcomes