Tells what is wrong.

The compiler can't find the header files, at least in the big code post.
One or two questions:
Did you build the "missing" library yourself?
If so;
What did you use for the --prefix= path to configure? The proper path so that "make install" would install **both** the library and the header files to the Cs toolchain location?
Did you include any DESTDIR= environment variable while doing "make install"
Duh,,,
Too many ways this might have gotten to this state to give a winning answer on the first reply.