kernel module compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
    i am compiling small kernel module in linux2.4.18-3 version.
    with gcc version 2.96
  
my module program is as follows:
 
   #define MODULE
   #include <linux/module.h>
    int init_module() { printk(" XXXX"); return 0; }
    void cleanup_module() { return; }
  
 
   while compiling the module i get
            parse error before 'atomic_t'.
          
  how to compile the module.
  thanks in advance.
 
regards
p suresh
 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux