OpenWrt Forum Archive

Topic: Raspberry PI 3 : compilation failed

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello all,

I've been struggling for several days to compile a working image of OpenWRT for my raspberry Pi 3.

I want to use it as a 4G Router, with a bridge between the Wifi and the Ethernet interface.

But all I got is this (anoying) error message :

mkdir -p /home/oupsman/openwrt/dl                                                                                                           
SHELL= flock /home/oupsman/openwrt/tmp/.freecwmp-2014-06-12-8f3c163fc85337e63bfa64da3c02f10d1fe3b169.tar.gz.flock -c '   echo "Checking out files from the git repository..."; mkdir -p /home/oupsman/openwrt/tmp/dl && cd /home/oupsman/openwrt/tmp/dl && rm -rf freecwmp-2014-06-12 && [ \! -d freecwmp-2014-06-12 ] && git clone git://dev.freecwmp.org/freecwmp freecwmp-2014-06-12 && (cd freecwmp-2014-06-12 && git checkout 8f3c163fc85337e63bfa64da3c02f10d1fe3b169 && git submodule update --init --recursive) && echo "Packing checkout..." && rm -rf freecwmp-2014-06-12/.git &&         tar czf /home/oupsman/openwrt/tmp/dl/freecwmp-2014-06-12-8f3c163fc85337e63bfa64da3c02f10d1fe3b169.tar.gz freecwmp-2014-06-12 && mv /home/oupsman/openwrt/tmp/dl/freecwmp-2014-06-12-8f3c163fc85337e63bfa64da3c02f10d1fe3b169.tar.gz /home/oupsman/openwrt/dl/ && rm -rf freecwmp-2014-06-12; '                                                                                              
Checking out files from the git repository...                                                                                               
Cloning into 'freecwmp-2014-06-12'...                                                                                   
fatal: unable to connect to dev.freecwmp.org:                                                                                               
dev.freecwmp.org[0: 217.115.15.24]: errno=Connection timed out                                                          
                                                                                                                                            
Makefile:60: recipe for target '/home/oupsman/openwrt/dl/freecwmp-2014-06-12-8f3c163fc85337e63bfa64da3c02f10d1fe3b169.tar.gz' failed
make[3]: *** [/home/oupsman/openwrt/dl/freecwmp-2014-06-12-8f3c163fc85337e63bfa64da3c02f10d1fe3b169.tar.gz] Error 128                       
make[3]: Leaving directory '/home/oupsman/openwrt/feeds/management/freecwmp'                                            
package/Makefile:196: recipe for target 'package/feeds/management/freecwmp/compile' failed                                                  
make[2]: *** [package/feeds/management/freecwmp/compile] Error 2                                                        
make[2]: Leaving directory '/home/oupsman/openwrt'                                                                                          
package/Makefile:193: recipe for target '/home/oupsman/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.14_eabi/stamp/.package_compile' failed                                                                                                                             
make[1]: *** [/home/oupsman/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_musl-1.1.14_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/oupsman/openwrt'                                                                                          
/home/oupsman/openwrt/include/toplevel.mk:192: recipe for target 'world' failed                                         
make: *** [world] Error 2                                                                                                                   

Can you help ? I'm ready to do as much beta testing as possible, as I really want to get ride of my Asus AC-RT68U router.

Thanks a lot.

if the download server is not available you can use a cached copy of the source and put it into dl/
and/or use menuconfig -> advanced settings where you can add a directory with all sources


sources are availabe from:
https://downloads.openwrt.org/sources/
https://sources.lede-project.org/

or the original download location (edit the Makefile of the freecwmp package)

I had the same - tried again some time later it worked perfectly.

dev.freecwmp.org[0: 217.115.15.24]: errno=Connection timed out

maybe the host was down?

The discussion might have continued from here.