OpenWrt snapshot build failed 

Today I have tried to build my updated repo for my Netgear DG834GT, but it failed with:

cp: cannot stat `/home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/drivers/net/wireless/ath/ath5k/ath5k.ko': No such file or directory
make[3]: *** [/home/mm/Projektek/netgear/openwrt/bin/brcm63xx/packages/kmod-ath5k_2.6.32.9+2010-03-03-3_brcm63xx.ipk] Error 1
make[3]: Leaving directory `/home/mm/Projektek/netgear/openwrt/package/mac80211'
make[2]: *** [package/mac80211/compile] Error 2
make[2]: Leaving directory `/home/mm/Projektek/netgear/openwrt'
make[1]: *** [/home/mm/Projektek/netgear/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/mm/Projektek/netgear/openwrt'
make: *** [world] Error 2


Mostly if the daily openwrt snapshot building fails, the easiest thing to do, is rm -rf everything, and checkout a clean snapshot.
Of course this means, you have to recompile everything which wastes a lot of time.

I did not have so much humour to do it, so I have decided to do something else. I have updated my Routerstation repo, but it failed with the similar issue. As I the ath5k.ko is missing, because the compat-wireless-2010-03-03 package had not been compiled, but it had the hidden .configured and .built files.

I have removed all of these files with this command:

rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.built
rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.configured*
rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.prepare*


And now the build is done.

Conclusion
If your openwrt build fails with a missing file, or a directory you should find out in what package is in, and remove the hidden markup files (.build, .configured*)

[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 159 )

<< <Előző | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Következő> >>

 
számláló