From patchwork Thu Oct 6 13:23:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igor M. Liplianin" X-Patchwork-Id: 8068 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1RBnuq-0001TE-GO; Thu, 06 Oct 2011 15:23:35 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp id 1RBnup-0007Jv-IS; Thu, 06 Oct 2011 15:23:12 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964890Ab1JFNXH (ORCPT + 4 others); Thu, 6 Oct 2011 09:23:07 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:44987 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964826Ab1JFNXF (ORCPT ); Thu, 6 Oct 2011 09:23:05 -0400 Received: by gyg10 with SMTP id 10so2549664gyg.19 for ; Thu, 06 Oct 2011 06:23:05 -0700 (PDT) Received: by 10.223.64.65 with SMTP id d1mr3581689fai.32.1317907384982; Thu, 06 Oct 2011 06:23:04 -0700 (PDT) Received: from useri.localnet ([93.125.112.3]) by mx.google.com with ESMTPS id w6sm7159656fah.0.2011.10.06.06.23.03 (version=SSLv3 cipher=OTHER); Thu, 06 Oct 2011 06:23:04 -0700 (PDT) From: "Igor M. Liplianin" To: Evan Platt , Mauro Chehab Subject: Re: Media_build Issue with altera on cx23885 Date: Thu, 6 Oct 2011 16:23:13 +0300 User-Agent: KMail/1.13.6 (Linux/3.1.0-rc6+; KDE/4.5.5; x86_64; ; ) Cc: linux-media@vger.kernel.org, Abylai Ospan References: In-Reply-To: MIME-Version: 1.0 Message-Id: <201110061623.13253.liplianin@me.by> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.10.6.131524 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, MIME_TEXT_ONLY_MP_MIXED 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __DATE_TZ_RU 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __HIGHBITS 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: 1.8 (+) X-LSpam-Report: No, score=1.8 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, KB_DATE_CONTAINS_TAB=2.751, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SORBS_WEB=0.77, TAB_IN_FROM=2.494, T_TVD_MIME_EPI=0.01 autolearn=no ? ????????? ?? 5 ??????? 2011 23:04:34 ????? Evan Platt ???????: > V4L-DVB was previously working correctly for me. I was experiencing > some problems which had been solved before by recompiling v4l. So I > cloned the latest media_build tree and ran the build process. > > Afterward, the driver does not load correctly and dmesg shows an error > (cx23885: Unknown symbol altera_init (err 0)). I know there was a > change to move altera from staging to misc but I see that the changes > were propogated to media_build on 9/26/11. > > I ran menuconfig and made sure that MISC_DEVICES was set to 'y' to > include altera-stapl but to no avail. > > Please advise. > > Some relevant information: > > Device: Hauppauge HVR-1250 Tuner > Driver: cx23885 > Environment: Ubuntu 11.04, 2.6.38-11-generic > > Thanks! > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Hi Evan, Just try attached patch against media_build. It fixes altera-stapl build for media_build tree. Mauro, is this a correct patch? diff --git a/v4l/Makefile b/v4l/Makefile index 311924e..14bfe46 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -257,6 +257,7 @@ links:: @find ../linux/drivers/media -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. @find ../linux/sound -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. @find ../linux/drivers/staging -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. + @find ../linux/drivers/misc -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. config-compat.h:: $(obj)/.version .myconfig scripts/make_config_compat.pl perl scripts/make_config_compat.pl $(SRCDIR) $(obj)/.myconfig $(obj)/config-compat.h diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl index 1832e5b..112ef0d 100755 --- a/v4l/scripts/make_makefile.pl +++ b/v4l/scripts/make_makefile.pl @@ -205,6 +205,7 @@ open OUT, '>Makefile.media' or die 'Unable to write Makefile.media'; open_makefile('../linux/drivers/media/Makefile'); find({wanted => \&parse_dir, no_chdir => 1}, '../linux/drivers/staging'); +find({wanted => \&parse_dir, no_chdir => 1}, '../linux/drivers/misc'); # Creating Install rule print OUT "media-install::\n";