[U-Boot-Users] Trouble to build U-Boot under Red Hat 7.3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] Trouble to build U-Boot under Red Hat 7.3

Ken Chou
Hi,

I just download the U-Boot.
There is one problem on the first try.

rm -f include/config.h include/config.mk
/bin/sh: -
: unrecognized option
make: *** [Sandpoint8245_config] Error 1
System not configured - see README
make: *** [all] Error 1
ppc_82xx-size: ppcboot: No such file or directory

It seems like the option is not recognized by the sh.

"sh --version" shows

GNU bash, version 2.05a.0(1)-release (i686-pc-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.

I tried to edit the mkconfig.
To take the -e away in #!/bin/sh -e
However, it gave another error "./mkconfig command not found"

I am not familiar with shell.
Could someone give a hint?

Thanks,
Ken




Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] Trouble to build U-Boot under Red Hat 7.3

Wolfgang Denk
In message <7D036BD3216A084DB1BD9D62BCEAF290089C17 at mail1irv.inside.istor.com> you wrote:
>
> I just download the U-Boot.
> There is one problem on the first try.

Which exact commands did you enter?

> I tried to edit the mkconfig.
> To take the -e away in #!/bin/sh -e

Don't do this.

> However, it gave another error "./mkconfig command not found"

Is the execute permission set on the "mkconfig" file?


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325