I do compile few programs with no error at Raspbian OS but Today I want to try same programs on Ubuntu Mate. I keep getting same error.
git clone -b r606 https://github.com/vthoang/cgminer.git cd cgminer CFLAGS="-O2 -march=native" ./autogen.sh --enable-gekko make -j 2
/usr/include/netdb.h:32:11: fatal error: rpc/netdb.h: No such file or directory
During compiling. Not sure why its happening.