Thanks... Yeah! I found it. I'll work on it. Though, I still have error when compiled. BTW, the error still comes out... -liz --- "Pavan Kumar Reddy N.S." <pavan.kumar@wipro.com> wrote: > It's #defined in sysdep.h file.... > > -pavan > > -----Original Message----- > From: linux-net-owner@vger.kernel.org > [mailto:linux-net-owner@vger.kernel.org]On Behalf Of > grace baldonasa > Sent: Monday, September 30, 2002 3:48 PM > To: pavan.kumar@wipro.com > Cc: linux-net@vger.kernel.org > Subject: RE: compiling snull.c > > > This is exactly the error: > > macro "dev_kfree_skb" passed two arguments but takes > just 1. > > -liz > > > --- "Pavan Kumar Reddy N.S." <pavan.kumar@wipro.com> > wrote: > > Can you cut and paste the error message > > > > -pavan > > > > -----Original Message----- > > From: grace baldonasa [mailto:gra_gtb@yahoo.com] > > Sent: Monday, September 30, 2002 3:41 PM > > To: pavan.kumar@wipro.com > > Cc: linux-net@vger.kernel.org > > Subject: RE: compiling snull.c > > > > > > Hi, > > > > I got the same error. > > > > -liz > > > > > > --- "Pavan Kumar Reddy N.S." > <pavan.kumar@wipro.com> > > wrote: > > > > > > Go to snull dir and compile with the following > > > command > > > "gcc -O2 -Wall -DMODULE -D__KERNEL__ -c snull.c" > > > > > > -pavan > > > > > > -----Original Message----- > > > From: linux-net-owner@vger.kernel.org > > > [mailto:linux-net-owner@vger.kernel.org]On > Behalf > > Of > > > grace baldonasa > > > Sent: Monday, September 30, 2002 3:14 PM > > > To: pavan.kumar@wipro.com > > > Cc: linux-net@vger.kernel.org > > > Subject: RE: compiling snull.c > > > > > > > > > I downloaded the file > > > www.samples.oreilly.com/linuxdrive2/. > > > I did not make any changes in the Makefile. > > > Is there any specific flags that I need to set > > > during > > > compilation. > > > Thanks.. > > > liz > > > > > > > > > > > > --- "Pavan Kumar Reddy N.S." > > <pavan.kumar@wipro.com> > > > wrote: > > > > > > > > What are the compilation flags ur using?? > > > > > > > > -pavan > > > > > > > > -----Original Message----- > > > > From: linux-net-owner@vger.kernel.org > > > > [mailto:linux-net-owner@vger.kernel.org]On > > Behalf > > > Of > > > > grace baldonasa > > > > Sent: Monday, September 30, 2002 2:57 PM > > > > To: linux-net@vger.kernel.org > > > > Subject: compiling snull.c > > > > > > > > > > > > Hi all, > > > > I am trying to compile snull.c and I get this > > > error > > > > "dev_kfree_skb" passes two parameters but only > > > takes > > > > one everytime. > > > > Is snull.c compatible to any kernel version? > > > > Do I have to change the code to work it with > > > > 2.4.2-2? > > > > I'll appreciate for the help. > > > > > > > > liz > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > New DSL Internet Access from SBC & Yahoo! > > > > http://sbc.yahoo.com > > > > - > > > > : send the line > > > > "unsubscribe linux-net" in > > > > the body of a message to > > majordomo@vger.kernel.org > > > > More majordomo info at > > > > http://vger.kernel.org/majordomo-info.html > > > > > > > > > > > **************************Disclaimer**************************************** > > > ********** > > > > > > > > > > > > Information contained in this E-MAIL being > > > > proprietary to Wipro Limited is 'privileged' > > > > and 'confidential' and intended for use only > by > > > the > > > > individual or entity to which it is > > > > addressed. You are notified that any use, > > copying > > > or > > > > dissemination of the information > > > > contained in the E-MAIL in any manner > whatsoever > > > is > > > > strictly prohibited. > > > > > > > > > > > > > > **************************************************************************** > > > ************ > > > > > > > > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > New DSL Internet Access from SBC & Yahoo! > > > http://sbc.yahoo.com > > > - > > > : send the line > > > "unsubscribe linux-net" in > > > the body of a message to > majordomo@vger.kernel.org > > > More majordomo info at > > > http://vger.kernel.org/majordomo-info.html > > > > > > > > > > **************************Disclaimer**************************************** > > ********** > > > > > > > > > Information contained in this E-MAIL being > > > proprietary to Wipro Limited is 'privileged' > > > and 'confidential' and intended for use only by > > the > > > individual or entity to which it is > > > addressed. You are notified that any use, > copying > > or > > > dissemination of the information > > > contained in the E-MAIL in any manner whatsoever > > is > > > strictly prohibited. > > > > > > > > > **************************************************************************** > > ************ > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > New DSL Internet Access from SBC & Yahoo! > > http://sbc.yahoo.com > > > > > > **************************Disclaimer**************************************** > ********** > > > > > > Information contained in this E-MAIL being > === message truncated ===> **************************Disclaimer************************************************** > > > Information contained in this E-MAIL being > proprietary to Wipro Limited is 'privileged' > and 'confidential' and intended for use only by the > individual or entity to which it is > addressed. You are notified that any use, copying or > dissemination of the information > contained in the E-MAIL in any manner whatsoever is > strictly prohibited. > > **************************************************************************************** > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html