[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems compiling modules



On Thu, Sep 13, 2001 at 03:26:06PM +0200, Julio Merino wrote:
> Hi all,
> 
> following your recommendations, I've apt-get the following modules from woody:
> 	i2c-source lm-sensors-source lirc-modules-source
> 
> My kernel is 2.4.9 that I got trought a tar.gz and unpacked in
> /usr/src/linux-2.4.9 with a symlink to linux.
> 
> I've also unpacked the above modules, and are placed in /usr/src/modules.
> I've setup the lirc to use gpio.
> 
> Well, the kernel has compiled perfectly with make-kpkg kernel_image, and I've
> the deb in /usr/src now. But I can't compile the modules... I issue
> make-kpkg modules in /usr/src/linux, but none of the above compiles.
> 
> The error that i2c gives is:
> 
> sh: cd: debian/tmp: No existe el fichero o el directorio
> sh: DEBIAN/md5sums: No existe el fichero o el directorio
> chmod: getting attributes of `debian/tmp/DEBIAN/md5sums': No existe el fichero o el directorio
> dh_md5sums: command returned error code
> make[1]: *** [binary-modules] Error 1
> make[1]: Leaving directory `/usr/src/modules/i2c'
> Module /usr/src/modules/i2c failed.
> 
> The error that lirc gives is:
> 
> make[1]: Entering directory `/usr/src/modules/lirc'
> make[1]: *** No hay ninguna regla para construir el objetivo `kdist'.  Alto.
> make[1]: Leaving directory `/usr/src/modules/lirc'
> Module /usr/src/modules/lirc failed.
> 
> And the error that lm-sensors gives is:
> 
> dh_md5sums
> sh: cd: debian/lm-sensors-2.4.9: No existe el fichero o el directorio
> sh: DEBIAN/md5sums: No existe el fichero o el directorio
> chmod: getting attributes of `debian/lm-sensors-2.4.9/DEBIAN/md5sums': No existe el fichero o el directorio
> dh_md5sums: command returned error code
> make[1]: *** [binary-modules] Error 1
> make[1]: Leaving directory `/usr/src/modules/lm-sensors'
> Module /usr/src/modules/lm-sensors failed.
> 
> What I'm doing wrong???
> 
> Thanks.
> 
hi, I can't tell you about that error-message, but for me it works
allright having the new kernel running when compiling modules and
I recommend to make-kpkg binary-arch and install the kernel-headers too.

regards 

-- marc



Reply to: