Hello. >>>>> On Mon, 06 May 2002 19:36:38 -0500 >>>>> "Manoj" == Manoj Srivastava <[EMAIL PROTECTED]> wrote: Manoj> Manoj> Have you read Manoj> /usr/share/doc/kernel-package/README.modules? It
Of course, I did. Manoj> states that: Manoj> ====================================================================== Manoj> make-kpkg arranges to cd into each modules top directory, Manoj> /usr/src/modules/<mod-name>/, and runs ./debian/rules <target>. make[1]: Entering directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' /usr/bin/make -w debian/rules binary-modules make[2]: Entering directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' make[2]: Nothing to be done for `debian/rules'. make[2]: *** No rule to make target `binary-modules'. Stop. make[2]: Leaving directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' Module /usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05 failed. I wonder, where from/why Entering directory `/usr/src/modules/avfs-redir-module-0.9.3-cvs2002.05.05' /usr/bin/make -w debian/rules binary-modules" is run. Manoj> ---------------------------------------------------------------------- Manoj> Manoj> The targets called are: Manoj> kdist_image : Just the binary image of the module is created Manoj> kdist : generate the modules packages and sign them Manoj> kdist_configure: configure the modules packages Manoj> kdist_clean : clean the modules source tree BTW these targets are not well documented. At least they are not covered in section for modules packagers and kdist target is absent in your sample rules file. Manoj> ---------------------------------------------------------------------- Manoj> Manoj> The error message says that there is no target called Manoj> kdist_image in the debian/rules file in the modules dir. 14:09 pts/2 sacha@pale:..src/modules/avfs-redir-module 2> cat debian/rules|grep kdist_image # the kdist_image target is called by make-kpkg modules_image. It is .PHONY: kdist_image kdist_image: I have it, since it is just slightly modified /usr/share/kernel-package/sample.module.rules Manoj> Manoj> Please look at previously packaged modules (alsa modules come Manoj> to mind) for examples. Ahh... these alsa and pcmcia seems to be much more complicated than needed :) -- Alexander Kotelnikov Saint-Petersburg, Russia -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

