openwrt_lede-18.06
openwrt_lede-18.06 copied to clipboard
Error in set_up_build_environment.sh
I'm trying to compile the image, but i get this error with the command ./set_up_build_environment.sh
Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later cc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)' Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)'
I have installed both gcc and g++, i think there is some error in checking of the version.
How can i fix?
Thank you!
I have this problem as well. It seems like the script checks for a version 4.x.x
but currently we are on version 11.1.0
so it seems rather outdated.
I have solved this problem by using an old version of ubuntu. I have installed in a VM ubuntu 18.04 and it compile without issue!