I am currently working on my project wherein I need to program a DSP processor for a modem to do binary FSK modulation. The system was earlier using a QPSK modulation. I have use the same infrastructure, only need to modify the frequency modulation technique. The DSP processor is simulated using a set of C files on a LINUX machine and all the code is tested out on LINUX before moving on to the actual device.
Right now I have just started with the programming and I am just trying to compile my current codeset. I am facing a lot of issues with missing header files.
The device infra files use the header files like:
- filter.h,
- sysreg.h,
- builtins.h
Now I am getting all these headers as “file missing” errors. I was able to fix a couple with
#include <sys/reg.h>
#include <linux/filter.h>
But the builtins.h file is still missing and I am not able to compile the code.
I am using UBUNTU 11.10 and gcc version 4.6.1. Is there some special set of files that I need to update for programming with embedded C. Any help would be much appreciated.
builtins.his a header that is part of the compiler project and specifies which functions are, literally, built-in to the language, according to the gcc docs.Your problem is that the compiler you’re using cannot find this file.
You have two options:
find /usr -name "builtins.h"to locate the file and add that directory to the include (-I/path/to/dir) path.