2008-02-23 04:04:32     error on make process of uboot-1.1.6 on bf533-stamp

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

2008-02-23 04:04:32     error on make process of uboot-1.1.6 on bf533-stamp

Herbert Weinfurter (AUSTRIA)

Message: 51536    error:

an unknown compiler option is used

 

first of all I executed :

> make clean

> "make bf533-stamp_config"

> make dep

> make

 

the following listing follows:

 

linux-yg53:/BACKUP/u-boot-1.1.6 # make

make: bfin-uclinux-gcc: Kommando nicht gefunden

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

make[1]: bfin-uclinux-gcc: Kommando nicht gefunden

make[1]: Entering directory `/BACKUP/u-boot-1.1.6/tools'

make[1]: Für das Ziel »_depend« ist nichts zu tun.

make[1]: Leaving directory `/BACKUP/u-boot-1.1.6/tools'

make[1]: bfin-uclinux-gcc: Kommando nicht gefunden

make[1]: Entering directory `/BACKUP/u-boot-1.1.6/examples'

/bin/sh: bfin-uclinux-gcc: command not found

dirname: fehlender Operand

„dirname --help“ gibt weitere Informationen.

/bin/sh: bfin-uclinux-gcc: command not found

dirname: fehlender Operand

„dirname --help“ gibt weitere Informationen.

make[1]: Für das Ziel »_depend« ist nichts zu tun.

make[1]: Leaving directory `/BACKUP/u-boot-1.1.6/examples'

make -C tools all

make[1]: bfin-uclinux-gcc: Kommando nicht gefunden

make[1]: Entering directory `/BACKUP/u-boot-1.1.6/tools'

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o img2srec img2srec.o

strip img2srec

gcc -g -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c

gcc -g -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o crc32.o crc32.c

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o

strip mkimage

gcc -g -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c

gcc -g  -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -c -o environment.o environment.c

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o

gcc -g -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o gen_eth_addr gen_eth_addr.o

strip gen_eth_addr

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c

gcc -Wall -pedantic -idirafter /BACKUP/u-boot-1.1.6/include -idirafter /BACKUP/u-boot-1.1.6/include2 -idirafter /BACKUP/u-boot-1.1.6/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o bmp_logo bmp_logo.o

strip bmp_logo

./bmp_logo logos/denx.bmp >/BACKUP/u-boot-1.1.6/include/bmp_logo.h

make[1]: Leaving directory `/BACKUP/u-boot-1.1.6/tools'

make -C examples all

make[1]: bfin-uclinux-gcc: Kommando nicht gefunden

make[1]: Entering directory `/BACKUP/u-boot-1.1.6/examples'

/bin/sh: bfin-uclinux-gcc: command not found

dirname: fehlender Operand

„dirname --help“ gibt weitere Informationen.

/bin/sh: bfin-uclinux-gcc: command not found

dirname: fehlender Operand

„dirname --help“ gibt weitere Informationen.

bfin-uclinux-gcc -g  -Os   -ffixed-P5 -fomit-frame-pointer -mcpu= -D__KERNEL__ -I/BACKUP/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c

make[1]: bfin-uclinux-gcc: Kommando nicht gefunden

make[1]: *** [hello_world.o] Fehler 127

make[1]: Leaving directory `/BACKUP/u-boot-1.1.6/examples'

make: *** [examples] Fehler 2

 

question:

do I need a newer toolchain as the toolchain of the 2007-kernel?

............................................................................

I appreciate any ideas

 

 

ubooterr.txt

QuoteReplyEditDelete

 

 

2008-02-23 04:16:23     Re: error on make process of uboot-1.1.6 on bf533-stamp

Mike Frysinger (UNITED STATES)

Message: 51537    the fact that it's telling you it couldnt find bfin-uclinux-gcc should be a clue ... you need to update your PATH so that it includes the toolchain in it

 

please review the FAQ about package versions:

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

QuoteReplyEditDelete

 

 

2008-02-25 03:03:31     Re: error on make process of uboot-1.1.6 on bf533-stamp

Herbert Weinfurter (AUSTRIA)

Message: 51579   

 

sorry, but I'm sure that I included the correct toolchain-path.

 

the faq couldn't help me

 

I did the whole procedure 3 times.  I included the path for uclinux and ulinux-uclibc    compiler. Is there any prefered?

QuoteReplyEditDelete

 

 

2008-02-25 13:04:55     Re: error on make process of uboot-1.1.6 on bf533-stamp

Mike Frysinger (UNITED STATES)

Message: 51602    there is no "uclinux-uclibc", there is "linux-uclibc" ... but u-boot only uses the "uclinux" toolchain (by default)

 

if the build system is telling you bfin-uclinux-gcc was not found, it means it wasnt found

 

check your PATH by doing:

which bfin-uclinux-gcc

Attachments

    Outcomes