David Wright wrote: > Are you saying that the software you downloaded has .c files and some .h > files specially for it?
Exactly! > What I do in that case is to have all the .c > and .h files in the current directory (whereever), and use > something like (taken from a bash function) > /usr/bin/gcc -DMODULE -D__KERNEL__ -I. -I/usr/local/src/linux/include \ > -O2 -m486 -g -Wall -c $@ -o ${SOURCE}.o ${SOURCE}.c That actually worked out perfectly. I modified the Makefile so it would pass -I/usr/src/linux/include to gcc and it used the header files there instead of the ones in /usr/include. I'm just wondering, how gcc knows which ones it should use. Does it even look in /usr/include anymore? What if I pass multiple -Is to gcc (as you do in your example) and there are different versions of the same header file? Anyway, thanks for the help. MfG Viktor -- Viktor Rosenfeld E-Mail: mailto:[EMAIL PROTECTED] HertzSCHLAG: http://www.informatik.hu-berlin.de/~rosenfel/hs/