On 8/22/2010 11:11 AM, Tapas Mishra wrote:
/home/tapas/LKP/pandora/temp/sample2/sample2.c:2:25: error:
sys/syscall.h: No such file or directory
My 2 cents ...
#includehttp://lxr.linux.no/linux+*/include/linux/syscalls.h>> , try this include.
Thanks
Ok I did try what you suggested.
From
http://tldp.org/LDP/lkmpg/2.6/html/x181.html#AEN189
here is my Makefile
obj-m += sample2.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
but I got same err
On Sat, Aug 21, 2010 at 13:59, Tapas Mishra wrote:
> Upto this point I have tried
>
> Step1) gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c
> Step2) added -I to gcc flag
> gcc -Wall -DMODULE -D__KERNEL -DLINUX -I
> /usr/src/linux-headers-2.6.28- 11/include/ -c sample2.c
I've just realized t
Hi,
just info
http://www.ibm.com/developerworks/linux/library/l-memory/
--- On Sat, 21/8/10, pardeep bansal wrote:
From: pardeep bansal
Subject: Re: malloc memory region descriptors
To: "Prabhu nath"
Cc: kernelnewbies@nl.linux.org, techtrain...@tataelxsi.co.in
Date: Saturday, 21 August, 2
On Sat, Aug 21, 2010 at 4:09 PM, Padmalochan Moharana
wrote:
> Dear All,
>
> To load the sctp module in kernel I have used the modprobe command. But when
> I am trying to remove the sctp module using rmmod command with –f option,
> kernel shows below error message as ipv6 module uses the sctp modu
On Sat, 21 Aug 2010, Ahmad Jbara wrote:
> Hello,
> I know that config option looks like CONFIG_SOMETHING. Also, each
> config option is defined in the Kconfig file and later appears in
> the implementation files. I searched the implemnetation files and
> found some config options that are not def
Dear All,
To load the sctp module in kernel I have used the modprobe command. But when
I am trying to remove the sctp module using rmmod command with -f option,
kernel shows below error message as ipv6 module uses the sctp module.
ERROR: Module sctp is in use by [unsafe]
Is there any other
Hello,
I know that config option looks like CONFIG_SOMETHING. Also, each config
option is defined in the Kconfig file and later appears in the
implementation files. I searched the implemnetation files and found some
config options that are not defined in the Kconfig files. Anybody knows to
explain
OK! Now I came to know what exactly your problem is..
malloc is an intelligent function...it keeps record of every byte
returned by it.what it do is...It takes a bulk amount of memory
from operating system.and then manage it himself for the
process...
malloc keeps a record of allocate
Upto this point I have tried
Step1) gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c
Step2) added -I to gcc flag
gcc -Wall -DMODULE -D__KERNEL -DLINUX -I
/usr/src/linux-headers-2.6.28- 11/include/ -c sample2.c
Step3) added one more -I with asm in path
gcc -I /usr/src/linux-headers-2.6.28-11/a
Hi Tapas,
On Fri, Aug 20, 2010 at 10:35 PM, Tapas Mishra wrote:
> Ok I did
>
> gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/ -I
> /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c
I tried a few other variants and couldn't get them to work either.
The only thing I've been able t
11 matches
Mail list logo