Skip to contentSkip to conversation

2.4.2-ac13 make modules_install error

DISCUSSION Frank Davis 3 participants 3 messages Mar 7, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Frank Davis

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

Rules.make Wed, 07 Mar 2001 17:25:40 +1100 kaos (linux-2.4/T/c/47_Rules.make 1.1.1.2 644) renamed from Rules.make Tue, 06 Mar 2001 13:01:59 +1100 kaos (linux-2.4/T/c/47_Rules.make 1.1.1.2 644) +1 -1
@@ -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
#2 lore raw
In reply to Frank Davis

Hi.

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

Cheers,
Matt Johnston

Quoted 29 lines · Frank Davis

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/