Re: packet dropper module...problem includign skbuff.h
- From: "SaranJothy" <saranjothy@xxxxxxxxx>
- Date: 21 Dec 2005 23:24:15 -0800
I myself got the solution for this problem.
i have missed flags for compiling which created the headache.
Its best to use Make for this program.
It goes like this.
TARGET := pktdrop
WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes
INCLUDE := -isystem /lib/modules/`uname -r`/build/include
CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE}
CC := gcc
${TARGET}.o: ${TARGET}.c
..PHONY: clean
clean:
rm -rf ${TARGET}.o
But as i have used simple compilation iike gcc - in the command line
itself with limited flags.
it created problems.....
HAPPY CODING.
SaranJothy
.
- References:
- packet dropper module...problem includign skbuff.h
- From: SaranJothy
- packet dropper module...problem includign skbuff.h
- Prev by Date: Re: Wanted: serial driver (RS232) emulation on LAN
- Next by Date: Re: using ld-linux.so to load private libraries
- Previous by thread: packet dropper module...problem includign skbuff.h
- Next by thread: using ld-linux.so to load private libraries
- Index(es):
Relevant Pages
|