Problem with program during build


usually I don't have problem to build my own image but I don't know how to do what the errors say. I dont know how to install the program, I get an error whan I try. Ideas?

checking for protoc-c... no
configure: error: The protoc-c program was not found. Please install protobuf-c!
make[3]: *** [Makefile:268: /home/james/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/unbound-1.13.2/.configured_a3bd525810ceb645efa5f18a0f1db67c] Error 1
make[3]: Leaving directory '/home/james/openwrt/feeds/packages/net/unbound'
time: package/feeds/packages/unbound/compile#15.59#27.70#57.55
    ERROR: package/feeds/packages/unbound failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/unbound/compile] Error 1

Are you trying to use image builder? Compile from source?

usually I use those commands and everything works.

#sudo apt update
#sudo apt install -y build-essential ccache ecj fastjar file g++ gawk \
#gettext git java-propose-classpath libelf-dev libncurses5-dev \
#libncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \
#python3-distutils python3-setuptools rsync subversion swig time \
#xsltproc zlib1g-dev sshpass dos2unix zip

## Clone OpenWRT ##
git clone
cd openwrt

git config pull.rebase true

./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig
make -j1 V=sc

apt-get install protobuf-c-compiler

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.