LinHES Forums
http://forum.linhes.org/

IR Blaser Help with compiling
http://forum.linhes.org/viewtopic.php?f=14&t=2928
Page 1 of 1

Author:  gregg [ Fri Nov 19, 2004 12:57 pm ]
Post subject:  IR Blaser Help with compiling

I am a newbie so any help is greatly appriciated. I am running the script from http://losdos.dyndns.org:8080/public/my ... _LIRC.html
and I am running into a problem. Listed below is the error it is in the last line. Can someone tell me how to fix it. Thanks in advance.

ake[3]: Entering directory `/home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.8-1.521'
mkdir -p /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/.tmp_versions
make -f scripts/Makefile.build obj=/home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev
gcc -Wp,-MD,/home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/.ledxmit_dev.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=72 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=ledxmit_dev -DKBUILD_MODNAME=ledxmit_dev -c -o /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.o /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c
/home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:54:27: linux/wrapper.h: No such file or directory

Author:  tjc [ Fri Nov 19, 2004 6:12 pm ]
Post subject: 

Make sure you have a link something like this:
Code:
root@black:/myth/mythtvburn # ls -ald /usr/src/linux*
lrwxrwxrwx    1 root     tom            25 May 31 21:15 /usr/src/linux -> kernel-headers-2.4.25-chw
drwxr-xr-x   15 573      573          4096 May 28 00:46 /usr/src/linux-2.4.25-chw
-rw-r--r--    1 root     tom      31398917 May 28 00:55 /usr/src/linux-2.4.25-chw.tar.bz2
-rw-------    1 root     tom        329432 Feb  3  2004 /usr/src/linux-wlan-ng-0.2.0.tar.gz
root@black:/myth/mythtvburn # locate wrapper.h
/usr/share/gtk-doc/html/libbonoboui/libbonoboui-bonobo-wrapper.html
/usr/src/kernel-headers-2.4.25-chw/include/linux/wrapper.h
/usr/src/kernel-headers-2.4.25-chw/include/net/irda/wrapper.h
/usr/src/linux-2.4.25-chw/drivers/sound/cs4281/cs4281_wrapper.h
/usr/src/linux-2.4.25-chw/include/linux/wrapper.h
to the directory where your kernel source is. Also make sure that warpper.h can be found via /usr/src/linux/include/linux/wrapper.h as shown.

Author:  gregg [ Mon Nov 22, 2004 10:28 am ]
Post subject: 

okay. I do not see wrapper.h in the path specified /usr/src/linux/include/linux/. here is what I have....

[root@mythtv linux]# ls -ald /usr/src/linux*
lrwxrwxrwx 1 root root 17 Nov 18 10:28 /usr/src/linux -> linux-2.6.8-1.521
drwxr-xr-x 19 root root 4096 Nov 19 11:41 /usr/src/linux-2.6.8-1.521
[root@mythtv linux]# locate wrapper.h
/lib/modules/2.6.8-1.521/build/include/net/irda/wrapper.h
/lib/modules/2.6.5-1.358/build/include/net/irda/wrapper.h
/usr/src/linux-2.6.8-1.521/include/net/irda/wrapper.h
/usr/share/doc/qt-devel-3.3.3/html/qaxserver-demo-wrapper.html
/usr/share/doc/qt-devel-3.3.3/html/qaxserver-example-wrapper.html
/usr/share/doc/qt-devel-3.3.3/examples/demo/i18n/wrapper.h
/usr/include/boost/mpl/aux_/integral_wrapper.hpp
/usr/include/boost/mpl/aux_/type_wrapper.hpp
/usr/include/boost/python/object/class_wrapper.hpp
/usr/include/boost/variant/recursive_wrapper.hpp
[root@mythtv linux]#


Could any of those be the right one?

Author:  tjc [ Mon Nov 22, 2004 12:41 pm ]
Post subject: 

It doesn't look like it. At a guess the module isn't compatible with the version of the kernel you're trying to use. If you don't need 2.6 for some other reason it might save you a lot of grief to use the standard 2.4 kernel. Otherwise you're into the game of either finding a 2.6 compatible version of the module or porting it yourself.

Author:  gregg [ Wed Nov 24, 2004 10:14 am ]
Post subject: 

Thanks. I used lirc-0.7.0pre8 and it worked.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/