setup.sh written by Karsten Scheibler, 1999-JUN-28 If you have problems or questions please consult the mailing list Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the right parameters... loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -g -Wall ) works... yes checking whether the C compiler (gcc -O2 -g -Wall ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for mknod... (cached) /bin/mknod checking for mkfifo... (cached) /usr/bin/mkfifo checking for depmod... (cached) /sbin/depmod checking for libusb-config... no checking whether ln -s works... (cached) yes checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking for a sed that does not truncate output... (cached) /bin/sed checking how to recognise dependent libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... (cached) no creating libtool checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gethostname... (cached) yes checking for gettimeofday... (cached) yes checking for mkfifo... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strtoul... (cached) yes checking for snprintf... (cached) yes checking for strsep... (cached) yes checking for vsyslog... (cached) yes checking for daemon... (cached) yes checking for forkpty... (cached) no checking for forkpty in -lutil... (cached) yes checking for vga.h... (cached) no checking for X... (cached) no checking for getopt_long... (cached) yes checking for mktemp... (cached) yes checking for Linux kernel sources... (cached) /lib/modules/2.6.17-1.2174_FC5/build/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... (cached) no checking for ir_strerror in -lirman... (cached) no checking for ir_strerror in -lirman_sw... (cached) no checking for portaudio.h... (cached) yes checking for Pa_Initialize in -lportaudio... (cached) yes checking for alsa/asoundlib.h... (cached) no checking for scsi/sg.h... (cached) yes checking for linux/input.h... (cached) yes checking for sys/soundcard.h... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating drivers/Makefile creating drivers/lirc_atiusb/Makefile creating drivers/lirc_bt829/Makefile creating drivers/lirc_cmdir/Makefile creating drivers/lirc_dev/Makefile creating drivers/lirc_gpio/Makefile creating drivers/lirc_i2c/Makefile creating drivers/lirc_igorplugusb/Makefile creating drivers/lirc_imon/Makefile creating drivers/lirc_it87/Makefile creating drivers/lirc_mceusb/Makefile creating drivers/lirc_mceusb2/Makefile creating drivers/lirc_parallel/Makefile creating drivers/lirc_sasem/Makefile creating drivers/lirc_serial/Makefile creating drivers/lirc_sir/Makefile creating drivers/lirc_streamzap/Makefile creating daemons/Makefile creating tools/Makefile creating doc/Makefile creating doc/man/Makefile creating config.h You will have to use the lirc_mceusb2 kernel module. Now enter 'make' and 'make install' to compile and install the package. [root@localhost lirc-0.8.0]# make make all-recursive make[1]: Entering directory `/home/robbins876/lirc-0.8.0' Making all in drivers make[2]: Entering directory `/home/robbins876/lirc-0.8.0/drivers' Making all in lirc_dev make[3]: Entering directory `/home/robbins876/lirc-0.8.0/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.17-1.2174_FC5/build/ SUBDIRS=/home/robbins876/lirc-0.8.0/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686' mkdir -p /home/robbins876/lirc-0.8.0/drivers/lirc_dev/.tmp_versions rm -f /home/robbins876/lirc-0.8.0/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/home/robbins876/lirc-0.8.0/drivers/lirc_dev gcc -m32 -Wp,-MD,/home/robbins876/lirc-0.8.0/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -fomit-frame-pointer -fasynchronous-unwind-tables -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/robbins876/lirc-0.8.0/drivers/lirc_dev/../.. -I/lib/modules/2.6.17-1.2174_FC5/build//include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/robbins876/lirc-0.8.0/drivers/lirc_dev/.tmp_lirc_dev.o /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_thread’: /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:207: warning: ‘interruptible_sleep_on’ is deprecated (declared at include/linux/wait.h:371) Building modules, stage 2. make -rR -f /usr/src/kernels/2.6.17-1.2174_FC5-i686/scripts/Makefile.modpost scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.17-1.2174_FC5-i686/Module.symvers -I /home/robbins876/lirc-0.8.0/drivers/lirc_dev/Modules.symvers -o /home/robbins876/lirc-0.8.0/drivers/lirc_dev/Modules.symvers /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o ld -m elf_i386 -m elf_i386 -r -o /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.ko /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o /home/robbins876/lirc-0.8.0/drivers/lirc_dev/lirc_dev.mod.o make[4]: Leaving directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686' mv Makefile.automake Makefile make[3]: Leaving directory `/home/robbins876/lirc-0.8.0/drivers/lirc_dev' Making all in lirc_mceusb2 make[3]: Entering directory `/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.17-1.2174_FC5/build/ SUBDIRS=/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2 modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686' mkdir -p /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_versions rm -f /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_versions/* make -f scripts/Makefile.build obj=/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2 gcc -m32 -Wp,-MD,/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -fomit-frame-pointer -fasynchronous-unwind-tables -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.17-1.2174_FC5/build//include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c:588: error: unknown field ‘owner’ specified in initializer /home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.c:588: warning: initialization from incompatible pointer type make[5]: *** [/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1 make[4]: *** [_module_/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2] Error 2 make[4]: Leaving directory `/usr/src/kernels/2.6.17-1.2174_FC5-i686' make[3]: *** [lirc_mceusb2.o] Error 2 make[3]: Leaving directory `/home/robbins876/lirc-0.8.0/drivers/lirc_mceusb2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/robbins876/lirc-0.8.0/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/robbins876/lirc-0.8.0' make: *** [all] Error 2