i would like to ask you for help with the next problem:
What is wrong with my settings?
I got Gentoo, gcc 4.5.3, binary compile after update world.
My header files are locating in /usr/include. But also there are a lot of other subdirectories with headers file like libdjvu, alsa, asm .. etc.
And when i write in example.c-file line like #include <ptrace.h> which is located in /usr/include/asm dir, compiler get me an error:
fatal error: ptrace.h: No such file or directory
I suppose that i can solve partialy this problem by creating Makefile with right statements or passing parametre -I to gcc.
My problem is that before i update whole system, i can use header files from any subdirectories i want. Now , after update i cannot do it.
Please tell me, is there some setting where i could set that gcc has to searching for header files over whole /usr/include directory, with subdirectory
I hope i am clear with the description of my problem.
Thank you for any ideas