lkml.org 
[lkml]   [2002]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Linux 2.4.20-rc4-ac1
    I get the following compile error:

    <-- snip -->

    ...
    gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.19-full-ac/include -Wal
    l -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
    -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -I. -nostdinc -iwithprefix
    include -DKBUILD_BASENAME=mptlan -c -o mptlan.o mptlan.c
    In file included from mptlan.c:75:
    mptlan.h:23: parse error
    mptlan.h:26: linux/workqueue.h: No such file or directory
    make[3]: *** [mptlan.o] Error 1
    make[3]: Leaving directory
    `/home/bunk/linux/kernel-2.4/linux-2.4.19-full-ac/drivers/message/fusion'

    <-- snip -->


    The fix is simple:


    --- linux-2.4.19-full-ac/drivers/message/fusion/mptlan.h.old 2002-11-28 01:17:01.000000000 +0100
    +++ linux-2.4.19-full-ac/drivers/message/fusion/mptlan.h 2002-11-28 01:17:28.000000000 +0100
    @@ -20,6 +20,7 @@
    #include <linux/slab.h>
    #include <linux/miscdevice.h>
    #include <linux/spinlock.h>
    +#include <linux/version.h>
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)
    #include <linux/tqueue.h>
    #else


    cu
    Adrian

    --

    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:0.030 / U:29.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site