Re: Help for kernel module programming

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

 



Hi ,
You can use a function in Linux source only when it is exported by Linux using EXPORT_SYMBOL.You can find all exported symbols in net/netsyms.c.Unless a function is exported, its usage will result in "unresolved symbol"

Sharmila.

At 02:00 PM 11/29/2006, prajakta choudhari wrote:
Hi:
I am writing a kernel module for assging an ip address to an interface.
I  have included linux/igmp.h but still whenever i use the function
declared in  igmp.h file, it says unresolved symbol for that function.
I am new to this programming.
i use the following command to compile it:
gcc -c -D__KERNEL__   -DMODULE
-I/home/newkernelsource/linux-2.4.22/include  hello.c
--
-------------------------------------
-------------------------------------
Regards,
Prajakta Choudhari,
Project Engineer,
Networking and Internet Software Group,
CDAC,Pune
Email:prajaktac@xxxxxxx
Mobile:9890302701
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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