Hi,
I am trying to get my IRBlaster working again using the myth-ledxmit script at
http://losdos.dyndns.org:8080/public/my ... _LIRC.html with R5E50, but when I run the myth-ledxmit.sh script it protests that it requires the Kernel Source files.
SO, following the instructions at
http://mysettopbox.tv/phpBB2/viewtopic.php?t=13281 I downloaded the source, created a symbolic link from linux to the source directory, and still the same message.
I then edited the myth-ledxmit.sh script, so the the ./configure line now has the --with-kerneldir=/usr/src/linux and also directly to the source directory.
It has stopped asking for the kernel source, but still fails to compile with the error:
Code:
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:99: warning: ISO C90 forbids mixed declarations and code
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:109: error: invalid storage class for function 'init_irctl'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'init_irctl':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:110: error: too many arguments to function 'memset'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:111: warning: implicit declaration of function 'sema_init'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'try_to_freeze':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:125: error: invalid storage class for function 'cleanup'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:151: error: invalid storage class for function 'add_to_buf'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'add_to_buf':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:155: error: 'EOVERFLOW' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:159: error: 'ENODATA' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:174: error: 'ENODEV' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'try_to_freeze':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:187: error: invalid storage class for function 'ledxmit_thread'
--<snip>---
include/linux/quota.h:204: warning: unused variable 'dqstats'
include/linux/quota.h:47: warning: unused variable 'dq_data_lock'
include/linux/dcache.h:355: warning: unused variable 'sysctl_vfs_cache_pressure'
include/linux/dcache.h:46: warning: unused variable 'dentry_stat'
include/linux/fs.h:50: warning: unused variable 'lease_break_time'
include/linux/fs.h:50: warning: unused variable 'leases_enable'
include/linux/fs.h:48: warning: unused variable 'inodes_stat'
include/linux/fs.h:40: warning: unused variable 'files_stat'
include/linux/module.h:79: warning: unused variable 'module_subsys'
include/linux/elf.h:364: warning: unused variable '_DYNAMIC'
include/linux/sched.h:1550: warning: unused variable 'attr_sched_smt_power_savings'
include/linux/sched.h:1550: warning: unused variable 'attr_sched_mc_power_savings'
include/linux/sched.h:1549: warning: unused variable 'sched_smt_power_savings'
include/linux/sched.h:1549: warning: unused variable 'sched_mc_power_savings'
include/linux/pm.h:130: warning: unused variable 'pm_ops'
include/linux/pm.h:103: warning: unused variable 'pm_power_off'
include/linux/pm.h:102: warning: unused variable 'pm_idle'
include/linux/kobject.h:194: warning: unused variable 'hypervisor_subsys'
include/linux/kobject.h:192: warning: unused variable 'kernel_subsys'
include/linux/kobject.h:34: warning: unused variable 'uevent_helper'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:913: warning: no return statement in function returning non-void
make[5]: *** [/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.o] Error 1
make[4]: *** [_module_/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-source-2.6.18-chw-13'
make[3]: *** [ledxmit_dev.o] Error 2
make[3]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP'
make: *** [all] Error 2
Does anyone have any suggestions on what could be wrong?
Thanks
Victor