Char driver

Aravind Vijayan aravind1123 at gmail.com
Sat May 7 09:25:45 EDT 2011


Hi all,

 i am totally newbie to drivers,but i like to deal with them . I have
a code here:http://pastebin.com/9YsJetek


when i try to make it,

/*make file*/
obj-m +=memory.o

all:
	make -C  /lib/modules/$(shell uname -r)/build M=$(pwd) modules
clean:
	make -C  /lib/modules/$(shell uname -r)/build M=$(pwd) clean
/*End*/


i got some error:
make -C  /lib/modules/2.6.35.12-90.fc14.i686/build M= modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.12-90.fc14.i686'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[2]: *** No rule to make target `missing-syscalls'.  Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.12-90.fc14.i686'
make: *** [all] Error 2

how can i fix this....

Thanks in advance.



More information about the Kernelnewbies mailing list