[lkml]   [2006]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Help for kernel module programming

>> 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
>...What function?
>> declared in igmp.h file, it says unresolved symbol for that function.
>...What symbol?
>> 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
>Please read the files in Documentation/kbuild/.

Sorry, was not seeing you use 2.4.x. But the procedure is similar, e.g.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-29 14:55    [W:0.031 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site