Syntax error in stdlib.h before '('
Hey I am running linux at University, so I have no access rights to install etc. At the moment, I am trying to get g++ to recognise a new version of videodev.h in /usr/src/linux/include/linux, but it cannot find it. I have tried putting -g -Wall -I/usr/src/linux/include/linux/ in the Makefile on the CXXFLAGS line. That seemed to get g++ to recognise the new version, but started giving me problems with redefined variables from time.h, and said that stdiolib.h had a syntax error before '('.
What can I do to fix this?
|