Another LIRC problem. 6.3

General support questions
joehendew
Posts: 13
Joined: 2013/01/10 21:37:33
Location: USA -> KY

Another LIRC problem. 6.3

Post by joehendew » 2013/01/10 21:56:11

All,

Thanks for a great distro. I run RHEL at work. However
the problem I am having is LIRC (transmit) does not work on my 6.3 box.

Here's my hardware



-- HW = NEW MYTHTV
- MOBO: Intel DQ77MK
- CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (4 cores total)
- MEM: Crucial 2x4096
- HD1: WDC WD1002FAEX-00Z3A0, 1000GB
- HD2: WDC WD2002FAEX-007BA0, 2000GB
- VID: Intel Corporation 3rd Gen Core processor Graphics Controller
- SENS: Liebtech Serial 9-pin to IrFA, http://www.irblaster.info/
- CAP: Hauppauge-WinTV-PVR-150 MCE (no rm), $60
- REM: Universal Remote Master MX-700


I installed Centos 64bit, desktop group.

installed repos from

http://mirrors.kernel.org/centos/6.3/
Fedoraproject
RPM Forge
atrpms
ElRepo

Kernel: 2.6.32-279.19.1.el6.x86_64

Installed Lirc
yum install lirc lirc-devel lirc-doc lirc-libs lirc-remotes lirc-devices

Turns out the driver from atrpms is old 0.8.7ish so i removed that package
"lirc-kmdl-2.6.32-279.19.1.el6" and installed from source.

Install Lirc from lirc-0.9.0.tar.bz2.
./configure --prefix=/usr/local/lirc --with-driver=all; make; make install

Found out some old modules where installed so i removed them
rm -f /lib/modules/2.6.32-279.19.1.el6.x86_64/kernel/drivers/media/rc/lirc_dev.ko
rm -f /lib/modules/2.6.32-279.19.1.el6.x86_64.debug/kernel/drivers/media/rc/lirc_dev.ko
rm -f /lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/media/rc/lirc_dev.ko

Verified the modules being loaded where the new
modinfo lirc_serial
filename: /lib/modules/2.6.32-279.19.1.el6.x86_64/misc/lirc_serial.ko

Here's my contents of files

/etc/sysconfig/lirc
#####
LIRCD_OPTIONS=""
LIRC_DRIVER="serial"
LIRC_DEVICE="/dev/lirc0"
#####

/etc/modprobe.d/lirc_serial.conf
###
#alias char-major-61 lirc_serial

options lirc_serial irq=4 io=0x3f8 debug=1
###

/etc/sysconfig/modules/lirc_serial.modules
####
#!/bin/bash

/bin/setserial /dev/ttyS0 uart none
/sbin/modprobe lirc_serial
####

[root@mythtv joeh]# ls -l /dev/lirc0
crw-rw-rw-. 1 root root 248, 0 Jan 10 16:32 /dev/lirc0


irw works

#####
170f443e12000d00 00 KEY_CHANNELUP DC50X
170f443e11000e00 00 KEY_CHANNELDOWN DC50X
170f443e11000e00 00 KEY_CHANNELDOWN DC50X
170f443e12000d00 00 KEY_CHANNELUP DC50X
170f443e11000e00 00 KEY_CHANNELDOWN DC50X
#####



My problem..

how come it won't transmit to my Ir blaster on ttyS0?

irsend SEND_ONCE DC50X ENTER

irsend: command failed: SEND_ONCE DC50X ENTER
irsend: hardware does not support sending

egrep "lirc|serial" /var/log/messages
Jan 10 16:32:50 mythtv kernel: : lirc_dev: IR Remote Control driver registered, major 61
Jan 10 16:32:50 mythtv kernel: : lirc_serial: auto-detected active high receiver

dmesg | egrep "lirc|serial"
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 0000:00:16.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
tveeprom 17-0050: Hauppauge model 26552, rev F0A3, serial# 10216862
lirc_dev: IR Remote Control driver registered, major 61
lirc_serial: in init_timing_params, freq=38000 pulse=3368, space=3368
lirc_serial: auto-detected active high receiver <!!! This is what is the problem.
lirc_dev: lirc_register_driver: sample_rate: 0
Jan 10 16:32:50 mythtv kernel: : lirc_dev: lirc_register_driver: sample_rate: 0

lsmod | egrep "lirc|serial"
lirc_serial 11355 0
lirc_dev 13272 1 lirc_serial
usbserial 38460 1 ftdi_sio


This is the question. On my old box this worked (same ir blaster) now it work transmit.


Any help would be appreciated.

Joe.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Another LIRC problem. 6.3

Post by AlanBartlett » 2013/01/10 22:07:50

Hmm . . . No answer for you, just a suggestion.

As you already have access to the [i]ELRepo Project[/i]'s repositories configured for your system, try using the [url=http://elrepo.org/tiki/kernel-lt]kernel-lt[/url] --

[code]
[b]yum --disablerepo \* --enablerepo elrepo-kernel install kernel-lt[/b]
[/code]

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Another LIRC problem. 6.3

Post by TrevorH » 2013/01/10 22:25:10

Did you check dmesg to see if the receiver is recognised? Newer kernels (like the one in CentOS 6) have infrared remote modules built in and default to using them. On my system I have this in /etc/rc.local

[code]
echo lirc > /sys/class/rc/rc0/protocols
[/code]

joehendew
Posts: 13
Joined: 2013/01/10 21:37:33
Location: USA -> KY

Re: Another LIRC problem. 6.3

Post by joehendew » 2013/01/10 22:42:28

I loaded the yum --disablerepo \* --enablerepo elrepo-kernel install kernel-lt-devel. and booted
to the kernel. From there none of the modules (lirc_serial/lirc_dev) where available to install.

When i attempted to install the headers/firmware to build the lirc from scratch again using
kernel-lt i would need to remove my old kernel. I'll keep your suggestion for last.
I would need to go grab the latest kernel and compile it the old fashioned way. "make menuconfig"



Joe

joehendew
Posts: 13
Joined: 2013/01/10 21:37:33
Location: USA -> KY

Re: Another LIRC problem. 6.3

Post by joehendew » 2013/01/10 22:46:12

Trevor,

[code]
[root@mythtv class]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
[/code]

[code]
[root@mythtv class]# ls -l rc*
ls: cannot access rc*: No such file or directory
[/code]

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Another LIRC problem. 6.3

Post by AlanBartlett » 2013/01/11 01:26:13

[quote]
joehendew wrote:
I loaded the yum --disablerepo \* --enablerepo elrepo-kernel install kernel-lt-devel. and booted
to the kernel. From there none of the modules (lirc_serial/lirc_dev) where available to install.

. . .
I would need to go grab the latest kernel and compile it the old fashioned way. "make menuconfig"
[/quote]
[img]http://www.centos.toracat.org/ajb/tmp/oops2.gif[/img] No, you do not need to do that.

Now try --

[code]
[b]yum remove kernel-lt
yum --disablerepo \* --enablerepo elrepo-kernel install kernel-ml[/b]
[/code]

joehendew
Posts: 13
Joined: 2013/01/10 21:37:33
Location: USA -> KY

Re: Another LIRC problem. 6.3

Post by joehendew » 2013/01/11 02:39:31

Installed.. Rebooted..

#####
[root@mythtv lirc-0.9.0]# uname -a
Linux mythtv 3.7.1-2.el6.elrepo.x86_64 #1 SMP Wed Jan 2 13:30:26 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
#####

Tried to modprobe the serial driver
###
[root@mythtv lirc-0.9.0]# modprobe lirc_serial
FATAL: Module lirc_serial not found.
###

No problem.. Tried to recompile the drivers from lirc-0.9.0, again no problem.

Tried to make the lirc-0.9.0.

####

[root@mythtv lirc-0.9.0]# make
make all-recursive
make[1]: Entering directory `/home/joeh/lirc-0.9.0'
Making all in drivers
make[2]: Entering directory `/home/joeh/lirc-0.9.0/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/joeh/lirc-0.9.0/drivers/lirc_dev'
cp ./../lirc_dev/Module*.symvers .
cp: `./../lirc_dev/Module.symvers' and `./Module.symvers' are the same file
make[3]: [lirc_dev.o] Error 1 (ignored)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /lib/modules/3.7.1-2.el6.elrepo.x86_64/build/ SUBDIRS=/home/joeh/lirc-0.9.0/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_versions ; rm -f /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/joeh/lirc-0.9.0/drivers/lirc_dev
gcc -Wp,-MD,/home/joeh/lirc-0.9.0/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -I/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/lib/modules/3.7.1-2.el6.elrepo.x86_64/build//include/ -I/lib/modules/3.7.1-2.el6.elrepo.x86_64/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_lirc_dev.o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:27:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:321:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:323:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:325:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:27:
include/linux/mmzone.h:352: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
In file included from /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/include/uapi/linux/unistd.h:7,
from /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/seccomp_64.h:4,
from /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/seccomp.h:4,
from include/linux/seccomp.h:9,
from include/linux/sched.h:39,
from /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:29:
/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/unistd.h:25:29: error: asm/unistd_64.h: No such file or directory
/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/unistd.h:26:33: error: asm/unistd_64_x32.h: No such file or directory
In file included from /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/seccomp_64.h:5,
from /usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/seccomp.h:4,
from include/linux/seccomp.h:9,
from include/linux/sched.h:39,
from /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:29:
/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64/arch/x86/include/asm/ia32_unistd.h:9:32: error: asm/unistd_32_ia32.h: No such file or directory
In file included from include/linux/scatterlist.h:6,
from include/linux/kfifo.h:56,
from include/media/lirc_dev.h:21,
from /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:49:
include/linux/mm.h:607:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:651:62: warning: "NR_PAGEFLAGS" is not defined
/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c: In function ‘__check_debug’:
/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:927: warning: return from incompatible pointer type
make[5]: *** [/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.o] Error 1
make[4]: *** [_module_/home/joeh/lirc-0.9.0/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/kernels/3.7.1-2.el6.elrepo.x86_64'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/home/joeh/lirc-0.9.0/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/joeh/lirc-0.9.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joeh/lirc-0.9.0'
make: *** [all] Error 2
######

Ok. Can't find the headers. no problem.. Installed them

####
[root@mythtv lirc-0.9.0]# rpm -qa | grep "headers"
glibc-headers-2.12-1.80.el6_3.6.x86_64
kernel-ml-headers-3.7.1-2.el6.elrepo.x86_64
####

Looked for those files it needed.. Don't exist..

So. I got the latest kernel.. But it looks like the packages for the headers are missing..

Tried to install the headers/devel. Installed.

####
[root@mythtv asm]# yum --disablerepo \* --enablerepo elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-firmware kernel-ml-headers
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* elrepo-kernel: ftp.osuosl.org
Setting up Install Process
Package kernel-ml-3.7.1-2.el6.elrepo.x86_64 already installed and latest version
Package kernel-ml-devel-3.7.1-2.el6.elrepo.x86_64 already installed and latest version
Package kernel-ml-firmware-3.7.1-2.el6.elrepo.noarch already installed and latest version
Package kernel-ml-headers-3.7.1-2.el6.elrepo.x86_64 already installed and latest version
Nothing to do
####

Ok.. Not giving up yet.. Looking for that file

######
[root@mythtv asm]# yum --disablerepo \* --enablerepo elrepo-kernel whatprovides */unistd_32_ia32.h
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* elrepo-kernel: ftp.osuosl.org
kernel-ml-devel-3.7.0-1.el6.elrepo.x86_64 : Development package for building kernel modules to match the kernel.
Repo : elrepo-kernel
Matched from:
Filename : /usr/src/kernels/3.7.0-1.el6.elrepo.x86_64/arch/x86/include/generated/asm/unistd_32_ia32.h
######

Ok.. It's in an earlier version of kernel 3.7.0-1. not in 3.7.1-2. Looks like a package needs to be rebuilt..




We are going to find a bug somewhere i can feel it.


Joe

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Another LIRC problem. 6.3

Post by AlanBartlett » 2013/01/11 18:10:14

With the [b]kernel-ml[/b] package, you should only need to have the relevant [b]kernel-ml-devel[/b] package installed. The distribution [i]kernel-firmware[/i] package should not need to be replaced nor should the distribution [i]kernel-headers[/i]. (The only time one needs to install the [b]kernel-ml-headers[/b] is when one is rebuilding [i]glibc[/i] and, thus, the whole operating system!)

A bug . . . [img]http://www.centos.toracat.org/ajb/tmp/hmmm.gif[/img] [i][b]Hmm[/b][/i], I think it has now been squashed with the [url=http://lists.elrepo.org/pipermail/elrepo/2013-January/001601.html]latest release[/url] of the [b]kernel-ml[/b] package set. Let's check --

[code]
[ajb@Duo2 tmp]$ find /usr/src/kernels -type f -name unistd_32_ia32.h | sort
[b]/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include/generated/asm/unistd_32_ia32.h[/b]
/usr/src/kernels/3.8.0-0.rc3.el6.elrepo.x86_64/arch/x86/include/generated/asm/unistd_32_ia32.h
[ajb@Duo2 tmp]$
[/code]
Yes. Squished quite flat. ;-)

joehendew
Posts: 13
Joined: 2013/01/10 21:37:33
Location: USA -> KY

Re: Another LIRC problem. 6.3

Post by joehendew » 2013/01/11 20:56:14

Correct.. That was fast.. someone must have been tipped off....

Installed new kernel.

####
[root@mythtv joeh]# uname -r
3.7.1-3.el6.elrepo.x86_64
####

Tried to recompile lirc

####
[root@mythtv lirc-0.9.0]# make clean
Making clean in doc
make[1]: Entering directory `/home/joeh/lirc-0.9.0/doc'
Making clean in man
make[2]: Entering directory `/home/joeh/lirc-0.9.0/doc/man'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/joeh/lirc-0.9.0/doc/man'
Making clean in .
make[2]: Entering directory `/home/joeh/lirc-0.9.0/doc'
rm -rf .libs _libs
rm -f man2html
rm -f *.o
####

no problems.

Let's run configure

####
[root@mythtv lirc-0.9.0]# ./configure --with-transmitter --with-driver=all --prefix=/usr --enable-debug --with-x
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking vga.h usability... no
checking vga.h presence... no
checking for vga.h... no
checking for X... no
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /lib/modules/3.7.1-3.el6.elrepo.x86_64/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking ftdi.h usability... no
checking ftdi.h presence... no
checking for ftdi.h... no
checking iguanaIR.h usability... no
checking iguanaIR.h presence... no
checking for iguanaIR.h... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for linux/hiddev.h... yes
checking for HIDDEV_FLAG_UREF support... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking linux/i2c-dev.h usability... yes
checking linux/i2c-dev.h presence... yes
checking for linux/i2c-dev.h... yes
checking for daemon... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/lirc_atiusb/Makefile
config.status: creating drivers/lirc_bt829/Makefile
config.status: creating drivers/lirc_dev/Makefile
config.status: creating drivers/lirc_gpio/Makefile
config.status: creating drivers/lirc_i2c/Makefile
config.status: creating drivers/lirc_igorplugusb/Makefile
config.status: creating drivers/lirc_ttusbir/Makefile
config.status: creating drivers/lirc_imon/Makefile
config.status: creating drivers/lirc_parallel/Makefile
config.status: creating drivers/lirc_sasem/Makefile
config.status: creating drivers/lirc_serial/Makefile
config.status: creating drivers/lirc_sir/Makefile
config.status: creating drivers/lirc_wpc8769l/Makefile
config.status: creating daemons/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

All kernel modules will be built.

Now enter 'make' and 'make install' to compile and install the package.
####

No problems..

Lets make

####
[root@mythtv lirc-0.9.0]# make
make all-recursive
make[1]: Entering directory `/home/joeh/lirc-0.9.0'
Making all in drivers
make[2]: Entering directory `/home/joeh/lirc-0.9.0/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/joeh/lirc-0.9.0/drivers/lirc_dev'
cp ./../lirc_dev/Module*.symvers .
cp: `./../lirc_dev/Module.symvers' and `./Module.symvers' are the same file
make[3]: [lirc_dev.o] Error 1 (ignored)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /lib/modules/3.7.1-3.el6.elrepo.x86_64/build/ SUBDIRS=/home/joeh/lirc-0.9.0/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_versions ; rm -f /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/joeh/lirc-0.9.0/drivers/lirc_dev
gcc -Wp,-MD,/home/joeh/lirc-0.9.0/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//include/ -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/joeh/lirc-0.9.0/drivers/lirc_dev/.tmp_lirc_dev.o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c
/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c: In function ‘__check_debug’:
/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.c:927: warning: return from incompatible pointer type
if [ "-pg" = "-pg" ]; then if [ /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.o != "scripts/mod/empty.o" ]; then /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/scripts/recordmcount "/home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.o"; fi; fi;
(cat /dev/null; echo kernel//home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.ko;) > /home/joeh/lirc-0.9.0/drivers/lirc_dev/modules.order
make -f /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/Module.symvers -I /home/joeh/lirc-0.9.0/drivers/lirc_dev/Module.symvers -o /home/joeh/lirc-0.9.0/drivers/lirc_dev/Module.symvers -w -s
gcc -Wp,-MD,/home/joeh/lirc-0.9.0/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_dev/../.. -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//include/ -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//drivers/media/video/ -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.mod.o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.mod.c
ld -r -m elf_x86_64 -T /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/scripts/module-common.lds --build-id -o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.ko /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.o /home/joeh/lirc-0.9.0/drivers/lirc_dev/lirc_dev.mod.o
make[4]: Leaving directory `/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64'
mv Makefile.automake Makefile
make[3]: Leaving directory `/home/joeh/lirc-0.9.0/drivers/lirc_dev'
Making all in lirc_atiusb
make[3]: Entering directory `/home/joeh/lirc-0.9.0/drivers/lirc_atiusb'
cp ./../lirc_dev/Module*.symvers .
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /lib/modules/3.7.1-3.el6.elrepo.x86_64/build/ SUBDIRS=/home/joeh/lirc-0.9.0/drivers/lirc_atiusb modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/.tmp_versions ; rm -f /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/joeh/lirc-0.9.0/drivers/lirc_atiusb
gcc -Wp,-MD,/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/.lirc_atiusb.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/. -I/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/. -I/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/../.. -I/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/../.. -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//include/ -I/lib/modules/3.7.1-3.el6.elrepo.x86_64/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_atiusb)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_atiusb)" -c -o /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/.tmp_lirc_atiusb.o /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:51:28: error: linux/smp_lock.h: No such file or directory
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c: In function ‘__check_debug’:
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:1300: warning: return from incompatible pointer type
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c: In function ‘__check_unique’:
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:1306: warning: return from incompatible pointer type
make[5]: *** [/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.o] Error 1
make[4]: *** [_module_/home/joeh/lirc-0.9.0/drivers/lirc_atiusb] Error 2
make[4]: Leaving directory `/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64'
make[3]: *** [lirc_atiusb.o] Error 2
make[3]: Leaving directory `/home/joeh/lirc-0.9.0/drivers/lirc_atiusb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/joeh/lirc-0.9.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joeh/lirc-0.9.0'
make: *** [all] Error 2
#####

Errors.. on

####
/3.7.1-3.el6.elrepo.x86_64/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_atiusb)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_atiusb)" -c -o /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/.tmp_lirc_atiusb.o /home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:51:28: error: linux/smp_lock.h: No such file or directory
/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c: In function ‘__check_debug’:
###

Ok.. Missing a file "/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:51:28: error: linux/smp_lock.h: No such file or directory"

Let's see if we can find that file

####
[root@mythtv 3.7.1-3.el6.elrepo.x86_64]# find . -name "smp_lock.h"
[root@mythtv 3.7.1-3.el6.elrepo.x86_64]#
####

Nada file not found..

However it's found in other srcs..

####
[root@mythtv kernels]# find . -name "smp_lock.h"
./2.6.32-279.19.1.el6.x86_64/include/linux/smp_lock.h
./2.6.32-279.19.1.el6.x86_64.debug/include/linux/smp_lock.h
./linux-2.6.34.13/include/linux/smp_lock.h
#####



Ok.. file ""smp_lock.h"" not found anywhere. Again.. Looks like the latest
kernel "3.7.1-3.el6.elrepo.x86_64" does not have all the files needed to recompile lirc.

Another Error Found.

Let's configure lirc-0.9.0

###
[root@mythtv syscalls]# cd /usr/src/kernels/`uname -r`; make oldconfig && make prepare
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to make target `/usr/src/kernels/3.7.1-3.el6.elrepo.x86_64/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'. Stop.
make: *** [archheaders] Error 2
####

Ok.. file "arch/x86/syscalls/syscall_32.tbl" not found anywhere also.

So.. Files "smp_lock.h" and "arch/x86/syscalls/syscall_32.tbl" are not found.


Again.. Looks like the latest kernel "3.7.1-3.el6.elrepo.x86_64" does not have all the files needed to recompile lirc.



Can you add these to the package?

Joe

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Another LIRC problem. 6.3

Post by AlanBartlett » 2013/01/11 23:04:14

I [i]knew[/i] I had developed a headache for some reason . . . now I know. :-P

[quote]
Installed new kernel.
[/quote]
ACK.

[quote]
Let's run configure
[/quote]
ACK.

[quote]
Lets make
[/quote]
You've surely shown the output produced by a '[b]make -n[/b]'? :-?

[quote]
Ok.. Missing a file "/home/joeh/lirc-0.9.0/drivers/lirc_atiusb/lirc_atiusb.c:51:28: error: linux/smp_lock.h: No such file or directory"
[/quote]
ACK. Let's look in the [b]/usr/src/kernels/[/b] directory on my laptop system --

[code]
[ajb@Duo2 kernels]$ ll
total 16
drwxr-xr-x. 22 root root 4096 Jan 11 22:31 2.6.32-279.19.1.el6.x86_64
drwxr-xr-x. 22 root root 4096 Jan 11 22:33 3.0.57-1.el6.elrepo.x86_64
drwxr-xr-x. 22 root root 4096 Jan 11 14:59 3.7.1-3.el6.elrepo.x86_64
drwxr-xr-x. 22 root root 4096 Jan 11 15:02 3.8.0-0.rc3.el6.elrepo.x86_64
[ajb@Duo2 kernels]$ find -type f -name smp_lock.h
./2.6.32-279.19.1.el6.x86_64/include/linux/smp_lock.h
[ajb@Duo2 kernels]$
[/code]
Interesting. So let's check the [b]kernel-ml*src.rpm[/b] file --

[code]
[ajb@Build64R6 kernels]$ rpm -ivh kernel-ml-3.7.1-3.el6.elrepo.src.rpm
1:kernel-ml ########################################### [100%]
[ajb@Build64R6 kernels]$ cd ~/rpmbuild/SPECS
[ajb@Build64R6 SPECS]$ rpmbuild -bp kernel-ml-3.7.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UNQ4Ve
+ umask 022
+ cd /home/ajb/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/ajb/rpmbuild/BUILD
+ rm -rf kernel-ml-3.7.1
+ /bin/mkdir -p kernel-ml-3.7.1
+ cd kernel-ml-3.7.1
+ /bin/tar -xf -
+ /usr/bin/bzip2 -dc /home/ajb/rpmbuild/SOURCES/linux-3.7.1.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /bin/mv linux-3.7.1 linux-3.7.1-3.el6.elrepo.x86_64
+ pushd linux-3.7.1-3.el6.elrepo.x86_64
+ /bin/cp /home/ajb/rpmbuild/SOURCES/config-3.7.1-i686 .
+ /bin/cp /home/ajb/rpmbuild/SOURCES/config-3.7.1-i686-NONPAE .
+ /bin/cp /home/ajb/rpmbuild/SOURCES/config-3.7.1-x86_64 .
+ popd
+ exit 0
[ajb@Build64R6 SPECS]$ cd ../BUILD/ker*/lin*
[ajb@Build64R6 linux-3.7.1-3.el6.elrepo.x86_64]$ find -type f -name smp_lock.h
[ajb@Build64R6 linux-3.7.1-3.el6.elrepo.x86_64]$
[/code]
It looks like that file no longer exists . . . or putting it another way, the version of [b]lirc[/b] that you are attempting to compile is [i]too old[/i] for the more recent kernels. :-o

Post Reply