LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-26-2008, 03:46 PM   #1
btaylor1988
Member
 
Registered: Nov 2005
Location: England
Distribution: CentOS, Fedora
Posts: 79

Rep: Reputation: 15
lirc configure error


hi all,

im stuck on trying to make my lirc drivers.

ive downloaded the latest copy
http://lirc.sourceforge.net/software....3pre1.tar.bz2

configured it to use the correct tv card and then it compiles and then when i go to tell it to "make" the following errors come out.:

cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/root/lirc-0.8.1pre5'
Making all in drivers
make[2]: Entering directory `/root/lirc-0.8.1pre5/drivers'
Making all in lirc_dev
make[3]: Entering directory `/root/lirc-0.8.1pre5/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.24/build/ SUBDIRS=/root/lirc-0.8.1pre5/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.24'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /root/lirc-0.8.1pre5/drivers/lirc_dev/.tmp_versions ; rm -f /root/lirc-0.8.1pre5/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/lirc-0.8.1pre5/drivers/lirc_dev
gcc -m32 -Wp,-MD,/root/lirc-0.8.1pre5/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include inux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration truct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFI Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statemen -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/root/lirc-0.8.1pre5/drivers/lirc_dev/../.. -I/lib/modules/2.6.24/build//include/ -I/ eo/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /root/lirc-0 root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function ‚lirc_register_plu
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: implicit declaratio
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: ‚tn‚ undeclared (fi
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: (Each undeclared id
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: for each function i
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function ‚lirc_unregister_p
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:434: error: ‚tn‚ undeclared (fi
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:435: error: ‚tn2‚ undeclared (f
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function ‚lirc_dev_init‚:
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:883: error: void value not igno
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function ‚cleanup_module‚:
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:910: error: void value not igno
make[5]: *** [/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.o] Error 1
make[4]: *** [_module_/root/lirc-0.8.1pre5/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.24'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/root/lirc-0.8.1pre5/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/lirc-0.8.1pre5/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lirc-0.8.1pre5'
make: *** [all] Error 2

ive tried so many things i have a headache with it all now, so was wondering it anyone has an idear of were to go with this now.

note ive also compiled my own kernel and still no good.
 
Old 01-27-2008, 02:29 AM   #2
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
hmmm... are you running kernel 2.6.24 and are the sources/headers in /usr/src/linux-2.6.24 ? it looks like that's where the error is, it seems that it can't find the files it's looking for:

make[4]: Entering directory `/usr/src/linux-2.6.24'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
 
Old 01-27-2008, 05:53 AM   #3
btaylor1988
Member
 
Registered: Nov 2005
Location: England
Distribution: CentOS, Fedora
Posts: 79

Original Poster
Rep: Reputation: 15
yeah there all in /usr/src/linux-2.6.24.

and ive gone to it in the command line and both those files exist.

also ive tried multiple version of lirc. im running it all as root so i doubt it a permission problem, it just wont seem to look at the file that is there, somewhere along the line there must be a "/" or something missing or should be there in that Makefile. that all i can think of.


note:

running O/S - fedora 7
kernel - compiled - 2.6.24
 
Old 01-27-2008, 01:32 PM   #4
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
Just as a side-note, have you tried to find any packages of lirc for Fedora?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./configure fails with: libz... configure: error: not found. erpe Linux - Software 17 10-11-2006 05:56 PM
LIRC make error "`HID_MAX_USAGES' undeclared here® jimdaworm Linux - Software 1 09-26-2006 02:16 PM
LXer: How to configure and use LIRC LXer Syndicated Linux News 0 01-10-2006 09:16 AM
Howto configure remote control buttons when LIRC is integrated into the kernel? lagu2653 Linux - Hardware 0 12-02-2005 08:42 AM
lirc setup error on KnoppMyth R5A12 newmoon Linux - General 1 05-31-2005 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration