Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mpeg2] Re: Problem compiling driver on Redhat 7.2
I'm using the kfir.20010307.15-48-40.tar.gz.
After extracting the microcode, I'm getting this
Do I have to disable the i2c includes when I configure the kernel with make
xconfig?
[root@localhost kfir]# make
(cd driver; make)
make[1]: /scripts/pathdown.sh: No se encontró el programa
make[1]: Changing a directorio `/root/kfir/kfir/driver'
DIR=`pwd`; (cd /usr/src/linux-2.4.7-10; make SUBDIRS=$DIR modules)
make[2]: Changing a directorio `/usr/src/linux-2.4.7-10'
make -C /root/kfir/kfir/driver CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.7-10/i
nclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-st
rict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2
-march=
i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.7-10/include/linux/modve
rsions.h" MAKING_MODULES=1 modules
make[3]: Changing a directorio `/root/kfir/kfir/driver'
gcc
-D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -Wall -Wstrict-prototypes -Wn
o-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -Wno-unuse
d -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.7-10/include/linux/modversions.h -D__KFIR_PACK__ -c
-o vide
odev.o videodev.c
videodev.c:402: conflicting types for `video_register_device_Rsmp_f59adb7b'
/usr/src/linux-2.4.7-10/include/linux/videodev.h:37: previous declaration
of `vi
deo_register_device_Rsmp_f59adb7b'
make[3]: *** [videodev.o] Error 1
make[3]: Leaving directorio `/root/kfir/kfir/driver'
make[2]: *** [_mod_/root/kfir/kfir/driver] Error 2
make[2]: Leaving directorio `/usr/src/linux-2.4.7-10'
make[1]: *** [here] Error 2
make[1]: Leaving directorio `/root/kfir/kfir/driver'
make: *** [all] Error 2
[root@localhost kfir]#
----- Original Message -----
From: "Stephen Robert Norris" <srn@fn.com.au>
To: "David Marí" <dmari@lavinia.tc>
Cc: <mpeg2@linuxtv.org>
Sent: Friday, April 12, 2002 1:12 PM
Subject: [mpeg2] Re: Problem compiling driver on Redhat 7.2
>
> On Fri, 2002-04-12 at 21:08, David Marí wrote:
> >
> > Hi there.
> >
> > I recently acquired de MPEG-2 kfir based board from linuxtv.org and it
works so fine on windows 98 for me.
> >
> > My problem is when I enter the linux RedHat 7.2 arena :
> >
> > I followed the step-by-step procedure to install the driver, but it does
not compile! I am able to extract the microcode, but when it comes to
compile the modules, it doesn't work. The kernel is version 2.4.7-10.
> >
> > Do you recommend that I use another linux version of RedHat? Maybe 7.0,
7.1 ?
> >
> > Or do you have any step-by-step guide to fix de bugs in the compilation
in Redhat 7.2 or Kernels 2.4 and above?
> >
> > one of them is the typical deprecation of the used include malloc.h in
the driver code.
> >
> >
> > Thank you very much.
>
> What error are you getting? I remember I commented out the i2c stuff and
> just used the kernels, which worked for me...
>
> --
> Stephen Norris srn@fn.com.au
> Farrow Norris Pty Ltd +61 417 243 239
>
> -- Attached file included as plaintext by Listar --
> -- File: signature.asc
> -- Desc: This is a digitally signed message part
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQA8tsEoe+ykMRrETOURApypAJ9s+lMEGxvnhy3c92pZTpMLWzBqTACfVBxO
> 08bF0MG1GUShWIkWHOGdwq4=
> =eZjl
> -----END PGP SIGNATURE-----
>
>
>
Home |
Main Index |
Thread Index