Re: Compiling bttv2 problem

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



Daniel O'Neill wrote:

> Not a biggy, let's step through, shall we?  (Excuse my hack coding style
> all)
>
> "Troy L. Swaine" wrote:
>
> > Hi Everyone,
> >                 Trying to compiling bttv2 driver-20001214 I get these
> > errors.
> >
> > DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> > make[1]: Entering directory `/usr/src/linux-2.2.14'
> > make -C  /u1/driver CFLAGS="-Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe
> > -fno-strength-reduce -m386 -DCPU=386 -DMODULE -DMODVERSIONS -include
> > /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/u1/driver'
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe
> > -fno-strength-reduce -m386 -DCPU=386 -DMODULE -DMODVERSIONS -include
> > /usr/src/linux/include/linux/modversions.h -Werror   -DEXPORT_SYMTAB -c
> > kcompat24.c
> > In file included from kcompat24.c:30:
> > kcompat24.h:82: warning: `request_region' redefined
> >
>
> Above's a file with a variable definition.  Namely, 'request region'.  What
> it does, no clue, can we fix yes, just edit line 82 in
> /usr/src/linux-2.2.14/u1/driver/kcompat24.h (or wherever it's reading this
> filu from, look for it) or, respectively, line 396 in
> /usr/src/linux/include/linux/modules/ksyms.ver (whichever doesn't break ;)
>
> > /usr/src/linux/include/linux/modules/ksyms.ver:396: warning: this is the
> >
>
> Then all should be well and she'll compile.  Hopefully.  If not, email me
> directly and I can give it a whirl!
>
> > location of the previous definition
> > make[2]: *** [kcompat24.o] Error 1
> > make[2]: Leaving directory `/u1/driver'
> > make[1]: *** [_mod_/u1/driver] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.2.14'
> > make: *** [here] Error 2
> >
> > Any ideas on what the problem may be? I have bttv0.7.53 working with
> > i2c2.5.4 ok.
> > System: RedHat 6.2, kernel 2.2.14-5.0(stock).....
> >
> > _______________________________________________
> > Video4linux-list mailing list
> > Video4linux-list@xxxxxxxxxx
> > https://listman.redhat.com/mailman/listinfo/video4linux-list
>
> --
>
> Regards,
> DFO
>
> [ Media Development Manager  ]
> [ Pervasys Technologies Inc. ]
> (Vancouver, BC Canada)
>
> --------------------------------------------------------------
> The opinions given in this email are only the opinions of
> the sender, not Pervasys Technologies Inc., or any employees
> at Pervasys Technologies Inc.  Pervasys Technologies Inc.
> accepts no responsibility for offensive or destructive emails
> generated from Pervasys Technologies Inc.
> --------------------------------------------------------------
>
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list

Thanks Daniel, edited kcompat24.h and WOW it works. You don't know how long
I've been trying to track this down!!!!!
Many thanks.....Cheers.





[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