[mythtv-users] clueless about building modules (lirc on Debian)

Reiter, John john at itookmyprozac.net
Sat Oct 4 18:22:01 EDT 2003


Did you download lirc-devel?


--John
----- Original Message -----
From: "Lorrin Nelson" <lhn-public at the-fam.net>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Sent: Saturday, October 04, 2003 4:33 PM
Subject: [mythtv-users] clueless about building modules (lirc on Debian)


> Hi - I see there's lots of lirc discussion in the archives, but I don't
> think this has been covered yet. I'm trying to get lirc going under
> Debian Woody (2.4.20-3-k7 kernel). As far as I can tell the way is to
> build a kernel module by hand so that's what I'm trying to do. I've got
> a Hauppauge WinTV-Radio (401) so I'm trying to build the ic2 lirc
> module. I think I might be on totally the wrong path or missing some
> crucial first step. :-(
>
> I did apt-get install kernel-source-2.4.20 and now have the source for
> my kernel in /usr/src/kernel-source-2.4.20. I symlinked /usr/src/linux
> to point there as well.
>
> Then I did apt-get install lirc-modules-source, and the screens there
> offered to build the modules. But no luck:
> ##### Couldn't build LIRC kernel modules #####
> make -e -C drivers SUBDIRS="lirc_i2c lirc_dev"
> make[1]: Entering directory `/usr/src/modules/lirc/drivers'
> Making all in lirc_i2c
> make[2]: Entering directory `/usr/src/modules/lirc/drivers/lirc_i2c'
> DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_i2c.o
modules)
> /usr/src/kernel-source-2.4.20/scripts/pathdown.sh: TOPDIR: parameter
> null or not set
> make[3]: Entering directory `/usr/src/kernel-source-2.4.20'
> make[3]: *** No rule to make target `lirc_i2c.o', needed by `modules'.
> Stop.
> make[3]: Leaving directory `/usr/src/kernel-source-2.4.20'
> make[2]: *** [lirc_i2c.o] Error 2
> make[2]: Leaving directory `/usr/src/modules/lirc/drivers/lirc_i2c'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/modules/lirc/drivers'
> make: *** [i2c] Error 2
>
>
> I tried setting TOPDIR (export TOPDIR=/usr/src/modules/lirc) but that
> didn't seem to make much difference:
>
> spiff:/usr/src/modules/lirc# make
> make -e -C drivers SUBDIRS="lirc_i2c lirc_dev"
> make[1]: Entering directory `/usr/src/modules/lirc/drivers'
> Making all in lirc_i2c
> make[2]: Entering directory `/usr/src/modules/lirc/drivers/lirc_i2c'
> DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_i2c.o
modules)
> make[3]: Entering directory `/usr/src/kernel-source-2.4.20'
> make[3]: *** No rule to make target `lirc_i2c.o', needed by `modules'.
> Stop.
> make[3]: Leaving directory `/usr/src/kernel-source-2.4.20'
> make[2]: *** [lirc_i2c.o] Error 2
> make[2]: Leaving directory `/usr/src/modules/lirc/drivers/lirc_i2c'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/modules/lirc/drivers'
> make: *** [i2c] Error 2
>
> Any help is appreciated!
>
> -Lorrin
>
>
>


----------------------------------------------------------------------------
----


_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list