Re: Compile error in kernel 2.6.10-bk3 in file slhc.c

From: Cal Peake (cp_at_absolutedigital.net)
Date: 12/31/04

  • Next message: Marcelo Tosatti: "Re: waiting 10s before mounting root filesystem?"
    Date:	Fri, 31 Dec 2004 06:17:26 -0500 (EST)
    To: Ikke <ikke.lkml@gmail.com>
    
    

    On Fri, 31 Dec 2004, Ikke wrote:

    > Could you point me to the patch please?

    at:

    http://linux.bkbits.net:8080/linux-2.5/cset@1.2082?nav=index.html|ChangeSet@-1d

    and below.

    -- Cal

    # This is a BitKeeper generated diff -Nru style patch.
    #
    # ChangeSet
    # 2004/12/30 15:21:16-08:00 acme@conectiva.com.br
    # [PATCH] Fix net/core/sock.o build failure
    #
    # This fixes a build failure that happens when you don't select IPV6.
    #
    # Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    #
    # include/linux/ipv6.h
    # 2004/12/29 14:22:45-08:00 acme@conectiva.com.br +1 -1
    # Fix net/core/sock.o build failure
    #
    diff -Nru a/include/linux/ipv6.h b/include/linux/ipv6.h
    --- a/include/linux/ipv6.h 2004-12-31 03:15:16 -08:00
    +++ b/include/linux/ipv6.h 2004-12-31 03:15:16 -08:00
    @@ -273,6 +273,7 @@
             struct ipv6_pinfo inet6;
     };
     
    +#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
     static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk)
     {
             return inet_sk(__sk)->pinet6;
    @@ -283,7 +284,6 @@
             return &((struct raw6_sock *)__sk)->raw6;
     }
     
    -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
     #define __ipv6_only_sock(sk) (inet6_sk(sk)->ipv6only)
     #define ipv6_only_sock(sk) ((sk)->sk_family == PF_INET6 && __ipv6_only_sock(sk))
     #else
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Marcelo Tosatti: "Re: waiting 10s before mounting root filesystem?"

    Relevant Pages

    • Re: 2.6.2-rc1-mm1
      ... > In my case it is NTFS causing the build failure. ... > 'ntfs2utc': function body not available ... The fix is to remove the `inline' from the declaration in foo.h. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux 2.4.28-rc1
      ... TI CardBus PCI interrupt routing fix ... - Robert White: usbserial hangup on disconnect ... alpha, make bootimage and make bootpfile failure, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PROBLEM: 2.6test11 kernel panic on "head -1 /proc/net/tcp"
      ... No kernel errors. ... > So I think my linking of PPP to the fix was wrong. ... Several peoples was reporting the similar PPP failure. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.10-rc2-mm3, reiser4 and subversion
      ... > second time, the system totaly freezes and i am unable to anything, only ... # This is a BitKeeper generated diff -Nru style patch. ... missing calls to txn_restartare added ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Altix I/O code reorganization - 3 of 21
      ... # This is a BitKeeper generated diff -Nru style patch. ... -extern void init_all_devices; ... * is called just before the generic Linux PCI layer does its probing (by ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)