[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0611291446320.14310@yvahk01.tjqt.qr>
Date: Wed, 29 Nov 2006 14:52:17 +0100 (MET)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: prajakta choudhari <prajaktachoudhari@...il.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: 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.
http://ttyrpld.svn.sourceforge.net/viewvc/ttyrpld/trunk/k_linux-2.4/Makefile?revision=2&view=markup
-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists