Skip to content

Instantly share code, notes, and snippets.

@juriad
Created September 24, 2012 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juriad/3775921 to your computer and use it in GitHub Desktop.
Save juriad/3775921 to your computer and use it in GitHub Desktop.
lirc compilation
root@backend:~# ./configure.sh --with-kerneldir=/usr/src/linux-source-2.6.32
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 whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
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... yes
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/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/dist-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... disabled
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /usr/src/linux-source-2.6.32/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
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... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking for ALSA SB RC hwdep support... yes
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: executing depfiles commands
config.status: executing libtool commands
You will have to use the lirc_serial kernel module.
Now enter 'make' and 'make install' to compile and install the package.
root@backend:~# make
make all-recursive
make[1]: Entering directory `/root/lirc'
Making all in drivers
make[2]: Entering directory `/root/lirc/drivers'
Making all in lirc_dev
make[3]: Entering directory `/root/lirc/drivers/lirc_dev'
cp ./../lirc_dev/Module*.symvers .
cp: „./../lirc_dev/Module.symvers“ a „./Module.symvers“ jsou jeden a tentýž soubor
#### translation: is the same file
make[3]: [lirc_dev.o] Error 1 (ignored)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /usr/src/linux-source-2.6.32/ SUBDIRS=/root/lirc/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-source-2.6.32'
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/drivers/lirc_dev/.tmp_versions ; rm -f /root/lirc/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/lirc/drivers/lirc_dev
gcc -Wp,-MD,/root/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -Iinclude -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoconf.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 -Os -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 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/root/lirc/drivers/lirc_dev/. -I/root/lirc/drivers/lirc_dev/. -I/root/lirc/drivers/lirc_dev/../.. -I/root/lirc/drivers/lirc_dev/../.. -I/usr/src/linux-source-2.6.32//include/ -I/usr/src/linux-source-2.6.32//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 /root/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /root/lirc/drivers/lirc_dev/lirc_dev.c
(cat /dev/null; echo kernel//root/lirc/drivers/lirc_dev/lirc_dev.ko;) > /root/lirc/drivers/lirc_dev/modules.order
make -f /usr/src/linux-source-2.6.32/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-source-2.6.32/Module.symvers -I /root/lirc/drivers/lirc_dev/Module.symvers -o /root/lirc/drivers/lirc_dev/Module.symvers -S -w -s
gcc -Wp,-MD,/root/lirc/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -Iinclude -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoconf.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 -Os -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 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/root/lirc/drivers/lirc_dev/. -I/root/lirc/drivers/lirc_dev/. -I/root/lirc/drivers/lirc_dev/../.. -I/root/lirc/drivers/lirc_dev/../.. -I/usr/src/linux-source-2.6.32//include/ -I/usr/src/linux-source-2.6.32//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 /root/lirc/drivers/lirc_dev/lirc_dev.mod.o /root/lirc/drivers/lirc_dev/lirc_dev.mod.c
ld -r -m elf_x86_64 -T /usr/src/linux-source-2.6.32/scripts/module-common.lds --build-id -o /root/lirc/drivers/lirc_dev/lirc_dev.ko /root/lirc/drivers/lirc_dev/lirc_dev.o /root/lirc/drivers/lirc_dev/lirc_dev.mod.o
make[4]: Leaving directory `/usr/src/linux-source-2.6.32'
mv Makefile.automake Makefile
make[3]: Leaving directory `/root/lirc/drivers/lirc_dev'
Making all in lirc_serial
make[3]: Entering directory `/root/lirc/drivers/lirc_serial'
cp ./../lirc_dev/Module*.symvers .
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /usr/src/linux-source-2.6.32/ SUBDIRS=/root/lirc/drivers/lirc_serial modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-source-2.6.32'
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/drivers/lirc_serial/.tmp_versions ; rm -f /root/lirc/drivers/lirc_serial/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/lirc/drivers/lirc_serial
gcc -Wp,-MD,/root/lirc/drivers/lirc_serial/.lirc_serial.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -Iinclude -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoconf.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 -Os -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 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/root/lirc/drivers/lirc_serial/. -I/root/lirc/drivers/lirc_serial/. -I/root/lirc/drivers/lirc_serial/../.. -I/root/lirc/drivers/lirc_serial/../.. -I/usr/src/linux-source-2.6.32//include/ -I/usr/src/linux-source-2.6.32//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_serial)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_serial)" -c -o /root/lirc/drivers/lirc_serial/.tmp_lirc_serial.o /root/lirc/drivers/lirc_serial/lirc_serial.c
(cat /dev/null; echo kernel//root/lirc/drivers/lirc_serial/lirc_serial.ko;) > /root/lirc/drivers/lirc_serial/modules.order
make -f /usr/src/linux-source-2.6.32/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-source-2.6.32/Module.symvers -I /root/lirc/drivers/lirc_serial/Module.symvers -o /root/lirc/drivers/lirc_serial/Module.symvers -S -w -s
gcc -Wp,-MD,/root/lirc/drivers/lirc_serial/.lirc_serial.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -Iinclude -I/usr/src/linux-source-2.6.32/arch/x86/include -include include/linux/autoconf.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 -Os -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 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/root/lirc/drivers/lirc_serial/. -I/root/lirc/drivers/lirc_serial/. -I/root/lirc/drivers/lirc_serial/../.. -I/root/lirc/drivers/lirc_serial/../.. -I/usr/src/linux-source-2.6.32//include/ -I/usr/src/linux-source-2.6.32//drivers/media/video/ -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_serial.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_serial)" -DMODULE -c -o /root/lirc/drivers/lirc_serial/lirc_serial.mod.o /root/lirc/drivers/lirc_serial/lirc_serial.mod.c
ld -r -m elf_x86_64 -T /usr/src/linux-source-2.6.32/scripts/module-common.lds --build-id -o /root/lirc/drivers/lirc_serial/lirc_serial.ko /root/lirc/drivers/lirc_serial/lirc_serial.o /root/lirc/drivers/lirc_serial/lirc_serial.mod.o
make[4]: Leaving directory `/usr/src/linux-source-2.6.32'
mv Makefile.automake Makefile
make[3]: Leaving directory `/root/lirc/drivers/lirc_serial'
make[3]: Entering directory `/root/lirc/drivers'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/lirc/drivers'
make[2]: Leaving directory `/root/lirc/drivers'
Making all in daemons
make[2]: Entering directory `/root/lirc/daemons'
make all-am
make[3]: Entering directory `/root/lirc/daemons'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT hw-types.o -MD -MP -MF .deps/hw-types.Tpo -c -o hw-types.o hw-types.c
mv -f .deps/hw-types.Tpo .deps/hw-types.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT ir_remote.o -MD -MP -MF .deps/ir_remote.Tpo -c -o ir_remote.o ir_remote.c
mv -f .deps/ir_remote.Tpo .deps/ir_remote.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT release.o -MD -MP -MF .deps/release.Tpo -c -o release.o release.c
mv -f .deps/release.Tpo .deps/release.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT hw_default.o -MD -MP -MF .deps/hw_default.Tpo -c -o hw_default.o hw_default.c
mv -f .deps/hw_default.Tpo .deps/hw_default.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT receive.o -MD -MP -MF .deps/receive.Tpo -c -o receive.o receive.c
mv -f .deps/receive.Tpo .deps/receive.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT transmit.o -MD -MP -MF .deps/transmit.Tpo -c -o transmit.o transmit.c
mv -f .deps/transmit.Tpo .deps/transmit.Po
rm -f libhw_module.a
ar cru libhw_module.a hw-types.o ir_remote.o release.o hw_default.o receive.o transmit.o
ranlib libhw_module.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT irrecord.o -MD -MP -MF .deps/irrecord.Tpo -c -o irrecord.o irrecord.c
config_file.h:26: warning: ‘all_flags’ defined but not used
mv -f .deps/irrecord.Tpo .deps/irrecord.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT config_file.o -MD -MP -MF .deps/config_file.Tpo -c -o config_file.o config_file.c
mv -f .deps/config_file.Tpo .deps/config_file.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT dump_config.o -MD -MP -MF .deps/dump_config.Tpo -c -o dump_config.o dump_config.c
mv -f .deps/dump_config.Tpo .deps/dump_config.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT input_map.o -MD -MP -MF .deps/input_map.Tpo -c -o input_map.o input_map.c
mv -f .deps/input_map.Tpo .deps/input_map.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a
libtool: link: gcc -O2 -g -Wall -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lircd.o -MD -MP -MF .deps/lircd.Tpo -c -o lircd.o lircd.c
config_file.h:26: warning: ‘all_flags’ defined but not used
lircd.c: In function ‘add_client’:
lircd.c:692: warning: dereferencing pointer ‘client_addr.90’ does break strict-aliasing rules
lircd.c:693: note: initialized from here
mv -f .deps/lircd.Tpo .deps/lircd.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o lircd lircd.o config_file.o input_map.o transmit.o libhw_module.a
libtool: link: gcc -O2 -g -Wall -o lircd lircd.o config_file.o input_map.o transmit.o libhw_module.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lircmd.o -MD -MP -MF .deps/lircmd.Tpo -c -o lircmd.o lircmd.c
lircmd.c: In function ‘loop’:
lircmd.c:750: warning: use of assignment suppression and length modifier together in gnu_scanf format
mv -f .deps/lircmd.Tpo .deps/lircmd.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o lircmd lircmd.o
libtool: link: gcc -O2 -g -Wall -o lircmd lircmd.o
make[3]: Leaving directory `/root/lirc/daemons'
make[2]: Leaving directory `/root/lirc/daemons'
Making all in tools
make[2]: Entering directory `/root/lirc/tools'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c -o lirc_client.lo lirc_client.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c lirc_client.c -fPIC -DPIC -o .libs/lirc_client.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c lirc_client.c -o lirc_client.o >/dev/null 2>&1
mv -f .deps/lirc_client.Tpo .deps/lirc_client.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -version-info 2:1:2 -o liblirc_client.la -rpath /usr/local/lib lirc_client.lo
libtool: link: gcc -shared .libs/lirc_client.o -Wl,-soname -Wl,liblirc_client.so.0 -o .libs/liblirc_client.so.0.2.1
libtool: link: (cd ".libs" && rm -f "liblirc_client.so.0" && ln -s "liblirc_client.so.0.2.1" "liblirc_client.so.0")
libtool: link: (cd ".libs" && rm -f "liblirc_client.so" && ln -s "liblirc_client.so.0.2.1" "liblirc_client.so")
libtool: link: ar cru .libs/liblirc_client.a lirc_client.o
libtool: link: ranlib .libs/liblirc_client.a
libtool: link: ( cd ".libs" && rm -f "liblirc_client.la" && ln -s "../liblirc_client.la" "liblirc_client.la" )
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT irw.o -MD -MP -MF .deps/irw.Tpo -c -o irw.o irw.c
mv -f .deps/irw.Tpo .deps/irw.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o irw irw.o
libtool: link: gcc -O2 -g -Wall -o irw irw.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT irpty.o -MD -MP -MF .deps/irpty.Tpo -c -o irpty.o irpty.c
mv -f .deps/irpty.Tpo .deps/irpty.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o irpty irpty.o liblirc_client.la -lutil
libtool: link: gcc -O2 -g -Wall -o .libs/irpty irpty.o ./.libs/liblirc_client.so -lutil
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT irexec.o -MD -MP -MF .deps/irexec.Tpo -c -o irexec.o irexec.c
mv -f .deps/irexec.Tpo .deps/irexec.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o irexec irexec.o liblirc_client.la
libtool: link: gcc -O2 -g -Wall -o .libs/irexec irexec.o ./.libs/liblirc_client.so
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT ircat.o -MD -MP -MF .deps/ircat.Tpo -c -o ircat.o ircat.c
mv -f .deps/ircat.Tpo .deps/ircat.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o ircat ircat.o liblirc_client.la
libtool: link: gcc -O2 -g -Wall -o .libs/ircat ircat.o ./.libs/liblirc_client.so
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT mode2.o -MD -MP -MF .deps/mode2.Tpo -c -o mode2.o mode2.c
mv -f .deps/mode2.Tpo .deps/mode2.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o mode2 mode2.o ../daemons/libhw_module.a
libtool: link: gcc -O2 -g -Wall -o mode2 mode2.o ../daemons/libhw_module.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT irsend.o -MD -MP -MF .deps/irsend.Tpo -c -o irsend.o irsend.c
mv -f .deps/irsend.Tpo .deps/irsend.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o irsend irsend.o
libtool: link: gcc -O2 -g -Wall -o irsend irsend.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -g -Wall -MT lircrcd.o -MD -MP -MF .deps/lircrcd.Tpo -c -o lircrcd.o lircrcd.c
mv -f .deps/lircrcd.Tpo .deps/lircrcd.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o lircrcd lircrcd.o liblirc_client.la
libtool: link: gcc -O2 -g -Wall -o .libs/lircrcd lircrcd.o ./.libs/liblirc_client.so
echo "#! /usr/bin/python" >pronto2lirc
cat pronto2lirc.py >>pronto2lirc
chmod +x pronto2lirc
make[2]: Leaving directory `/root/lirc/tools'
Making all in doc
make[2]: Entering directory `/root/lirc/doc'
Making all in man
make[3]: Entering directory `/root/lirc/doc/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/lirc/doc/man'
make[3]: Entering directory `/root/lirc/doc'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -Wall -MT man2html.o -MD -MP -MF .deps/man2html.Tpo -c -o man2html.o man2html.c
mv -f .deps/man2html.Tpo .deps/man2html.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -g -Wall -o man2html man2html.o
libtool: link: gcc -O2 -g -Wall -o man2html man2html.o
make[3]: Leaving directory `/root/lirc/doc'
make[2]: Leaving directory `/root/lirc/doc'
make[2]: Entering directory `/root/lirc'
make[2]: Leaving directory `/root/lirc'
make[1]: Leaving directory `/root/lirc'
root@backend:~# make install
Making install in drivers
make[1]: Entering directory `/root/lirc/drivers'
Making install in lirc_dev
make[2]: Entering directory `/root/lirc/drivers/lirc_dev'
make[3]: Entering directory `/root/lirc/drivers/lirc_dev'
make[3]: Nothing to be done for `install-exec-am'.
/bin/bash /root/lirc/install-sh -d /lib/modules/2.6.32-5-amd64/misc
/usr/bin/install -c -m 644 lirc_dev.ko /lib/modules/2.6.32-5-amd64/misc/lirc_dev.ko
/sbin/depmod -a
make[3]: Leaving directory `/root/lirc/drivers/lirc_dev'
make[2]: Leaving directory `/root/lirc/drivers/lirc_dev'
Making install in lirc_serial
make[2]: Entering directory `/root/lirc/drivers/lirc_serial'
make[3]: Entering directory `/root/lirc/drivers/lirc_serial'
make[3]: Nothing to be done for `install-exec-am'.
/bin/bash /root/lirc/install-sh -d /lib/modules/2.6.32-5-amd64/misc
/usr/bin/install -c -m 644 lirc_serial.ko /lib/modules/2.6.32-5-amd64/misc/lirc_serial.ko
/sbin/depmod -a
make[3]: Leaving directory `/root/lirc/drivers/lirc_serial'
make[2]: Leaving directory `/root/lirc/drivers/lirc_serial'
make[2]: Entering directory `/root/lirc/drivers'
make[3]: Entering directory `/root/lirc/drivers'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/lirc/drivers'
make[2]: Leaving directory `/root/lirc/drivers'
make[1]: Leaving directory `/root/lirc/drivers'
Making install in daemons
make[1]: Entering directory `/root/lirc/daemons'
make install-am
make[2]: Entering directory `/root/lirc/daemons'
make[3]: Entering directory `/root/lirc/daemons'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../libtool --mode=install /usr/bin/install -c irrecord '/usr/local/bin'
libtool: install: /usr/bin/install -c irrecord /usr/local/bin/irrecord
test -e /var/run/lirc/lircd || (/bin/bash /root/lirc/install-sh -d /var/run/lirc && /bin/mknod /var/run/lirc/lircd p)
test -e /var/run/lirc/lircm || (/bin/bash /root/lirc/install-sh -d /var/run/lirc && /bin/mknod /var/run/lirc/lircm p)
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
/bin/bash ../libtool --mode=install /usr/bin/install -c lircd lircmd '/usr/local/sbin'
libtool: install: /usr/bin/install -c lircd /usr/local/sbin/lircd
libtool: install: /usr/bin/install -c lircmd /usr/local/sbin/lircmd
test "" = "" || test -e /etc/lirc/lircd.conf || (/bin/bash /root/lirc/install-sh -d /etc/lirc && /usr/bin/install -c -m 644 ../remotes/ /etc/lirc/lircd.conf)
test "" = "" || test -e /etc/lirc/lircmd.conf || (/bin/bash /root/lirc/install-sh -d /etc/lirc && /usr/bin/install -c -m 644 ../remotes/ /etc/lirc/lircmd.conf)
make[3]: Leaving directory `/root/lirc/daemons'
make[2]: Leaving directory `/root/lirc/daemons'
make[1]: Leaving directory `/root/lirc/daemons'
Making install in tools
make[1]: Entering directory `/root/lirc/tools'
make[2]: Entering directory `/root/lirc/tools'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c liblirc_client.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/liblirc_client.so.0.2.1 /usr/local/lib/liblirc_client.so.0.2.1
libtool: install: (cd /usr/local/lib && { ln -s -f liblirc_client.so.0.2.1 liblirc_client.so.0 || { rm -f liblirc_client.so.0 && ln -s liblirc_client.so.0.2.1 liblirc_client.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f liblirc_client.so.0.2.1 liblirc_client.so || { rm -f liblirc_client.so && ln -s liblirc_client.so.0.2.1 liblirc_client.so; }; })
libtool: install: /usr/bin/install -c .libs/liblirc_client.lai /usr/local/lib/liblirc_client.la
libtool: install: /usr/bin/install -c .libs/liblirc_client.a /usr/local/lib/liblirc_client.a
libtool: install: chmod 644 /usr/local/lib/liblirc_client.a
libtool: install: ranlib /usr/local/lib/liblirc_client.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/mythtv/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../libtool --mode=install /usr/bin/install -c irw irpty irexec ircat mode2 irsend lircrcd '/usr/local/bin'
libtool: install: /usr/bin/install -c irw /usr/local/bin/irw
libtool: install: /usr/bin/install -c .libs/irpty /usr/local/bin/irpty
libtool: install: /usr/bin/install -c .libs/irexec /usr/local/bin/irexec
libtool: install: /usr/bin/install -c .libs/ircat /usr/local/bin/ircat
libtool: install: /usr/bin/install -c mode2 /usr/local/bin/mode2
libtool: install: /usr/bin/install -c irsend /usr/local/bin/irsend
libtool: install: /usr/bin/install -c .libs/lircrcd /usr/local/bin/lircrcd
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c pronto2lirc '/usr/local/bin'
test -z "/usr/local/include/lirc" || /bin/mkdir -p "/usr/local/include/lirc"
/usr/bin/install -c -m 644 lirc_client.h '/usr/local/include/lirc'
make[2]: Leaving directory `/root/lirc/tools'
make[1]: Leaving directory `/root/lirc/tools'
Making install in doc
make[1]: Entering directory `/root/lirc/doc'
Making install in man
make[2]: Entering directory `/root/lirc/doc/man'
make[3]: Entering directory `/root/lirc/doc/man'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 irexec.1 ircat.1 irpty.1 irrecord.1 irw.1 irxevent.1 lircrcd.1 mode2.1 smode2.1 xmode2.1 irsend.1 '/usr/local/share/man/man1'
test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8"
/usr/bin/install -c -m 644 lircd.8 lircmd.8 '/usr/local/share/man/man8'
make[3]: Leaving directory `/root/lirc/doc/man'
make[2]: Leaving directory `/root/lirc/doc/man'
make[2]: Entering directory `/root/lirc/doc'
make[3]: Entering directory `/root/lirc/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/lirc/doc'
make[2]: Leaving directory `/root/lirc/doc'
make[1]: Leaving directory `/root/lirc/doc'
make[1]: Entering directory `/root/lirc'
make[2]: Entering directory `/root/lirc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/lirc'
make[1]: Leaving directory `/root/lirc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment