>> In an effort to get my PVR-350 working on my fedora 7 box, I updated
>> the kernel and ivtv packages to 2.6.22.

>> But now when I start X, it doesn't start, but gives an error.
>> Has something (ie ivtv-fb) changed that the X driver doesn't work
>> anymore?
>
> Yes, it has. The Xdriver is being converted but there is no official
> release as yet. However, you can get a version that should work here:
>
> http://ivtvdriver.org/viewcvs/xdriver/trunk.tar.gz?view=tar
>
> Feedback is appreciated.

I tried to compile the driver, but it gave an error.

./configure

[lots of checks]
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

Googling on this error gave me many hints about not having a C or C++
compiler installed, but I guess I may have installed all:

compat-libgcc-296-2.96-138
gcc-gfortran-4.1.2-12
ccache-2.4-8.fc7
gcc-4.1.2-12
gcc-java-4.1.2-12
byacc-1.9.20050813-1.fc7
pam_ccreds-4-2.fc7
libgcc-4.1.2-12
psacct-6.3.2-44.fc7
gcc-c++-4.1.2-12

Output from config.log:

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

It was created by xf86-video-ivtdev configure 0.3.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = albatros.xs4all.nl
uname -m = i686
uname -r = 2.6.22.1-41.fc7
uname -s = Linux
uname -v = #1 SMP Fri Jul 27 18:10:34 EDT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1578: checking for a BSD-compatible install
configure:1633: result: /usr/bin/install -c
configure:1644: checking whether build environment is sane
configure:1687: result: yes
configure:1752: checking for gawk
configure:1768: found /bin/gawk
configure:1778: result: gawk
configure:1788: checking whether make sets $(MAKE)
configure:1808: result: yes
configure:1977: checking whether to enable maintainer-specific portions of
Makefiles
configure:1986: result: no
configure:2082: checking build system type
configure:2100: result: i686-redhat-linux-gnu
configure:2108: checking host system type
configure:2122: result: i686-redhat-linux-gnu
configure:2142: checking for style of include used by make
configure:2170: result: GNU
configure:2241: checking for gcc
configure:2257: found /usr/bin/gcc
configure:2267: result: gcc
configure:2511: checking for C compiler version
configure:2514: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2517: $? = 0
configure:2519: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
configure:2522: $? = 0
configure:2524: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2527: $? = 1
configure:2550: checking for C compiler default output file name
configure:2553: gcc    conftest.c  >&5
configure:2556: $? = 0
configure:2602: result: a.out
configure:2607: checking whether the C compiler works
configure:2613: ./a.out
configure:2616: $? = 0
configure:2633: result: yes
configure:2640: checking whether we are cross compiling
configure:2642: result: no
configure:2645: checking for suffix of executables
configure:2647: gcc -o conftest    conftest.c  >&5
configure:2650: $? = 0
configure:2675: result:
configure:2681: checking for suffix of object files
configure:2702: gcc -c   conftest.c >&5
configure:2705: $? = 0
configure:2727: result: o
configure:2731: checking whether we are using the GNU C compiler
configure:2755: gcc -c   conftest.c >&5
configure:2761: $? = 0
configure:2765: test -z
                         || test ! -s conftest.err
configure:2768: $? = 0
configure:2771: test -s conftest.o
configure:2774: $? = 0
configure:2787: result: yes
configure:2793: checking whether gcc accepts -g
configure:2814: gcc -c -g  conftest.c >&5
configure:2820: $? = 0
configure:2824: test -z
                         || test ! -s conftest.err
configure:2827: $? = 0
configure:2830: test -s conftest.o
configure:2833: $? = 0
configure:2844: result: yes
configure:2861: checking for gcc option to accept ANSI C
configure:2931: gcc  -c -g -O2  conftest.c >&5
configure:2937: $? = 0
configure:2941: test -z
                         || test ! -s conftest.err
configure:2944: $? = 0
configure:2947: test -s conftest.o
configure:2950: $? = 0
configure:2968: result: none needed
configure:2986: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'me'
configure:2992: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3127: checking dependency style of gcc
configure:3217: result: gcc3
configure:3234: checking for a sed that does not truncate output
configure:3290: result: /bin/sed
configure:3293: checking for egrep
configure:3303: result: grep -E
configure:3319: checking for ld used by gcc
configure:3386: result: /usr/bin/ld
configure:3395: checking if the linker (/usr/bin/ld) is GNU ld
configure:3410: result: yes
configure:3415: checking for /usr/bin/ld option to reload object files
configure:3422: result: -r
configure:3440: checking for BSD-compatible nm
configure:3489: result: /usr/bin/nm -B
configure:3493: checking whether ln -s works
configure:3497: result: yes
configure:3504: checking how to recognise dependent libraries
configure:3680: result: pass_all
configure:3917: checking how to run the C preprocessor
configure:3952: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:3952: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:3952: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:329,
                 from /usr/include/assert.h:38,
                 from conftest.c:15:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming
compiler to use the glibc headers"
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:3952: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:329,
                 from /usr/include/assert.h:38,
                 from conftest.c:15:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming
compiler to use the glibc headers"
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:3952: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:3952: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:3958: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:4035: result: /lib/cpp
configure:4059: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:4065: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:4059: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
                 from
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file
or directory
configure:4065: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xf86-video-ivtdev"
| #define PACKAGE_TARNAME "xf86-video-ivtvdev"
| #define PACKAGE_VERSION "0.3.1"
| #define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
| #define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
| #define PACKAGE "xf86-video-ivtvdev"
| #define VERSION "0.3.1"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:4134: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-redhat-linux-gnu
ac_cv_build_alias=i686-redhat-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XORG_CFLAGS_set=
ac_cv_env_XORG_CFLAGS_value=
ac_cv_env_XORG_LIBS_set=
ac_cv_env_XORG_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-redhat-linux-gnu
ac_cv_host_alias=i686-redhat-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/trunk/missing --run aclocal-1.9'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/trunk/missing --run tar'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AR=''
AUTOCONF='${SHELL} /root/trunk/missing --run autoconf'
AUTOHEADER='${SHELL} /root/trunk/missing --run autoheader'
AUTOMAKE='${SHELL} /root/trunk/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
DRIVER_NAME=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
F77=''
FFLAGS=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/trunk/missing --run makeinfo'
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
OBJEXT='o'
PACKAGE='xf86-video-ivtvdev'
PACKAGE_BUGREPORT='http://ivtvdriver.org/trac'
PACKAGE_NAME='xf86-video-ivtdev'
PACKAGE_STRING='xf86-video-ivtdev 0.3.1'
PACKAGE_TARNAME='xf86-video-ivtvdev'
PACKAGE_VERSION='0.3.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.3.1'
XORG_CFLAGS=''
XORG_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-redhat-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='redhat'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-redhat-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='redhat'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/trunk/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
moduledir=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xf86-video-ivtvdev"
#define PACKAGE_BUGREPORT "http://ivtvdriver.org/trac";
#define PACKAGE_NAME "xf86-video-ivtdev"
#define PACKAGE_STRING "xf86-video-ivtdev 0.3.1"
#define PACKAGE_TARNAME "xf86-video-ivtvdev"
#define PACKAGE_VERSION "0.3.1"
#define VERSION "0.3.1"


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to