Re: linux/module.h does not exist

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

 



Hi Tapas,

On Wed, Aug 18, 2010 at 9:12 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> I wrote following program in my home directory.
>
> #include <linux/kernel.h>
> #include <sys/syscall.h>
> #include <linux/module.h>
> extern void *sys_table[];
> asmlinkage int(*main_sys_exit)(int);

You seem to be missing the line of code that goes here....

> {
>        printk("Sys_exit called with err_code=%d\n",err_code);
>        return main_sys_exit(err_code);
> }
...snip...

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[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