How to Compile Busy Box with Cross Compiler (sh4-linx-)

Bernhard Fischer rep.nop at aon.at
Tue Oct 10 02:42:18 PDT 2006


On Tue, Oct 10, 2006 at 01:25:10PM +0530, Gulab Chandra Yadava wrote:
>
>Hi
>  I have compiled busybox--1.2.1 on PC successfully.
> For Cross compilation I put the correct path
>CROSS_COMPILER_PREFIX="/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-" 

first, the thing is nowadays called CROSS=

>And tried to compile it by invoking # make, but it fails with
>compilation error at last line.
>Make[1]: *** [/root/Desktop/busybox-1.2.1/networking/udhcp/common.o]
>Error 1
>Make: *** [_all] Error 2

A few lines before that pasted line would be of interrest.

HTH,
>
>I have not installed uClib.
>
>Basically I want to create ramdisk image (initrd.img) for my target
>system, which uses stlinux-2.6.11_stm20-31.
>
>Can u please provide me any pointer.
>--Regards
>	Gulab


More information about the busybox mailing list