RE: compiling snull.c

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

 




Copy sysdep.h, snull.h and snull.c file under some temp dir and
compile using "gcc -O2 -Wall -DMODULE -D__KERNEL__ -c snull.c".

It should compile. I just tried it here.

-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
> 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.

****************************************************************************************

[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