Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This looks like you are missing the linux/init.h module (which is highly unlikely) or that gcc does not know where to look for this module. I have found this file in my machine in this path: /usr/src/linux-headers-3.19.0-56/include/linux
apt-file
helps a lot to identify the packages that provide missing headers:apt-file search linux/init.h
gcc
g++ is for c++, gcc compiles c.