Skip to contentSkip to conversation

2.6.4-mm2

DISCUSSION [email protected] 2 participants 2 messages Mar 20, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Date: Lør, 20 Mar 2004 23:50:30 +0100 skrev Olaf Hering <[email protected]> :

Quoted 7 lines

I think that one made it into rc2. It breaks uml compilation,

CC kernel/acct.o

 IKCFG   kernel/ikconfig.h
 GZIP    kernel/config_data.gz
 IKCFG   kernel/config_data.h
Quoted 6 lines

/bin/sh: line 1: scripts/bin2c: No such file or directory make[1]: *** [kernel/config_data.h] Error 1
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.18419 (%build)

looks like IKCFG does not depend on scripts/bin2c anymore?

There is a missing dependency on 'scripts' in the Makefile. Try add scripts as target on the line that says something like:

$(SUBDIRS): prepare-all scripts
^---- The scripts target you shall add.
$(Q)$(MAKE) $(build)=$@

Cannot test rigth now - not on my Linux machine.

Sam

#1 lore raw
Quoted 14 lines · On Sun, Mar 21, [email protected] wrote:

Date: Lør, 20 Mar 2004 23:50:30 +0100 skrev Olaf Hering <[email protected]> :

Quoted 12 lines

I think that one made it into rc2. It breaks uml compilation,

CC kernel/acct.o

 IKCFG   kernel/ikconfig.h
 GZIP    kernel/config_data.gz
 IKCFG   kernel/config_data.h

/bin/sh: line 1: scripts/bin2c: No such file or directory make[1]: *** [kernel/config_data.h] Error 1
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.18419 (%build)

Quoted 3 lines
Quoted 1 line

looks like IKCFG does not depend on scripts/bin2c anymore?

There is a missing dependency on 'scripts' in the Makefile.

This patch is needed to fix the compile. Odd, make -jN works.

arch/um/Makefile-i386 renamed from arch/um/Makefile-i386~ +1 -1
@@ -30,7 +30,7 @@ filechk_$(SYS_DIR)/thread.h := $(SYS_UTI
 $(SYS_DIR)/thread.h: $(SYS_UTIL_DIR)/mk_thread 
 	$(call filechk,$@)
 
-$(SYS_UTIL_DIR)/mk_sc: scripts/fixdep include/config/MARKER FORCE ; 
+$(SYS_UTIL_DIR)/mk_sc: scripts/basic/fixdep include/config/MARKER FORCE ; 
 	$(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) $@
 
 $(SYS_UTIL_DIR)/mk_thread: $(ARCH_SYMLINKS) $(GEN_HEADERS) sys_prepare FORCE ; 
Makefile renamed from Makefile~ +1 -1
@@ -568,7 +568,7 @@ $(sort $(vmlinux-objs)) arch/$(ARCH)/ker
 # 	Handle descending into subdirectories listed in $(SUBDIRS)
 
 .PHONY: $(SUBDIRS)
-$(SUBDIRS): prepare-all
+$(SUBDIRS): prepare-all scripts
 	$(Q)$(MAKE) $(build)=$@
 
 # Things we need to do before we recursively start building the kernel
Signature · 3 lines
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG