Mad Hatter wrote:
It has something related to compiler speicific header files. I think. For that you can't use std headers in kernel, then you add a flag -nostdinc, but then the compiler specific headers were gone, so you have to get them back, and -iwithprefix include magically done that. This is just my random guess. I've been hit by this for my own modules and I have to copy exactly the CFLAGS in kernel to my Makefile. So I guess. 8)Hi, What's the diff. between "-iwithprefix include" used to compile the kernel sources and just plain "-Iinclude" ? The gcc docs say withprefix is discouraged and seem to indicate that it needs a prior "-iprefix" which is not present in the kernel compiles.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/