All I have are the kernel headers. Do I also need the kernel sources to build?

If all I need is the kernel headers, how do I modify the Makefile to work 
correctly if the kernel headers are located in this directory:

/usr/src/linux/include

I changed the Makefile to the following:

#KERNEL_BUILD     = $(KERNEL_MODLIB)/build
KERNEL_BUILD      = /usr/src/linux
#KERNEL_SOURCE    = $(KERNEL_MODLIB)/source
KERNEL_SOURCE     = /usr/src/linux

(I do not have either /lib/modules/2.6.10/build/include 
OR /lib/modules/2.6.1/source/include)

And I ended up with this error:

make[1]: Entering directory `/usr/src/linux-2.6.10_mvl401'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.10_mvl401'
make: *** [all] Error 2


So it looks like I'm headed down the wrong path... 

Thanks!

Lloyd

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to