openwrt_lede-18.06 icon indicating copy to clipboard operation
openwrt_lede-18.06 copied to clipboard

Error in set_up_build_environment.sh

Open Fattoresaimon opened this issue 3 years ago • 2 comments

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!

Fattoresaimon avatar Jun 16 '21 20:06 Fattoresaimon

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.

Qqwy avatar Jul 14 '21 10:07 Qqwy

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!

Fattoresaimon avatar Jul 27 '21 14:07 Fattoresaimon