Re: 1.3.23 compile failure

Tornaria Gonzalo (gtornari@varela.reu.edu.uy)
Mon, 4 Sep 95 18:49:33 URU


> My 'make modules' compile is still dying on a clean 1.3.22 tar +
> 1.3.23 patch setup...
>
> make[2]: Leaving directory `/usr/src/linux-1.3.23/fs/hpfs'
> make: *** binfmt_elf.o: No such file or directory. Stop.
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.23/fs'
> make: *** [modules] Error 2
>

I had the same problem.. It compiles cleanly with the following
patch, but I still can't insmod it. It needs "dump_fpu"...

I think it should be simply added to ksyms, but I have not done
this yet... (I don't need binfmt_elf)

Gonzalo

diff -u Rules.make.old Rules.make
--- Rules.make.old Sun Sep 3 14:30:18 1995
+++ Rules.make Sun Sep 3 14:29:15 1995
@@ -92,14 +92,12 @@
ifneq "$(strip $(MOD_LIST_NAME))" ""
-ifndef M_OBJS # Hack for fs subdirectories
rm -f $$TOPDIR/modules/$(MOD_LIST_NAME)
for i in $(MOD_SUB_DIRS); do \
echo `basename $$i`.o >> $$TOPDIR/modules/$(MOD_LIST_NAME); done
-else
- echo $(M_OBJS) > $$TOPDIR/modules/$(MOD_LIST_NAME)
-endif
+ for i in $(M_OBJS); do \
+ echo $$i >> $$TOPDIR/modules/$(MOD_LIST_NAME); done
endif
ifdef M_OBJS
echo $(PDWN)
cd $$TOPDIR/modules; for i in $(M_OBJS); do \
- ln -sf ../$(PDWN)/$$i .; done
+ ln -sf ../$(PDWN)$$i .; done
endif
diff -u fs/Makefile.old fs/Makefile
--- fs/Makefile.old Sun Sep 3 14:31:15 1995
+++ fs/Makefile Sun Sep 3 14:24:48 1995
@@ -87,5 +87,5 @@
ifdef CONFIG_BINFMT_ELF
BINFMTS += binfmt_elf.o
else
-MOD_SUB_DIRS += binfmt_elf.o
+M_OBJS += binfmt_elf.o
endif