SAA7134 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,
    I downloaded the source for SAA7134
driver(SAA7134-0.2.7) and snapshot for V4l2. I am
using the Red hat linux,kernel version 2.4.18-14 .
Actually I had kernel version 2.4.7-10 and then I
upgraded it to version 2.4.18-14 . When I execute make
and make install for the V4l2 snapshot it works fine. 
   When I try to execute 'make' for the SAA7134 I get
the following.


[root@instec saa7134-0.2.7]# make
KDIR=/usr/src/linux-2.4.18-14/
make -C /usr/src/linux-2.4.18-14/
SUBDIRS=/root/PT06/Reference/SAA7134/saa7134-0.2.7
modules
make[1]: Entering directory `/usr/src/linux-2.4.18-14'
scripts/split-include include/linux/autoconf.h
include/config
make -r -f tmp_include_depends all
make[2]: Entering directory `/usr/src/linux-2.4.18-14'
make[2]: Leaving directory `/usr/src/linux-2.4.18-14'
make -C  /root/PT06/Reference/SAA7134/saa7134-0.2.7
CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.18-14/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-14/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[2]: Entering directory
`/root/PT06/Reference/SAA7134/saa7134-0.2.7'
gcc -I./../v4l2 -I. -D__KERNEL__
-I/usr/src/linux-2.4.18-14/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-14/include/linux/modversions.h 
-nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include
-DKBUILD_BASENAME=tuner  -c -o tuner.o tuner.c
In file included from
/usr/src/linux-2.4.18-14/include/linux/prefetch.h:13,
                 from
/usr/src/linux-2.4.18-14/include/linux/list.h:6,
                 from
/usr/src/linux-2.4.18-14/include/linux/module.h:12,
                 from tuner.c:1:
/usr/src/linux-2.4.18-14/include/asm/processor.h:51:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-14/include/asm/processor.h:51:
field `loops_per_jiffy_R_ver_str' declared as a
function
/usr/src/linux-2.4.18-14/include/asm/processor.h:73:
invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:73:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:73:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/asm/processor.h:256:
invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:256:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:256:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/asm/processor.h:260:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-14/include/asm/processor.h:436:
invalid suffix on floating constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:436:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:436:
`kernel_thread_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-14/include/asm/processor.h:436:
warning: function declaration isn't a prototype
In file included from tuner.c:1:
/usr/src/linux-2.4.18-14/include/linux/module.h:183:
invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/linux/module.h:183:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:183:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/module.h:184:
invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/linux/module.h:184:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:184:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:185:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-14/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:186:
warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.18-14/include/linux/module.h:187:
invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/linux/module.h:187:
parse error before numeric constant
/usr/src/linux-2.4.18-14/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:187:
warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function
returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:196:
warning: parameter names (without types) in function
declaration
make[2]: *** [tuner.o] Error 1
make[2]: Leaving directory
`/root/PT06/Reference/SAA7134/saa7134-0.2.7'
make[1]: ***
[_mod_/root/PT06/Reference/SAA7134/saa7134-0.2.7]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
make: *** [default] Error 2


    Please help me to solve the problem.

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux