LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2004, 09:18 AM   #1
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
Question Error :patch layer7 in 2.6


i just download the layer7 patch "kernel-2.6-layer7-0.9.1+working_with_2.6.9.patch" and when i patch it >>" patch -p1 < kernel-2.6-layer7-0.9.1+working_with_2.6.9.patch",
it prompt out an error..

[root@jin root]# patch -p1 < kernel-2.6-layer7-0.9.1+working_with_2.6.9.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru linux-2.6.9-stock/include/linux/netfilter_ipv4/ip_conntrack.h linux-2.6.9-layer7/include/linux/netfilter_ipv4/ip_conntrack.h
|--- linux-2.6.9-stock/include/linux/netfilter_ipv4/ip_conntrack.h 2004-10-18 23:55:21.000000000 +0200
|+++ linux-2.6.9-layer7/include/linux/netfilter_ipv4/ip_conntrack.h 2004-11-09 23:54:04.000000000 +0100
--------------------------
File to patch:


So what should i do for this problem??i m using Fedora core2 kernel-2.6.9-1.6_FC2.i586.rpm
Thanks in advance.
 
Old 12-28-2004, 10:03 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to change into the kernel source directory before applying the patch.
 
Old 12-28-2004, 10:46 AM   #3
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
Thanks , david_ross...i did a silly mistake...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs-6.1 Patch-2.5.4 //ERROR or No ERROR?? ukyo Linux From Scratch 1 08-25-2005 07:34 AM
iptables -m layer7 - RPM ddaas Fedora 1 08-02-2005 08:31 AM
iptables -m layer7 - doesn't work (after patching) ddaas Linux - Security 1 07-28-2005 09:53 PM
cat layer7 pattern to /proc/net/layer7_protocols joirnange Linux - Newbie 1 12-29-2004 02:58 AM
enable Layer7 Classifier? joirnange Linux - Networking 2 12-28-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration