|
totallymaxed
|
 |
« Reply #30 on: April 02, 2009, 09:59:49 am » |
|
Ok, so I have followed your instructions and I have modified the .c file to include the line for my remote. I am looking at the INSTALL file for instructions on how to build and install the modified code. it runs the configure routine and brings me to an ASCII style screen and asks me to select a driver. I scroll down to USB and then inside there I don't have an option for my remote or the mceusb2 driver. What selection should I choose?
There is an option for selecting an MCE Remote/Receiver in the configure utility after you select USB. Use the down-arrow key until you see it and then select it. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #31 on: April 02, 2009, 10:33:44 am » |
|
correct, the choices are:
a - q
the last 2 have:
p Windows Media Center Remotes (old version, MicroSoft USB ID) q Windows Media Center Remotes (new version, Philips et al.)
I was thinking there should have been a selection based on my vendor that I added to the .c file... And because there isn't maybe I didn't compile it correctly?
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #32 on: April 02, 2009, 10:45:56 am » |
|
correct, the choices are:
a - q
the last 2 have:
p Windows Media Center Remotes (old version, MicroSoft USB ID) q Windows Media Center Remotes (new version, Philips et al.)
I was thinking there should have been a selection based on my vendor that I added to the .c file... And because there isn't maybe I didn't compile it correctly?
Dont forget that your vendor is manufacturing and MCE compatible remote that is designed to work as a replacement/alternative to the MS branded equivalent. You should choose the 'new version, Philips' option. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #33 on: April 03, 2009, 02:49:20 am » |
|
First I just want to say thanks for all your help. So I chose the option you specified and it began the build. However at the end it gave a few errors when trying to "touch" files. Now, something I have had problems with is knowing what the real root password is. I chose a password during install for the LinuxMCE user but I was never prompted for a root password. Is it that I wasn't able to compile as root? I did put the "sudo" command in front of the setup command that was outlined in the INSTALL document. Here is the output I received after choosing the options in the ASCII window. setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list <http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool 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 daemon... 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/2.6.22-14-generic/build/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... 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 sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... 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_cmdir/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_it87/Makefile config.status: creating drivers/lirc_mceusb/Makefile config.status: creating drivers/lirc_mceusb2/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_streamzap/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
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers' Making install in lirc_dev make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' cd ../.. && \ /bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile /usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. touch: cannot touch `./drivers/lirc_gpio/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_it87/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_mceusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_igorplugusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_sasem/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_parallel/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_bt829/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_imon/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_ttusbir/Makefile.in': Permission denied touch: cannot touch `./drivers/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_atiusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_streamzap/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_serial/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_i2c/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_dev/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_sir/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_mceusb2/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_cmdir/Makefile.in': Permission denied touch: cannot touch `./tools/Makefile.in': Permission denied touch: cannot touch `./Makefile.in': Permission denied touch: cannot touch `./doc/Makefile.in': Permission denied touch: cannot touch `./doc/man/Makefile.in': Permission denied touch: cannot touch `./daemons/Makefile.in': Permission denied mv Makefile Makefile.automake mv: cannot move `Makefile' to `Makefile.automake': Permission denied make[2]: *** [lirc_dev.o] Error 1 make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers' make: *** [install-recursive] Error 1
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #34 on: April 03, 2009, 10:53:25 am » |
|
First I just want to say thanks for all your help. So I chose the option you specified and it began the build. However at the end it gave a few errors when trying to "touch" files. Now, something I have had problems with is knowing what the real root password is. I chose a password during install for the LinuxMCE user but I was never prompted for a root password. Is it that I wasn't able to compile as root? I did put the "sudo" command in front of the setup command that was outlined in the INSTALL document. Here is the output I received after choosing the options in the ASCII window. setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list <http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool 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 daemon... 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/2.6.22-14-generic/build/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... 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 sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... 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_cmdir/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_it87/Makefile config.status: creating drivers/lirc_mceusb/Makefile config.status: creating drivers/lirc_mceusb2/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_streamzap/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
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers' Making install in lirc_dev make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' cd ../.. && \ /bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile /usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. touch: cannot touch `./drivers/lirc_gpio/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_it87/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_mceusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_igorplugusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_sasem/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_parallel/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_bt829/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_imon/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_ttusbir/Makefile.in': Permission denied touch: cannot touch `./drivers/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_atiusb/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_streamzap/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_serial/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_i2c/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_dev/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_sir/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_mceusb2/Makefile.in': Permission denied touch: cannot touch `./drivers/lirc_cmdir/Makefile.in': Permission denied touch: cannot touch `./tools/Makefile.in': Permission denied touch: cannot touch `./Makefile.in': Permission denied touch: cannot touch `./doc/Makefile.in': Permission denied touch: cannot touch `./doc/man/Makefile.in': Permission denied touch: cannot touch `./daemons/Makefile.in': Permission denied mv Makefile Makefile.automake mv: cannot move `Makefile' to `Makefile.automake': Permission denied make[2]: *** [lirc_dev.o] Error 1 make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers' make: *** [install-recursive] Error 1 Before starting the whole procedure I would suggest you sudo yourself; sudo su - <return>
After typing the above line and hitting 'return' enter the password you created when installing your system from the LinuxMCE DVD. Now you should be able to do 'make install' etc. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #35 on: April 03, 2009, 11:33:10 am » |
|
Thanks.. I got a bit different output this time. But still ended in error... here is my output: Thoughts? setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list <http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool 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 daemon... 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/2.6.22-14-generic/build/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... 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 sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... 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_cmdir/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_it87/Makefile config.status: creating drivers/lirc_mceusb/Makefile config.status: creating drivers/lirc_mceusb2/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_streamzap/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
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers' Making install in lirc_dev make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' cd ../.. && \ /bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile /usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd ../.. && /bin/sh ./config.status drivers/lirc_dev/Makefile depfiles config.status: creating drivers/lirc_dev/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' 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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.c Building modules, stage 2. make -f /usr/src/linux-headers-2.6.22-14-generic/scripts/Makefile.modpost scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.22-14-generic/Module.symvers -I /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -w gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.c ld -m elf_i386 -m elf_i386 -r -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.ko /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' mv Makefile.automake Makefile make[3]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' test -e /dev/lirc || (/bin/sh ../../mkinstalldirs /dev && /bin/mknod /dev/lirc c 61 0) /bin/sh ../../mkinstalldirs /lib/modules/2.6.22-14-generic/misc /usr/bin/install -c -m 644 lirc_dev.ko /lib/modules/2.6.22-14-generic/misc/lirc_dev.ko /sbin/depmod -a make[3]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' Making install in lirc_mceusb2 make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' cd ../.. && /bin/sh ./config.status drivers/lirc_mceusb2/Makefile depfiles config.status: creating drivers/lirc_mceusb2/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 modules \ KBUILD_VERBOSE=1 make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' 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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function) make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1 make[3]: *** [_module_/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make[2]: *** [lirc_mceusb2.o] Error 2 make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers' make: *** [install-recursive] Error 1
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #36 on: April 03, 2009, 11:51:32 am » |
|
Thanks.. I got a bit different output this time. But still ended in error... here is my output: Thoughts? setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list <http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool 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 daemon... 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/2.6.22-14-generic/build/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... 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 sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... 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_cmdir/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_it87/Makefile config.status: creating drivers/lirc_mceusb/Makefile config.status: creating drivers/lirc_mceusb2/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_streamzap/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
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers' Making install in lirc_dev make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' cd ../.. && \ /bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile /usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd ../.. && /bin/sh ./config.status drivers/lirc_dev/Makefile depfiles config.status: creating drivers/lirc_dev/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' 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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.c Building modules, stage 2. make -f /usr/src/linux-headers-2.6.22-14-generic/scripts/Makefile.modpost scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.22-14-generic/Module.symvers -I /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -w gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.c ld -m elf_i386 -m elf_i386 -r -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.ko /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' mv Makefile.automake Makefile make[3]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' test -e /dev/lirc || (/bin/sh ../../mkinstalldirs /dev && /bin/mknod /dev/lirc c 61 0) /bin/sh ../../mkinstalldirs /lib/modules/2.6.22-14-generic/misc /usr/bin/install -c -m 644 lirc_dev.ko /lib/modules/2.6.22-14-generic/misc/lirc_dev.ko /sbin/depmod -a make[3]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev' Making install in lirc_mceusb2 make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' cd ../.. && /bin/sh ./config.status drivers/lirc_mceusb2/Makefile depfiles config.status: creating drivers/lirc_mceusb2/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 modules \ KBUILD_VERBOSE=1 make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' 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 /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function) make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1 make[3]: *** [_module_/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make[2]: *** [lirc_mceusb2.o] Error 2 make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers' make: *** [install-recursive] Error 1 Looks like you have an error in the changes you made to the lirc_mceusb2.c file; mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/* make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function) make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1
See the error; error: ‘VENDOR_PINNACLE’ undeclared here (not in a function)
Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #37 on: April 03, 2009, 09:06:08 pm » |
|
Shoot! I didn't see that... I'll have to check it out. Thanks for pointing it out for me.
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #38 on: April 04, 2009, 02:18:32 am » |
|
Ok, this time it built correctly. How can I check that it is installed correctly? it looked like it was installing... Is there a test I can run to determine this?
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #39 on: April 04, 2009, 07:47:18 am » |
|
Ok, this time it built correctly. How can I check that it is installed correctly? it looked like it was installing... Is there a test I can run to determine this?
Well...the best test is to see if your Tranceiver now works! It should do. Reboot and give it a try. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #40 on: April 04, 2009, 06:17:28 pm » |
|
Did that, and it didn't work. It detects it. But still comes up with the message that a device did not start correctly. I followed all the original instructions as well. Any thoughts?
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #41 on: April 04, 2009, 07:04:52 pm » |
|
Did that, and it didn't work. It detects it. But still comes up with the message that a device did not start correctly. I followed all the original instructions as well. Any thoughts?
Nope...apart from wait until we have this in a future release. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #42 on: April 04, 2009, 07:41:23 pm » |
|
Ok, thanks. I really appreciate all the help you have provided me. I think I will look through all the compatible Remotes and purchase one.
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #43 on: April 04, 2009, 08:45:44 pm » |
|
Ok, thanks. I really appreciate all the help you have provided me. I think I will look through all the compatible Remotes and purchase one.
Either get an USBUIRT Transceiver or a MS Microsoft Tranceiver...your exisitng remote will definitely work with any of these. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
cleardata
|
 |
« Reply #44 on: April 04, 2009, 11:09:58 pm » |
|
Good news! It is FIXED!!! Suggestion for the Wiki... Edit the lirc_mceusb2.c file again... Add the following to the #Define section #define VENDOR_PINNACLE 0x2304 go down through the file and look for case 0x8F: Add the following above it case 0x90: rebuild and it should work.
|
|
|
|
|
Logged
|
|
|
|
|