I followed the 1-README_start and tried the 1-2-3-start-query-mode example. But when I typed the make all command, it failed. The error message is as follows.
/root/confd/bin/confdc --fail-on-warnings -c -o dhcpd.fxs dhcpd.yang
/root/confd/bin/confdc -c commands-j.cli
/root/confd/bin/confdc -c commands-c.cli
mkdir -p ./confd-cdb
cp /root/confd/var/confd/cdb/aaa_init.xml ./confd-cdb
ln -s /root/confd/etc/confd/ssh ssh-keydir
/root/confd/bin/confdc --emit-h dhcpd.h dhcpd.fxs
cc -c -o dhcpd_conf.o dhcpd_conf.c -Wall -g -I/root/confd/include
make: cc: Command not found
/root/confd/src/confd/build/include.mk:118: recipe for target 'dhcpd_conf.o' failed
make: *** [dhcpd_conf.o] Error 127
While I checked the include.mk file, I cannot figure out what's wrong.
Could anyone give me some suggestions to solve this problem.
Thanks a lot.