Gruesse! * Amaya <[EMAIL PROTECTED]> schrieb am [26.12.06 07:23]: > tags 404505 moreinfo > thanks > > Hi Gerhard, > > Thanks for reporting this issue. > > Gerhard Brauer wrote: > > dpkg-reconfigure lirc-modules-source installs the builded kernel > > modules in an path far away from kernel-module directory. > > > > After build modules are installed in: /lib/modules/usr/src/linux/misc/ > > and not in /lib/modules/2.6.18-3-k7/misc > > > > So depmod is useless and modules never found by modprobe etc. > > > > Same result if building by hand with debian/rules binary-modules > > KSRC=/usr/src/linux The builded .deb Paket has in CONTENTS the same > > wrong path. > > > > Maybe in rules the kernel path isn't stripped? > > I will look at it, but can I forst suggest that you build the modules > using module-assintant?
With m-a all went fine. > Thanks for any aditional input you can provide! Here is the output from building by hand as mentioned by Readme and dpkg-reconfigure: debian/rules binary-modules KSRC=/usr/src/linux/ | tee /tmp/build ---------------------- sed -e "s!\$KVERS!`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$/\1/p' /usr/src/linux//include/linux/version.h`!g; s!\$KSRC!/usr/src/linux/!; s!\$KARCH!i386!; s!\$KEMAIL!!; s!\$KMAINT!!; s!\$KDREV!"Custom.1.00"!; s!\$DEBDATE!Di, 26 Dez 2006 11:28:06 +0100!" debian/control.in > debian/control dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/lirc-modules. /usr/bin/make install prefix=/usr/src/modules/lirc/debian/lirc-modules-`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$/\1/p' /usr/src/linux//include/linux/version.h` make[1]: Entering directory `/usr/src/modules/lirc' „modules/lirc_dev.o“ -> „/usr/src/modules/lirc/debian/lirc-modules-/lib/modules//usr/src/linux//misc/lirc_dev.o“ „modules/lirc_gpio.o“ -> „/usr/src/modules/lirc/debian/lirc-modules-/lib/modules//usr/src/linux//misc/lirc_gpio.o“ „modules/lirc_i2c.o“ -> „/usr/src/modules/lirc/debian/lirc-modules-/lib/modules//usr/src/linux//misc/lirc_i2c.o“ make[1]: Leaving directory `/usr/src/modules/lirc' dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installmodules dh_installcron dh_installman dh_installinfo dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol -- -v0.8.0-9+Custom.1.00 dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends} dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends} dh_md5sums dh_builddeb --destdir=/usr/src/linux//.. dpkg-deb: Baue Paket »lirc-modules-« in »/usr/src/linux//../lirc-modules-_0.8.0-9+Custom.1.00_i386.deb«. --------------------- The generated lirc-modules-_0.8.0-9+Custom.1.00_i386.deb differs much from the one build by m-a. The paths are wrong and modules could not be loaded cause wrong module format (other bug report) Maybe this way is a "relict" from building for 2.4 Kernel-Source? But then you must change the Readme's. I send you per PM the generated lirc-modules-_0.8.0-9+Custom.1.00_i386.deb to have a look at it. Thank you! Gruß Gerhard -- Don't drink and root