LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with building HelloWorld Device Driver (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-building-helloworld-device-driver-699656/)

coolfisa 01-24-2009 04:34 PM

Problem with building HelloWorld Device Driver:Any help would be welcome
 
Hi.I am trying to start on linux device drivers.
I am following the instructions on

http://information.kateep.com/it/d-P...8lev1sec1.html

Here I was able to proceed till section 8.1.4.
After making the hello.c file,the make file and patching the Kconfig as mentioned,I tried to run the

$ make ARCH=ARM CROSS_COMPILE=xscale_be- gconfig

This gave error as:

make: *** No rule to make target `gconfig'. Stop.


I am not sure if my kernel is correctly compliled,but I was able to complie and build the kernel for arm before by cloning the kernel and building from the following link without any error.

https://omapzoom.org/gf/project/omap...ux+OMAP+Kernel

deepsix 01-26-2009 02:09 AM

try "gcc hello.c" and see what happens


All times are GMT -5. The time now is 06:54 PM.