[lkml]   [2002]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    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

    <-- 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>
    #include <linux/tqueue.h>



    "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
    More majordomo info at
    Please read the FAQ at

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