SMP kernel build question

From: Tony E. Bennett (tbennett@nvidia.com)
Date: Fri Jan 28 2000 - 15:10:40 EST

  • Next message: Richard B. Johnson: "Re: your mail"

    Whenever I build a kernel (2.2.12) with SMP and MODVERSIONS, the built
    kernel has versioned symbols, but they don't include 'smp'. So booting
    it fails horribly since all the /lib/modules are looking for 'smp'

    This seems to be because linux/module.h includes modversion.h instead of
    modversions-smp.h

    Is something in the build process supposed to link linux/include/modversions.h
    to the smp version?

    My only solution is to patch module.h to say

        # ifdef __SMP__
        # include <linux/modversions-smp.h>
        # else
        # include <linux/modversions.h>
        # endif

    --tony

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jan 29 2000 - 00:40:58 EST