2008-06-18 17:48:49     compiling UBoot 1.1.3 under 2008 tools

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

2008-06-18 17:48:49     compiling UBoot 1.1.3 under 2008 tools

Wojtek Skulski (UNITED STATES)

Message: 57537   

 

I am trying to compile the 2006 UBoot using the 2008 tools, what in my opinion is not unreasonable. The tools are installed properly enough to compile the 2008 kernel. The UBoot 1.1.3 compilation stops with the following error message. I searched the Wiki for the keyword "mno-underscore" and I did not find anything. I will appreciate suggestions what can be wrong and/or how to fix the problem. (I can delete this keyword from the makefile, but I am not sure, how important it was).

 

make[1]: Entering directory `/home/uclinux/u-boot_1.1.3/examples'

bfin-uclinux-gcc -g  -Os   -ffixed-P5 -D__KERNEL__ -DTEXT_BASE=0x03FC0000      -I/home/uclinux/u-boot_1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include -pipe  -D__BLACKFIN__ -mno-underscore -DCONFIG_BLACKFIN -D__blackfin__ -I/home/uclinux/u-boot_1.1.3 -Wall -Wstrict-prototypes -c -o smc91111_eeprom.o smc91111_eeprom.c

cc1: error: unrecognized command line option "-mno-underscore"

make[1]: *** [smc91111_eeprom.o] Error 1

 

QuoteReplyEditDelete

 

 

2008-06-18 20:45:40     Re: compiling UBoot 1.1.3 under 2008 tools

Mike Frysinger (UNITED STATES)

Message: 57539   

 

please read the faq (Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist?):

http://docs.blackfin.uclinux.org/doku.php?id=faq

Attachments

    Outcomes