Problem with build openwrt-yun github

Hello,

I try to build this code https://github.com/arduino/openwrt-yun

I followed the instructions and after some hours he send me error:

make[1]: *** [/home/tony/Repositories/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/debianyun/openwrt-yun’
make: *** [world] Error 2

I’m desperate because many hours missed.

Regards.

PD: I read this topic http://forum.arduino.cc/index.php?topic=236093.0 but i dont understand who is the solution.

To clone the repository using git SSH, make sure you have your public SSH key in your github profile and execute:

git clone git@github.com:arduino/openwrt-yun.git However if you can't use git SSH you can instead clone the repository over HTTPS by executing:

git clone https://github.com/arduino/openwrt-yun.git

https://github.com/arduino/openwrt-yun#troubleshooting

I use

git clone https://github.com/arduino/openwrt-yun.git

attached zipped complete log file please, since error is incomplete (we need not last one but one or two befaore that).

this??

nohup.zip (14.4 KB)

root@debian75386240:/home/test# cat nohup |grep "Error 2"
make[2]: *** [tools/sed/compile] Error 2
make[1]: *** [/home/arduino/openwrt-yun/staging_dir/target-mips_r2_u.2/stamp/.tools_install_nnnnn] Error 2
make: *** [world] Error 2
make tools/sed/clean 
make tools/sed/compile V=s

post output of compile.

thanks.

outputCompile.txt.zip (6.33 KB)

Your " tools/sed" is compiled fine. go a head to keep continuing an interrupted build

For some reasons, you may need to interrupt the build. Maybe it was an error, maybe you run out of time. To resume compiling, DO NOT use the build.sh script as it will wipe out all the previously done work.

https://github.com/arduino/openwrt-yun#troubleshooting

MAKE_JOBS=5 nice -n 10 nohup make -j $MAKE_JOBS V=s &

Error 2 again…

nohup.zip (1.22 MB)

root@debian75386240:/home/test#grep -B 5  "Error 2" nohup

find which package cause problem.

perl?

outputlog.zip (900 Bytes)

sonnyyu: ...

make tools/sed/clean 
make tools/sed/compile V=s

post output of compile. ...

replace sed with perl.

Thanks you. Finally i compile only the toolchain and compiled fine!

Cross compile work fine here!

Regards.