Re: video4linux - rhel 5.6
Paulo Cavalcanti <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jan 15, 2011 at 8:49 AM, Axel Thimm <[email protected]> wrote: > On Sat, 2011-01-15 at 12:37 +0200, Axel Thimm wrote: > > On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote: > > > this is the version I am using on rhle 5.6 (including the cx88 patch): > > > > http://people.atrpms.net/~pcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm> > > > > Thanks, building now. > > It fails here with > > CC [M] > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-dsp.o > CC [M] > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In > function 'cx88_ir_work': > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:175: > warning: passing argument 1 of 'schedule_delayed_work' from incompatible > pointer type > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:48: > error: macro "INIT_DELAYED_WORK" passed 3 arguments, but takes just 2 > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In > function 'cx88_ir_start': > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: > error: 'INIT_DELAYED_WORK' undeclared (first use in this function) > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: > error: (Each undeclared identifier is reported only once > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: > error: for each function it appears in.) > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:191: > warning: passing argument 1 of 'schedule_delayed_work' from incompatible > pointer type > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In > function 'cx88_ir_stop': > > /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:219: > warning: passing argument 1 of 'cancel_rearming_delayed_work' from > incompatible pointer type > make[2]: *** > [/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o] Error 1 > make[1]: *** > [_module_/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l] Error 2 > make[1]: Leaving directory `/srv/ > atrpms.net/atrpms/kernelsrc/el5-x86_64/2.6.18-238.el5-x86_64' > make: *** [default] Error 2 > make: Leaving directory > `/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l' > error: Bad exit status from /var/tmp/rpm-tmp.56928 (%build) > > Weird. I logged on rhel5 and built directly (no mock involved): CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-tvaudio.o CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-dsp.o CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_work': /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:175: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_start': /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:193: warning: assignment from incompatible pointer type /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:194: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_stop': /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:219: warning: passing argument 1 of 'cancel_rearming_delayed_work' from incompatible pointer type CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/dvbdev.o I just get some warnings, but the package builds fine... -- Paulo Roma Cavalcanti LCG - UFRJ