Hello again Gentooers,

I'm attempting to get the streamzap remote working with lirc.  According to 
the howtos around, I've created LIRC_OPTS in make.conf with a value of 
"--with-driver=streamzap". Emerging lirc afterwards, however, gives me 
the compilation errors attached.  Also, I get the message "Streamzap is not 
Kernel 2.6 ready and will not be compiled".  Is this true or does it work out 
of the box?  I've seen both reports out there.  The 2.6.14-rc3 kernel I'm 
running seems to know the device and register it properly.

Oct 13 17:47:40 kron kernel: usb 2-1: Product: Streamzap Remote Control
Oct 13 17:47:40 kron kernel: usb 2-1: Manufacturer: Streamzap, Inc.
Oct 13 17:47:40 kron kernel: usb 2-2: new low speed USB device using uhci_hcd 
Oct 13 17:47:41 kron kernel: usb 2-2: Product: PS2 to USB Converter


Any information about this would be useful.

Thanks,
Shaw
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:802: checking for a BSD compatible install
configure:855: checking whether build environment is sane
configure:926: checking for mawk
configure:926: checking for gawk
configure:956: checking whether make sets ${MAKE}
configure:1081: checking for gcc
configure:1194: checking whether the C compiler (gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall ) works
configure:1210: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:1207: warning: return type defaults to `int'
configure:1236: checking whether the C compiler (gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall ) is a cross-compiler
configure:1241: checking whether we are using GNU C
configure:1250: gcc -E conftest.c
configure:1269: checking whether gcc accepts -g
configure:1308: checking for style of include used by make
configure:1342: checking dependency style of gcc
configure:1420: checking for a BSD compatible install
configure:1473: checking whether make sets ${MAKE}
configure:1502: checking for mknod
configure:1538: checking for mkfifo
configure:1574: checking for depmod
configure:1610: checking for libusb-config
configure:1643: checking whether ln -s works
configure:1675: checking for Cygwin environment
configure:1691: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:1687: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1687: error: (Each undeclared identifier is reported only once
configure:1687: error: for each function it appears in.)
configure: failed program was:
#line 1680 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1708: checking for mingw32 environment
configure:1720: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:1716: error: `__MINGW32__' undeclared (first use in this function)
configure:1716: error: (Each undeclared identifier is reported only once
configure:1716: error: for each function it appears in.)
configure: failed program was:
#line 1713 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1737: checking how to run the C preprocessor
configure:1758: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1892: checking host system type
configure:1913: checking build system type
configure:1942: checking for ld used by GCC
configure:2010: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld
GNU ld version 2.15.92.0.2 20040927
configure:2027: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files
configure:2039: checking for BSD-compatible nm
configure:2077: checking for a sed that does not truncate output
configure:2161: checking how to recognise dependent libraries
configure:2347: checking for object suffix
configure:2353: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure:2373: checking for executable suffix
configure:2383: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:2414: checking command to parse /bin/nm -B output
configure:2497: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure:2500: /bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2551: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c conftstm.o 1>&5
conftest.c:6: warning: `main' is usually a function
configure:2600: checking for dlfcn.h
configure:2610: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2779: checking for ranlib
configure:2846: checking for strip
configure:3089: checking for objdir
configure:3116: checking for gcc option to produce PIC
configure:3264: checking if gcc PIC flag -fPIC works
configure:3278: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -fPIC -DPIC  conftest.c 1>&5
configure:3330: checking if gcc static flag -static works
configure:3345: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   -static conftest.c  1>&5
configure:3372: checking if gcc supports -c -o file.o
configure:3391: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -o out/conftest2.o  conftest.c 1>&5
configure:3420: checking if gcc supports -c -o file.lo
configure:3438: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -c -o conftest.lo  conftest.c 1>&5
configure: In function `main':
configure:3434: warning: unused variable `some_variable'
configure:3488: checking if gcc supports -fno-rtti -fno-exceptions
configure:3501: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure: In function `main':
configure:3497: warning: unused variable `some_variable'
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure: In function `main':
configure:3497: warning: unused variable `some_variable'
configure:3528: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries
configure:4227: checking how to hardcode library paths into programs
configure:4255: checking whether stripping libraries is possible
configure:4269: checking dynamic linker characteristics
configure:4693: checking if libtool supports shared libraries
configure:4697: checking whether to build shared libraries
configure:4720: checking whether to build static libraries
configure:5256: checking whether -lc should be explicitly linked in
configure:5263: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
conftest.c:1: warning: `dummy' defined but not used
configure:5276: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep  -lc  >/dev/null 2>&1
configure:5862: checking for ANSI C header files
configure:5875: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5942: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure: In function `main':
configure:5937: warning: implicit declaration of function `exit'
configure:5966: checking whether time.h and sys/time.h may both be included
configure:5980: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:5976: warning: unused variable `tp'
configure:6004: checking for fcntl.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6004: checking for limits.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6004: checking for sys/ioctl.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6004: checking for sys/time.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6004: checking for syslog.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6004: checking for unistd.h
configure:6014: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6042: checking for working const
configure:6096: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:6070: warning: unused variable `s'
configure:6090: warning: unused variable `foo'
configure:6052: warning: unused variable `x'
configure:6058: warning: unused variable `zero'
configure:6069: warning: `t' might be used uninitialized in this function
configure:6087: warning: `b' might be used uninitialized in this function
configure:6117: checking for inline
configure:6131: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:6126: warning: control reaches end of non-void function
configure: At top level:
configure:6127: warning: return type defaults to `int'
configure:6157: checking for off_t
configure:6190: checking for pid_t
configure:6223: checking for size_t
configure:6256: checking whether struct tm is in sys/time.h or time.h
configure:6269: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:6265: warning: statement with no effect
configure:6291: checking return type of signal handlers
configure:6313: gcc -c -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall  conftest.c 1>&5
configure: In function `main':
configure:6309: warning: unused variable `i'
configure:6332: checking for vprintf
configure:6360: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6344: warning: conflicting types for built-in function `vprintf'
configure:6440: checking for gethostname
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for gettimeofday
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for mkfifo
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for select
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for socket
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for strdup
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for strerror
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for strtoul
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for snprintf
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6452: warning: conflicting types for built-in function `snprintf'
configure:6440: checking for strsep
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6440: checking for vsyslog
configure:6468: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6497: checking for daemon
configure:6525: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:6599: checking for forkpty
configure:6627: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
/var/tmp/portage/lirc-0.7.0-r1/temp/ccZkeoJU.o(.text+0xa): In function `main':
: undefined reference to `forkpty'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6604 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char forkpty(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char forkpty();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_forkpty) || defined (__stub___forkpty)
choke me
#else
forkpty();
#endif

; return 0; }
configure:6653: checking for forkpty in -lutil
configure:6672: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lutil   1>&5
configure:6702: checking for vga.h
configure:6712: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6730: checking for vgagl.h
configure:6740: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6757: checking for vga_init in -lvga
configure:6776: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lvga   1>&5
configure:6792: checking for gl_setcontextvga in -lvgagl
configure:6812: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lvgagl -lvga
        1>&5
configure:6857: checking for X
configure:6924: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:7000: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lXt  1>&5
configure: In function `main':
configure:6996: warning: implicit declaration of function `XtMalloc'
configure:7171: checking for dnet_ntoa in -ldnet
configure:7190: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -ldnet   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 7179 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:7212: checking for dnet_ntoa in -ldnet_stub
configure:7231: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -ldnet_stub   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 7220 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:7260: checking for gethostbyname
configure:7288: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:7358: checking for connect
configure:7386: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:7450: checking for remove
configure:7478: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:7542: checking for shmat
configure:7570: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:7643: checking for IceConnectionNumber in -lICE
configure:7662: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lICE   1>&5
configure:7693: checking for getopt_long
configure:7721: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c  1>&5
configure:7830: checking for mktemp
configure:7859: checking for Linux kernel sources
configure:7991: checking for which drivers can be installed on this system
configure:8016: checking for caraca_init in -lcaraca_client
configure:8035: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lcaraca_client   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcaraca_client
collect2: ld returned 1 exit status
configure: failed program was:
#line 8024 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char caraca_init();

int main() {
caraca_init()
; return 0; }
configure:8061: checking for ir_strerror in -lirman
configure:8080: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lirman   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lirman
collect2: ld returned 1 exit status
configure: failed program was:
#line 8069 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ir_strerror();

int main() {
ir_strerror()
; return 0; }
configure:8106: checking for ir_strerror in -lirman_sw
configure:8125: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lirman_sw   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lirman_sw
collect2: ld returned 1 exit status
configure: failed program was:
#line 8114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ir_strerror();

int main() {
ir_strerror()
; return 0; }
configure:8154: checking for portaudio.h
configure:8164: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:8160:23: portaudio.h: No such file or directory
configure: failed program was:
#line 8159 "configure"
#include "confdefs.h"
#include <portaudio.h>
configure:8242: checking for alsa/asoundlib.h
configure:8252: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:8274: checking for snd_pcm_open in -lasound
configure:8293: gcc -o conftest -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   conftest.c -lasound   1>&5

Reply via email to