Package: zd1211-source
Version: 0.0.0.svnr67-2
Severity: wishlist

I have had difficulties in compiling the module's packages in the following 
situation :

Had previously build a custom kernel (mainly stock Debian kernel with processor 
type changed : via epia platform system), then had later removed the kernel 
source directory where it had been built.
I'm running this custom kernel, and didn't initially generate and install the 
linux-headers package corresponding to the kernel either.

When trying the documented module-assistant steps, I got the following errors :

  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zd1211'
make: *** [kdist_build] Error 2

I then tried to unpack again the linux kernel sources, install my custom 
/boot/config-.. and regenerate a linux-headers package :
make-kpkh --append_to_version=whateverIhadChoosedInitiallyForLinuxKernelPackage 
kernel_header
Installed that package... But no better with the linux-headers package 
corresponding to the running kernel :(

Then I noticed on Google that a similar error happened on other modules (nvidia 
?) generation and involved the following steps :
make prepare
make prepare scripts 

Now, if doing these two steps between make_kpkg clean and make_kpkg 
kernel_headers, I can get the necessary elements in the headers package to be 
able to generate succesfully the zd1211 modules packages (or in the 
linux-source directory left there ?).

In either case, this helps rebuilding the module's package without having to 
recompile the whole kernel (which is painfully long on the epia machine).

Maybe this should be documented in the README too ?

Maybe this is actually a bug with m-a, which should detect what's missing 
beforehand ?

Hope this helps.

Best regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-epia-200603101
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages zd1211-source depends on:
ii  bzip2                     1.0.3-2        high-quality block-sorting file co
ii  cdbs                      0.4.39-0.1     common build system for Debian pac
ii  debhelper                 5.0.35         helper programs for debian/rules
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  kernel-package            10.047         A utility for building Linux kerne
ii  module-assistant          0.10.4         tool to make module package creati
ii  quilt                     0.44-6         Tool to work with series of patche

Versions of packages zd1211-source recommends:
ii  zd1211-firmware               2.4.0.0-1  Firmware images for the zd1211 wir

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to