Hi Ralf, Thanks for the help.
It's being run from a sh script. Here's the script: --------------------------------------------------------------- #!/bin/bash # # myth-ledxmit.sh # # by jds-myth !at! losdos.dyndns.org # portions by rwraithr !at! cox.net # # for details on how and why to use this script, see # http://losdos.dyndns.org:8080/public/mythtv- info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html # set -e # # if [ ! $# -eq 1 ] then echo "usage: $0 lirc-directory" exit 1 fi if [ ! -d $1 ] then echo "error: directory '$1' not found." exit 1 fi rm -rf myth-ledxmit.WIP echo "$0: Copying lirc source directory..." cp -r $1 myth-ledxmit.WIP cd myth-ledxmit.WIP if [ $? -ne 0 ] then echo "error: unable to cd to 'myth-ledxmit.WIP'." exit 1 fi echo "$0: Moving lirc directories" mv ./drivers/lirc_atiusb ./drivers/ledxmit_atiusb mv ./drivers/lirc_mceusb ./drivers/ledxmit_mceusb mv ./drivers/lirc_bt829 ./drivers/ledxmit_bt829 mv ./drivers/lirc_dev ./drivers/ledxmit_dev mv ./drivers/lirc_gpio ./drivers/ledxmit_gpio mv ./drivers/lirc_i2c ./drivers/ledxmit_i2c mv ./drivers/lirc_it87 ./drivers/ledxmit_it87 mv ./drivers/lirc_parallel ./drivers/ledxmit_parallel mv ./drivers/lirc_serial ./drivers/ledxmit_serial mv ./drivers/lirc_sir ./drivers/ledxmit_sir mv ./drivers/lirc_sasem ./drivers/ledxmit_sasem mv ./drivers/lirc_igorplugusb ./drivers/ledxmit_igorplugusb echo "$0: Moving lirc files" find . -name '*lirc*' -print > lircfiles.txt for i in `cat lircfiles.txt` do if [ -f $i ] ; then NewFileName=`echo $i | sed 's/lirc/ledxmit/'` mv $i $NewFileName fi done echo "$0: Renaming lirc vars in files" find . | xargs grep -l lirc > lircvars.txt for i in `cat lircvars.txt` do if [ -f $i ] ; then cat $i | sed 's/lirc/ledxmit/g' > $i.newfile mv $i.newfile $i fi done echo "$0: Renaming LIRC vars in files" find . | xargs grep -l LIRC > LIRCvars.txt for i in `cat LIRCvars.txt` do if [ -f $i ] ; then cat $i | sed 's/LIRC/LEDXMIT/g' > $i.newfile mv $i.newfile $i fi done echo "$0: Restoring exec permissions" chmod +x ./configure ./*.sh # while the following configure statement makes the default port COM2 (= /dev/ttyS1), # there are examples later in this document which show how to tell the driver that you # in fact want to use COM1 (=/dev/ttyS0) instead. echo "$0: Running configure" ./configure --program-prefix=ledxmit- --prefix=/usr/local/lirc-ledxmit \ --with-major=72 --with-port=0x2f8 --with-irq=3 --with-transmitter \ --enable-sandboxed --with-driver=serial echo "$0: Running make" make echo "$0: Complete" --------------------------------------------------------------------- Here's the output: --------------------------------------------------------------------- [EMAIL PROTECTED] myth-ledxmit]# ./myth-ledxmit.sh lirc-0.7.0 ./myth-ledxmit.sh: Copying lirc source directory... ./myth-ledxmit.sh: Moving lirc directories ./myth-ledxmit.sh: Moving lirc files ./myth-ledxmit.sh: Renaming lirc vars in files ./myth-ledxmit.sh: Renaming LIRC vars in files ./myth-ledxmit.sh: Restoring exec permissions ./myth-ledxmit.sh: Running configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... 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... yes checking whether gcc accepts -g... yes 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... /usr/bin/libusb-config checking whether ln -s works... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu 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 for a sed that does not truncate output... /bin/sed checking how to recognise dependent libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC 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.lo... 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... no creating libtool checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for working 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 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 for vga.h... no checking for X... no checking for getopt_long... yes checking for mktemp... yes checking for Linux kernel sources... /usr/src/linux/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... no checking for ir_strerror in -lirman... no checking for ir_strerror in -lirman_sw... no checking for portaudio.h... yes checking for Pa_Initialize in -lportaudio... yes checking for alsa/asoundlib.h... no updating cache ./config.cache creating ./config.status creating Makefile creating drivers/Makefile creating drivers/ledxmit_atiusb/Makefile creating drivers/ledxmit_bt829/Makefile creating drivers/ledxmit_dev/Makefile creating drivers/ledxmit_gpio/Makefile creating drivers/ledxmit_i2c/Makefile creating drivers/ledxmit_igorplugusb/Makefile creating drivers/ledxmit_it87/Makefile creating drivers/ledxmit_mceusb/Makefile creating drivers/ledxmit_parallel/Makefile creating drivers/ledxmit_sasem/Makefile creating drivers/ledxmit_serial/Makefile creating drivers/ledxmit_sir/Makefile creating daemons/Makefile creating tools/Makefile creating doc/Makefile creating doc/man/Makefile creating config.h You will have to use the ledxmit_serial kernel module. Now enter 'make' and 'make install' to compile and install the package. ./myth-ledxmit.sh: Running make cd . && /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run aclocal acinclude.m4:11: warning: underquoted definition of AC_PATH_KERNEL_SOURCE_SEARCH run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending- aclocal acinclude.m4:65: warning: underquoted definition of AC_PATH_KERNEL_SOURCE cd . && \ /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run automake --gnu Makefile cd . && /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --program-prefix=ledxmit- -- prefix=/usr/local/lirc-ledxmit --with-major=72 --with-port=0x3f8 --with- irq=4 --with-transmitter --enable-sandboxed --with-driver=serial --no- create --no-recursion 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... /usr/bin/libusb-config 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... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes 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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 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 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... /usr/src/linux/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... no checking for ir_strerror in -lirman... no checking for ir_strerror in -lirman_sw... no checking portaudio.h usability... yes checking portaudio.h presence... yes checking for portaudio.h... yes checking for Pa_Initialize in -lportaudio... yes checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no configure: creating ./config.status You will have to use the ledxmit_serial kernel module. Now enter 'make' and 'make install' to compile and install the package. cd . && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=Makefile /bin/sh ./config.status config.status: creating Makefile config.status: executing depfiles commands cd . && /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run autoheader autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/home/mythtv/myth-ledxmit/myth-ledxmit.WIP' Making all in drivers make[2]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' cd .. && \ /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run automake --gnu drivers/Makefile cd .. && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=drivers/Makefile /bin/sh ./config.status config.status: creating drivers/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' make[2]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' Making all in ledxmit_dev make[3]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev' cd ../.. && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=drivers/ledxmit_dev/Makefile /bin/sh ./config.status config.status: creating drivers/ledxmit_dev/Makefile config.status: executing depfiles commands make[3]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev' make[3]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /usr/src/linux/ SUBDIRS=/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/linux-2.6.9' mkdir -p /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/.tmp_versions make -f scripts/Makefile.build obj=/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev gcc -Wp,-MD,/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/.ledxmit_dev.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -g - Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack- boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3 -Iinclude/asm- i386/mach-default -DIRCTL_DEV_MAJOR=72 -DEXPORT_SYMTAB -DHAVE_CONFIG_H - I. -I. -I../.. -I /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/../.. -I /usr/src/linux//include/ - DMODULE -DKBUILD_BASENAME=ledxmit_dev -DKBUILD_MODNAME=ledxmit_dev -c - o /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/.tmp_ledxmit_dev.o /home/mythtv/myth- ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c Building modules, stage 2. make -rR -f /usr/src/linux-2.6.9/scripts/Makefile.modpost scripts/mod/modpost -m - i /usr/src/linux-2.6.9/Module.symvers /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.o gcc -Wp,-MD,/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/.ledxmit_dev.mod.o.d -nostdinc - iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes - Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -g -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack- boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3 -Iinclude/asm- i386/mach-default -DKBUILD_BASENAME=ledxmit_dev - DKBUILD_MODNAME=ledxmit_dev -DMODULE -c -o /home/mythtv/myth- ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.mod.o /home/mythtv/myth- ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.mod.c ld -m elf_i386 -r -o /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.ko/home/mythtv/myth- ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.o /home/mythtv/myth- ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.mod.o make[4]: Leaving directory `/usr/src/linux-2.6.9' mv Makefile.automake Makefile make[3]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_dev' Making all in ledxmit_serial make[3]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial' cd ../.. && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=drivers/ledxmit_serial/Makefile /bin/sh ./config.status config.status: creating drivers/ledxmit_serial/Makefile config.status: executing depfiles commands make[3]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial' make[3]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /usr/src/linux/ SUBDIRS=/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/linux-2.6.9' mkdir -p /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/.tmp_versions make -f scripts/Makefile.build obj=/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial gcc -Wp,-MD,/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/.ledxmit_serial.o.d -nostdinc - iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes - Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -g -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack- boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3 -Iinclude/asm- i386/mach-default -DIRCTL_DEV_MAJOR=72 -DEXPORT_SYMTAB -DHAVE_CONFIG_H - I. -I. -I../.. -I /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/../.. -I /usr/src/linux//include/ - DMODULE -DKBUILD_BASENAME=ledxmit_serial -DKBUILD_MODNAME=ledxmit_serial -c -o /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/.tmp_ledxmit_serial.o /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:67:2: warning: #warning "******************************************" /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:68:2: warning: #warning " Your serial port driver is compiled into " /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:69:2: warning: #warning " the kernel. You will have to release the " /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:70:2: warning: #warning " port you want to use for LEDXMIT with: " /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:71:2: warning: #warning " setserial /dev/ttySx uart none " /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:72:2: warning: #warning "******************************************" /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:110:2: warning: #warning "Note: using rdtsc instruction" /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c: In function `init_port': /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:738: warning: `check_region' is deprecated (declared at include/linux/ioport.h:121) /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c: In function `ledxmit_write': /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.c:912: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result Building modules, stage 2. make -rR -f /usr/src/linux-2.6.9/scripts/Makefile.modpost scripts/mod/modpost -m - i /usr/src/linux-2.6.9/Module.symvers /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.o gcc -Wp,-MD,/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/.ledxmit_serial.mod.o.d -nostdinc - iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes - Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -g -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack- boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3 -Iinclude/asm- i386/mach-default -DKBUILD_BASENAME=ledxmit_serial - DKBUILD_MODNAME=ledxmit_serial -DMODULE -c -o /home/mythtv/myth- ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.mod.o /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.mod.c ld -m elf_i386 -r -o /home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.ko /home/mythtv/myth- ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.o /home/mythtv/myth- ledxmit/myth-ledxmit.WIP/drivers/ledxmit_serial/ledxmit_serial.mod.o make[4]: Leaving directory `/usr/src/linux-2.6.9' mv Makefile.automake Makefile make[3]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers/ledxmit_serial' make[3]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' make[2]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/drivers' Making all in daemons make[2]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/daemons' cd .. && \ /bin/sh /home/mythtv/myth-ledxmit/myth-ledxmit.WIP/missing --run automake --gnu daemons/Makefile cd .. && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=daemons/Makefile /bin/sh ./config.status config.status: creating daemons/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/daemons' make[2]: Entering directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/daemons' if 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; \ then mv -f ".deps/irrecord.Tpo" ".deps/irrecord.Po"; else rm -f ".deps/irrecord.Tpo"; exit 1; fi irrecord.c: In function `get_lead_length': irrecord.c:1863: warning: operation on `b' may be undefined irrecord.c: At top level: config_file.h:26: warning: 'all_flags' defined but not used if 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; \ then mv -f ".deps/dump_config.Tpo" ".deps/dump_config.Po"; else rm -f ".deps/dump_config.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/config_file.Tpo" ".deps/config_file.Po"; else rm -f ".deps/config_file.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/hw-types.Tpo" ".deps/hw-types.Po"; else rm -f ".deps/hw-types.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/ir_remote.Tpo" ".deps/ir_remote.Po"; else rm -f ".deps/ir_remote.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/hw_default.Tpo" ".deps/hw_default.Po"; else rm -f ".deps/hw_default.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/receive.Tpo" ".deps/receive.Po"; else rm -f ".deps/receive.Tpo"; exit 1; fi if 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; \ then mv -f ".deps/transmit.Tpo" ".deps/transmit.Po"; else rm -f ".deps/transmit.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link --tag=CC gcc -O2 -g -Wall -o irrecord irrecord.o dump_config.o config_file.o hw-types.o ir_remote.o hw_default.o receive.o transmit.o libtool: unrecognized option `--tag=CC' Try `libtool --help' for more information. make[2]: *** [irrecord] Error 1 make[2]: Leaving directory `/home/mythtv/myth-ledxmit/myth- ledxmit.WIP/daemons' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mythtv/myth-ledxmit/myth-ledxmit.WIP' make: *** [all] Error 2 On Tue, 2005-01-04 at 10:42 +0100, Ralf Wildenhues wrote: > Hi pete, > > * pete wrote on Tue, Jan 04, 2005 at 01:46:41AM CET: > > Can someone please tell me why I keep getting this error? > > libtool: unrecognized option `--tag=CC' > > Unreproducable here. > > > What info do you need? > > An example command line including full output. > > > libtool --version > > ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) > > Regards, > Ralf -- pete <[EMAIL PROTECTED]> _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool