[ELDK] Update ELDK

yel_yahc yel_yahc at etud.insa-toulouse.fr
Tue May 11 11:40:48 CEST 2010


> 
> There is no bridge-utils patckage included with ELDK, so you must be
> trying to use some RPM from another distribution - this will not
> work they are NOT compatible.
> 
I used a bridge.src.rpm of another project 
 
> 
> Did you follow exactly the hints in the manual, section "3.8.2.
> Rebuilding Target Packages" ?
> 
Yes I follow the 3 steps 

> How is $PATH set when you try to do this?
> 

PATH=
/home/jp/project/ELDK-4.2/usr/bin:/home/jp/project/ELDK-4.2/bin:/home/jp/project/ELDK-4.2/usr/ppc-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

> What is the exact error message?
> 

error: Missing build dependencies:
	kernel-headers >= 2.6.16 is necessary to bridge-utils-1.2-6.ppc

> What happens when you add "--nodeps" to the build command line?
> 
I don't try this command line

> 
> No, this is not normal.  What do you mean by "it doesn't take my
> CROSS_COMPILE"?  What exactly did you try?
> 
When I do the command line :
${CROSS_COMPILE}rpmbuild -ba busybox.spec 
The compilation is did with gcc and not with ppc_6xx-gcc

So sorry I told to you I did changes in Makefile is wrong I did changes in
busybox.spec

Before : 
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc oldconfig
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc CC="gcc $RPM_OPT_FLAGS"
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc CC="gcc $RPM_OPT_FLAGS"
doc busybox.links

After: 
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc oldconfig
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc CC="ppc_6xx-gcc
$RPM_OPT_FLAGS"
make  HOSTCC="/usr/bin/gcc -B/usr/bin/" ARCH=ppc CC="ppc_6xx-gcc
$RPM_OPT_FLAGS" doc busybox.links

Best regards,
Youssef


More information about the eldk mailing list