From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-in-04.arcor-online.net ([151.189.21.44]:59791 "EHLO mail-in-04.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757741AbZKXBOm (ORCPT ); Mon, 23 Nov 2009 20:14:42 -0500 Subject: Re: Compile error saa7134 - compro videomate S350 From: hermann pitton To: Dominic Fernandes Cc: linux-media@vger.kernel.org In-Reply-To: <754577.88092.qm@web110614.mail.gq1.yahoo.com> References: <754577.88092.qm@web110614.mail.gq1.yahoo.com> Content-Type: text/plain Date: Tue, 24 Nov 2009 02:12:54 +0100 Message-Id: <1259025174.5511.24.camel@pc07.localdom.local> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi Dominic, Am Montag, den 23.11.2009, 10:01 -0800 schrieb Dominic Fernandes: > Hi, > > I need help to compile v4l-dvb drivers for saa7134 modules. > I'm new to v4l-dvb not sure how to get past the errors concerning > undefined declarations found in saa7134-inputs.c file for the videomate > S350 board, saying ir_codes, mask_keycodes, mask_keydown as undeclared: > > snip:- > > make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic' > CC [M] /home/tvbox/v4l-dvb/v4l/saa7134-input.o > /home/tvbox/v4l-dvb/v4l/saa7134-input.c: In function 'build_key': > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:90: error: 'ir_codes' undeclared (first use in this function) > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:90: error: (Each undeclared identifier is reported only once > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:90: error: for each function it appears in.) > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:90: error: 'ir_codes_videomate_s350' undeclared (first use in this function) > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:91: error: 'mask_keycode' undeclared (first use in this function) > /home/tvbox/v4l-dvb/v4l/saa7134-input.c:92: error: 'mask_keydown' undeclared (first use in this function) > make[3]: *** [/home/tvbox/v4l-dvb/v4l/saa7134-input.o] Error 1 > make[2]: *** [_module_/home/tvbox/v4l-dvb/v4l] Error 2 > make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic' > make[1]: *** [default] Error 2 > make[1]: Leaving directory `/home/tvbox/v4l-dvb/v4l' > make: *** [all] Error 2 > > background: > Justbought last week a new compro videomate s350 (dvb-s) card after seeing > some positive feedback on forumes saying it is working. But the card I > got has a newer chip set incorporating a saa7135 device and after some > searching found someone else also had the same issue back in June but > managed to fix it with a few changes. I trying to re-produce the > actions (see link below) and re-build the drivers but I'm stuck at the > compile stage (make all). > > http://osdir.com/ml/linux-media/2009-06/msg01256.html > > Can someone advise me on how get past the make error? > > Thanks, > Dominic > hm, likely you are on some older/other stuff. Igor had some merge conflict previously for the S350. Can't see it with current linuxtv.org mercurial v4l-dvb. Please try with that. Cheers, Hermann