kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: aravind1123@gmail.com (Aravind Vijayan)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Char driver
Date: Sat, 7 May 2011 18:55:45 +0530	[thread overview]
Message-ID: <BANLkTimEx2k5pni98ysrO946QDcv5aFRMQ@mail.gmail.com> (raw)

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.

             reply	other threads:[~2011-05-07 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07 13:25 Aravind Vijayan [this message]
2011-05-07 14:20 ` Char driver Vic
2011-05-08  8:36 ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimEx2k5pni98ysrO946QDcv5aFRMQ@mail.gmail.com \
    --to=aravind1123@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).