2001-03-07 05:05:22

by Frank Davis

[permalink] [raw]
Subject: 2.4.2-ac13 make modules_install error

Hello,
While 'make modules_install' on 2.4.2-ac13, I receive the following error:

make -C kernel modules_install
make[1]: Entering directory '/usr/src/linux/kernel'
make[1]: Nothing to be done for 'modules_install'.
..
make -C drivers modules_install
make[1]: Entering directory ;/usr/src/linux/drivers'
make -C arm modules_install
make[2]: Entering directory '/usr/src/linux/drivers/atm'
mkdir -p /lib/modules/2.4.2-ac13/kernel/$(shell ($CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
/bin/sh: CONFIG_SHELL: command not found
/bin/sh: TOPDIR: command not found
....

All previous steps appeared to work without any problems, and I performed a 'make mrproper'. The build worked in 2.4.2-ac11 . Any suggestions?

Regards,
Frank



2001-03-07 06:28:07

by Keith Owens

[permalink] [raw]
Subject: Re: 2.4.2-ac13 make modules_install error

On Wed, 7 Mar 2001 00:04:08 -0500 (EST),
Frank Davis <[email protected]> wrote:
>make[2]: Entering directory '/usr/src/linux/drivers/atm'
>mkdir -p /lib/modules/2.4.2-ac13/kernel/$(shell ($CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
>/bin/sh: CONFIG_SHELL: command not found
>/bin/sh: TOPDIR: command not found

Against 2.4.2-ac13. You need the same patch on 2.4.3-pre2.

Index: 2.26/Rules.make
--- 2.26/Rules.make Tue, 06 Mar 2001 13:01:59 +1100 kaos (linux-2.4/T/c/47_Rules.make 1.1.1.2 644)
+++ 2.26(w)/Rules.make Wed, 07 Mar 2001 17:25:40 +1100 kaos (linux-2.4/T/c/47_Rules.make 1.1.1.2 644)
@@ -150,7 +150,7 @@ endif
#
ALL_MOBJS = $(filter-out $(obj-y), $(obj-m))
ifneq "$(strip $(ALL_MOBJS))" ""
-MOD_DESTDIR ?= $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
+MOD_DESTDIR := $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
endif

unexport MOD_DIRS

2001-03-07 07:54:25

by Matt Johnston

[permalink] [raw]
Subject: Re: 2.4.2-ac13 make modules_install error

Hi.

I've had the same problem, it also happens in 2.4.2ac12

Cheers,
Matt Johnston



On Wed, 7 Mar 2001 13:04, Frank Davis wrote:
> Hello,
> While 'make modules_install' on 2.4.2-ac13, I receive the following
> error:
>
> make -C kernel modules_install
> make[1]: Entering directory '/usr/src/linux/kernel'
> make[1]: Nothing to be done for 'modules_install'.
> ..
> make -C drivers modules_install
> make[1]: Entering directory ;/usr/src/linux/drivers'
> make -C arm modules_install
> make[2]: Entering directory '/usr/src/linux/drivers/atm'
> mkdir -p /lib/modules/2.4.2-ac13/kernel/$(shell ($CONFIG_SHELL)
> $(TOPDIR)/scripts/pathdown.sh) /bin/sh: CONFIG_SHELL: command not found
> /bin/sh: TOPDIR: command not found
> ....
>
> All previous steps appeared to work without any problems, and I performed a
> 'make mrproper'. The build worked in 2.4.2-ac11 . Any suggestions?
>
> Regards,
> Frank
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/