Re: Questions ............. (fwd)

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

 




Chandrashekhar S wrote:

> My name is Chandra, I have some probelms...
> I am doing some kernel coding in the IP layer. and I am using kmalloc and
> printk and the timer functions in my module.

> The kernel version I am using is linux-2.4.2 form compillation. When I
> compile my module in the top level make file , it is showing some linker
> errors for kmalloc and printk and for timer function,
> WHat is the problem ? which are the header files still I need to add ??

The problem is that you're trying to make the object file into an
executable. A module is just an object (".o") file; it is supposed to
contain unresolved references to kernel symbols.

-- 
Glynn Clements <glynn.clements@virgin.net>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux