Hi all,
I am trying to build the following module and getting
below specified error.please help me for successful
compilation
here is my code(ins.c)
--
#include
#include
#include
MODULE_LICENSE("Dual BSD/GPL");
static int hello_init(void)
{
printk(KERN_ALERT "He
I have small code
#include
#include
int main()
{
float f= 1256.35;
char ch[4];
printf("\n1. f : %f",f);
memset(ch,'\0',strlen(ch) );
printf("\n2. f : %f",f);
return 0;
}
Expected output is
1. f : 1256.35
2. f : 1256.35
But I am getting the output
(on windows)
1. f : 1256.35
2. f : 0.
I am writing simple kernel module.
I have included linux/module.h
compiler gives me error that no such file, I also
searched it on my machine.
It really doesn't exist. I am using fedora 6.
How do I install required libraries.
Did you know? You can CHAT without downloading messenger. Go to
3 matches
Mail list logo