* Help for kernel module programming
@ 2006-11-29 7:58 prajakta choudhari
2006-11-29 9:13 ` Jan Engelhardt
2006-11-29 20:19 ` Willy Tarreau
0 siblings, 2 replies; 4+ messages in thread
From: prajakta choudhari @ 2006-11-29 7:58 UTC (permalink / raw)
To: linux-kernel
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@cdac.in
Mobile:9890302701
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help for kernel module programming
2006-11-29 7:58 Help for kernel module programming prajakta choudhari
@ 2006-11-29 9:13 ` Jan Engelhardt
2006-11-29 13:52 ` Jan Engelhardt
2006-11-29 20:19 ` Willy Tarreau
1 sibling, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2006-11-29 9:13 UTC (permalink / raw)
To: prajakta choudhari; +Cc: linux-kernel
> 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
...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/.
-`J'
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help for kernel module programming
2006-11-29 9:13 ` Jan Engelhardt
@ 2006-11-29 13:52 ` Jan Engelhardt
0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2006-11-29 13:52 UTC (permalink / raw)
To: prajakta choudhari; +Cc: linux-kernel
>> 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.
http://ttyrpld.svn.sourceforge.net/viewvc/ttyrpld/trunk/k_linux-2.4/Makefile?revision=2&view=markup
-`J'
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help for kernel module programming
2006-11-29 7:58 Help for kernel module programming prajakta choudhari
2006-11-29 9:13 ` Jan Engelhardt
@ 2006-11-29 20:19 ` Willy Tarreau
1 sibling, 0 replies; 4+ messages in thread
From: Willy Tarreau @ 2006-11-29 20:19 UTC (permalink / raw)
To: prajakta choudhari; +Cc: linux-kernel
Hi,
On Wed, Nov 29, 2006 at 01:28:50PM +0530, 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
1) everything concerning network development should be sent to the
netdev mailing list (netdev@vger.kernel.org)
2) to maximize your chances of getting a useful and positive reply,
you should provide at least the part of the code using that function,
show your includes, and, most importantly, provide a capture of the
error messages you're seeing. It is impossible to provide any help
with that few information.
Regards,
Willy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-29 20:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 7:58 Help for kernel module programming prajakta choudhari
2006-11-29 9:13 ` Jan Engelhardt
2006-11-29 13:52 ` Jan Engelhardt
2006-11-29 20:19 ` Willy Tarreau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox