Hello sir
"FATAL: drivers/media/video/bt819.o has no symtab?
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.28'
make: *** [debian/stamp/build/kernel] Error 2"
here there is nothing to do with bt819.o,what is my doubt is,when I use this
command(" fakeroot make-kpkg --initrd --append-to-version=-some-string-here
kernel-image kernel-headers")
1. what are the following things happen
2. we mainly want to recompile our kernel source so that we can run
the below program "linux security module" successfully
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/security.h>
static int test2_mkdir (struct inode *dir,
struct dentry *dentry, int mode)
{
printk (KERN_INFO "Got call for mkdir in inode %ld "
"to mkdir %s with mode %d\n", dir->i_ino,
(dentry->d_name).name, mode);
return 0;
}/* Use the capability functions for some of the hooks */
static struct security_operations test2_sec_ops = {
.inode_mkdir = test2_mkdir
};
static int __init test2_init (void)
{
/* register ourselves with the security framework */
if (register_security (&test2_sec_ops)) {
printk (KERN_INFO"Failure registering Test 2 module with the kernel\n");
return -EINVAL;
}
printk (KERN_INFO "Test2 module initialized");
return 0;
}
static void __exit test2_exit (void)
{
printk (KERN_INFO "Test2 unregistered\n");
}
module_init (test2_init);
module_exit (test2_exit);
MODULE_LICENSE("GPL");
.........can you please guide me
_______________________________________________
pwc mailing list
[email protected]
http://lists.saillard.org/mailman/listinfo/pwc