<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Unsupported kernel version error [FIXED]
From: ewheeler,AT,kaico,DOT,com
Date: Wed, 13 Jun 2001 20:08:05 +0200
In-reply-to: <5.1.0.14.0.20010613212818.00ac1ec0@192.168.254.1>

Kyle --

Oops... try patch -p0 .  I always get those two backwards :)

--Eric

On Wed, 13 Jun 2001, Kyle Winters wrote:

> Eric,
> When I try this, I get the following error message:
> 
> [root@adsl linux]# cat patchfile | patch -p1
> can't find file to patch at input line 6
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -ur cipe-1.4.6/conf/aclocal.m4
> |/usr/src/cipe-1.4.6/conf/aclocal.m4
> |--- cipe-1.4.6/conf/aclocal.m4  Tue May 30 09:47:03 2000
> |+++ /usr/src/cipe-1.4.6/conf/aclocal.m4 Sat May 26 04:15:32
> |2001
> --------------------------                                      
> 
> Any ideas?
> Regards,
> 
> Kyle.
> 
> 
> 
> 
> 
> 
> At 08:21 PM 10/06/01 -0700, you wrote:
> 
>       Kyle -- copy the patch file to the kernel source
>       directory (/usr/src/linux).
>       From there, enter 'cat patchfile | patch -p1' at the command
>       line. 
> 
>       That should work!  If the patch is not for the kernel you're
>       using, then
>       apply the patch in the cipe source directory tree.
> 
>       --Eric
> 
>       On Mon, 11 Jun 2001, Kyle Winters wrote:
> 
>       > Please forgive my ignorance, but what exactly do I have to
>       do with this
>       > patch to fix the problem?
>       > Put it in a file and run it?  Add it to an existing file? 
>       Replace some
>       > lines in an existing file?  Put it in my pipe and smoke it?
>       > I have absolutely no idea...Please help.
>       >
>       > Kyle.
>       >
>       >
>       >
>       >
>       >
>       > At 09:16 PM 27/05/01 -0400, Trevor wrote:
>       >       Part of the problem is a change in the networking in
>       2.4.4.
>       >       NULL is a workable fix in addition to what I did.  It
>       just
>       >       isn't "correct." Please find my attached patch.   It
>       will
>       >       work for 1.4.6 cipe and will if applied by hand for
>       1.5.2
>       >       cipe.
>       >
>       >
>       >
>       >       diff -ur cipe-1.4.6/conf/aclocal.m4
>       >       /usr/src/cipe-1.4.6/conf/aclocal.m4
>       >       --- cipe-1.4.6/conf/aclocal.m4  Tue May 30 09:47:03
>       2000
>       >       +++ /usr/src/cipe-1.4.6/conf/aclocal.m4 Sat May 26
>       04:15:32
>       >       2001
>       >       @@ -29,7 +29,7 @@
>       >        [$1]
>       >        EOF
>       >        (eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_CC |\
>       >       - sed -n -e 's/^"\(.*\)".*$/\1/p' >conftest
>       >       + sed -n -e 's/^ *"\(.*\)".*$/\1/p' >conftest
>       >        changequote(, )dnl
>       >        set "X" "`cat conftest`"
>       >        changequote([, ])dnl
>       >       diff -ur cipe-1.4.6/output.c
>       /usr/src/cipe-1.4.6/output.c
>       >       --- cipe-1.4.6/output.c Wed Aug  2 10:33:45 2000
>       >       +++ /usr/src/cipe-1.4.6/output.c        Sun May 27
>       20:02:01
>       >       2001
>       >       @@ -277,7 +277,11 @@
>       >               iph->ihl        =       sizeof(struct
>       iphdr)>>2;
>       >               iph->tos        =       tos;
>       >               iph->tot_len    =       htons(skb->len);
>       >       -       ip_select_ident(iph, &rt->u.dst);
>       >       +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,4)
>       >       +       ip_select_ident(iph, &rt->u.dst, skb->sk);
>       >       +#else
>       >       +        ip_select_ident(iph, &rt->u.dst);
>       >       +#endif
>       >                iph->frag_off   =      df;
>       >                iph->ttl        =      ttl;
>       >               iph->protocol   =       IPPROTO_UDP;
>       >
>       > -- Message sent by the cipe-l,AT,inka,DOT,de mailing list.
>       Unsubscribe: mail
>       > majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body Other
>       commands available
>       > with "help" in body to the same address. CIPE info and list
>       archive:
>       >
> 
> -- Message sent by the cipe-l,AT,inka,DOT,de mailing list. Unsubscribe: mail
> majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body Other commands 
> available
> with "help" in body to the same address. CIPE info and list archive:
> 





<< | Thread Index | >> ]    [ << | Date Index | >> ]