Re: modutils snapshot for 970103

Henrik Storner (
Fri, 3 Jan 1997 21:28:54 +0100

In linux.kernel you write:

>Ok. I think I've caught up the deluge of problems with the
>last snapshot. Depmod and modversions seem to be working on my
>Alpha, though I havn't had a chance to build things on the 486.

>Assuming things go well, this will become modutils-2.1.21.

A couple of rules are missing, which prevent genksyms from building.
(make 3.74). The following patch fixes this:

diff -u genksyms/Makefile.orig genksyms/Makefile
--- genksyms/Makefile.orig Fri Jan 3 20:32:42 1997
+++ genksyms/Makefile Fri Jan 3 20:40:13 1997
@@ -7,8 +7,12 @@
genksyms: genksyms.o parse.o lex.o ../util/libutil.a
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^

+genksyms.o: genksyms.c
parse.c: parse.y
bison -o $@ -dtv $^
+lex.o: lex.c keywords.c

lex.c: lex.l
flex -o$@ -d $^

As for whether it works, I applied the linux-2.1.19 patch to a 2.1.20
kernel, and now get errors when linking the kernel (on a i386 - yes,
I did change the 'ARCH=alpha' in the patch):

kernel/kernel.o: In function `init_modules':
kernel/kernel.o(.text+0x4631): undefined reference to `__stop___ksymtab'
kernel/kernel.o(.text+0x4636): undefined reference to `__start___ksymtab'
kernel/kernel.o(.data+0x3614): undefined reference to `__start___ksymtab'

Don't really know how to fix this one.

Henrik Storner <> 
"The POP3 server service depends on the SMTP server service, which
 failed to start because of the following error:
 The operation completed successfully." -Windows NT Server v3.51