[Click] [PATCH] patches for linux 2.6.24

Peter Dedecker Peter.Dedecker at intec.ugent.be
Tue Sep 2 10:07:45 EDT 2008


Hi all,

I'm trying to install click on Fedora Core 9.  Building a patched
2.6.24 kernel was no problem, but I get a few FAILED messages and some
big offsets while patching a fresh click-1.6.0 with the patches
provided in this thread, see dump below.  I tried to apply the failed
patches manually, wich wasn't that hard, but after that I got some
compilation errors (eg an unclosed ifndef in packet.hh) which I
couldn't easily resolve.

Are you sure this patch applies to a fresh click-1.6.0?  Thanks a lot.

KR,

Peter




Dump:
# patch -p1 -b < ../oneshot-click-1.6.patch
patching file config-linuxmodule.h.in
patching file configure
Hunk #1 succeeded at 14415 (offset -433 lines).
Hunk #3 succeeded at 14829 (offset -433 lines).
patching file configure.in
Hunk #1 succeeded at 834 (offset -24 lines).
Hunk #3 succeeded at 926 (offset -24 lines).
patching file drivers/e1000-7.x/src/Makefile
patching file drivers/e1000-7.x/src/e1000_main.c
patching file drivers/e1000-7.x/src/kcompat.h
patching file elements/linuxmodule/anydevice.cc
Hunk #1 succeeded at 233 (offset -65 lines).
patching file elements/linuxmodule/fromdevice.cc
Hunk #1 succeeded at 258 (offset 3 lines).
patching file elements/linuxmodule/todevice.cc
Hunk #1 succeeded at 318 (offset 13 lines).
patching file elements/linuxmodule/tohost.cc
Hunk #1 FAILED at 151.
1 out of 1 hunk FAILED -- saving rejects to file
elements/linuxmodule/tohost.cc.rej
patching file include/click/packet.hh
Hunk #1 succeeded at 341 (offset -129 lines).
Hunk #2 succeeded at 524 (offset -19 lines).
Hunk #3 succeeded at 428 (offset -132 lines).
Hunk #4 succeeded at 596 (offset -10 lines).
Hunk #5 succeeded at 488 (offset -135 lines).
Hunk #6 succeeded at 627 (offset -13 lines).
Hunk #7 succeeded at 604 (offset -162 lines).
Hunk #8 FAILED at 1149.
Hunk #9 FAILED at 1169.
Hunk #10 FAILED at 1236.
Hunk #11 succeeded at 1178 (offset -245 lines).
Hunk #12 FAILED at 1364.
4 out of 12 hunks FAILED -- saving rejects to file include/click/packet.hh.rej
patching file lib/glue.cc
Hunk #2 succeeded at 686 (offset -37 lines).
patching file lib/ino.cc
patching file lib/packet.cc
Hunk #1 succeeded at 251 (offset -184 lines).
patching file linuxmodule/Makefile.in
Hunk #1 FAILED at 84.
1 out of 2 hunks FAILED -- saving rejects to file linuxmodule/Makefile.in.rej
patching file linuxmodule/proclikefs.c
patching file linuxmodule/skbmgr.cc


More information about the click mailing list