OpenWRT patches not working

2 posts / 0 new
Last post
colind's picture
OpenWRT patches not working

Hi All,

I have downloaded the OpenWRT patches from the downloads section and unfortunately the script no longer works with the version of OpenWRT it obtains from trunk.  A list of HUNK errors are presented during the patching.

I modified the script to checkout from the tags version of OpenWRT, both 8.09.1 and 8.09.2.  In both cases the patches apply cleanly from the script, however the compilation fails in both tags copying the configure patches over for uclibc as can be seen below.

prepare uClibc version
bzcat /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/dl/uClibc- | /bin/tar -C /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc- -xf -
ls: ./patches/ No such file or directory
cp -fpR ././config/ /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc-
cp: cannot stat `././config/': No such file or directory
make[3]: *** [/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc-] Error 1
make[3]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/toolchain/uClibc'
make[2]: *** [toolchain/uClibc/prepare] Error 2
make[2]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze'
make[1]: *** [/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/staging_dir/mipsel/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze'
make: *** [world] Error 2

Does anyone know what revision of OpenWRT the scripts provided here were applied too?  Is anyone still working with OpenWRT on the WNR3500L.  Has anyone been able to make it compile?

Many Thanks


David Ayers
David Ayers's picture
It's great that you are

It's great that you are working on providing patches for the released versions of OpenWRT.  But if the patches are based on SVN, I wonder why they are being kept here instead of being integrated upstream?  Have there been upstream submission efforts?