LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-17-2008, 10:46 AM   #1
hoshangi
Member
 
Registered: Nov 2007
Posts: 88

Rep: Reputation: 15
problem with compiling u-boot 1.1.4


hi
i'm using suse 10.0 and when i compile u-boot 1.1.4 Errors has appeared

first i apply
make rmu_config
and then
make

then following error has appear

make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/tools'
make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/examples'
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/examples'
make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/post'
make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/post/cpu'
make -C tools all
make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/tools'
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c mkimage.c
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c crc32.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c gen_eth_addr.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xfff00000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
./bmp_logo logos/denx.bmp >/home/Hoshangi/Desktop/u-boot-1.1.4/include/bmp_logo.h
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/tools'
make -C examples all
make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/home/Hoshangi/Desktop/u-boot-1.1.4/examples'
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
powerpc-linux-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xfff00000 -I/home/Hoshangi/Desktop/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -Wall -Wstrict-prototypes -c -o test_burst.o test_burst.c
make[1]: powerpc-linux-gcc: Command not found
make[1]: *** [test_burst.o] Error 127
make[1]: Leaving directory `/home/Hoshangi/Desktop/u-boot-1.1.4/examples'
make: *** [examples] Error 2

i dont know what it's needed please help me thanks
 
Old 06-18-2008, 03:35 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote from http://sourceforge.net/project/showf...group_id=65938
The "U-Boot" Universal Bootloader project provides firmware for many CPU architectures and boards with full source code under GPL. See http://www.denx.de/wiki/UBoot for more information and http://www.denx.de/wiki/UBoot/SourceCode for current source co....

I think it is very clear, what you are missing :
powerpc-linux-gcc: command not found

My understanding is that you are "crosscompiling" for an "rmu-circuit"
( Quote: 'make rmu_config' )

First: Please read everything in u-boot README.
You may also want to have the latest u-boot > > u-boot-1.1.6.tar.bz2

And some "cross - tools" : e.g. gdc-0.23-powerpc-linux-gcc-4.1.1.tar.bz2
(do your own search to find the right version)
and other stuff from http://sourceforge.net/project/showf...roup_id=154306

Generally : try powerpc-linux-gcc as keyword for Google and find online books
and files concerning the subject. (Lots of info on the first 4 pages of Google)

Rgds

Last edited by knudfl; 06-18-2008 at 03:36 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling u-boot 1.1.6 hoshangi Programming 1 06-01-2008 02:29 AM
Boot problem after compiling kernel 2.6.24 samkraju Linux - Kernel 6 03-19-2008 09:18 AM
A question about compiling u-boot jackliu1019 Programming 4 08-01-2006 09:15 PM
after compiling 2.6.11.7, none of the kernels will boot hubabuba Fedora 1 05-02-2005 11:31 AM
Kernel compiling and boot issues georgen_za Linux - Newbie 6 07-17-2003 02:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration