lkml.org 
[lkml]   [2003]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.4.21-rc3: doesn't build with CONFIG_BLK_DEV_HD_ONLY=y
    On Thu, May 22, 2003 at 07:19:38PM -0300, Marcelo Tosatti wrote:
    >
    > Hi,
    >
    > Here goes the third release candidate of 2.4.21.
    >

    kernel 2.4.21-rc3 doesn't build with CONFIG_BLK_DEV_HD_ONLY=y and
    CONFIG_BLK_DEV_IDE not set (a patch is included):

    make -C ide
    make[2]: Entering directory `/usr/src/linux-2.4.21-rc3/drivers/ide'
    make all_targets
    make[3]: Entering directory `/usr/src/linux-2.4.21-rc3/drivers/ide'
    rm -f idedriver.o
    ld -m elf_i386 -r -o idedriver.o legacy/idedriver-legacy.o
    ld: cannot open legacy/idedriver-legacy.o: No such file or directory
    make[3]: *** [idedriver.o] Error 1
    make[3]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers/ide'
    make[2]: *** [first_rule] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers/ide'
    make[1]: *** [_subdir_ide] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers'
    make: *** [_dir_drivers] Error 2

    This patch fixes the problem.

    *** drivers/ide/Makefile.orig Sun May 25 17:51:24 2003
    --- drivers/ide/Makefile Sun May 25 17:51:32 2003
    ***************
    *** 19,24 ****
    --- 19,26 ----
    obj-m :=
    ide-obj-y :=

    + subdir-$(CONFIG_BLK_DEV_HD_ONLY) += legacy
    +
    subdir-$(CONFIG_BLK_DEV_IDE) += legacy ppc arm raid pci

    # First come modules that register themselves with the core


    Best regards.
    --
    Jerome Chantelauze.
    -
    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:35    [W:0.024 / U:97.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site