make mandocs fails in 2.6.10-bk2

From: Jesper Juhl
Date: Thu Dec 30 2004 - 19:31:35 EST



make mandocs fails with these errors in 2.6.10-bk2 :

juhl@dragon:~/download/kernel/linux-2.6.10-bk2$ make mandocs
DOCPROC Documentation/DocBook/kernel-api.sgml
docproc: /home/juhl/download/kernel/linux-2.6.10-bk2/drivers/net/net_init.c: No such file or directory
/bin/sh: line 1: 4845 Segmentation fault
SRCTREE=/home/juhl/download/kernel/linux-2.6.10-bk2/ scripts/basic/docproc doc Documentation/DocBook/kernel-api.tmpl >Documentation/DocBook/kernel-api.sgml
make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 139
make: *** [mandocs] Error 2

removing the reference to net_init.c makes it continue a bit further but
it still ends up failing with these errors :

make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 1
make: *** [mandocs] Error 2

This is what I did :

diff -u linux-2.6.10-bk2-orig/Documentation/DocBook/kernel-api.tmpl linux-2.6.10-bk2/Documentation/DocBook/kernel-api.tmpl
--- linux-2.6.10-bk2-orig/Documentation/DocBook/kernel-api.tmpl 2004-12-24 22:33:48.000000000 +0100
+++ linux-2.6.10-bk2/Documentation/DocBook/kernel-api.tmpl 2004-12-31 01:33:53.000000000 +0100
@@ -143,7 +143,6 @@
<chapter id="netdev">
<title>Network device support</title>
<sect1><title>Driver Support</title>
-!Edrivers/net/net_init.c
!Enet/core/dev.c
</sect1>
<sect1><title>8390 Based Network Cards</title>


Since I have very little knowledge about SGML or the building of these
docs in general, I'd appreciate some help from someone more knowledgable
than me. Having to live without mandocs would be sad...


--
Jesper Juhl


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/