pwc
[Top] [All Lists]

[pwc] to run the below program successfully

To: <>
Subject: [pwc] to run the below program successfully
From: "nitesh" <>
Date: Fri, 13 Nov 2009 14:01:32 +0530

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

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] to run the below program successfully, nitesh <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU