Media_build Issue with altera on cx23885
Commit Message
? ????????? ?? 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?
Comments
Thank you for the patch! I see the drivers/misc path wasn't yet added
to the Makefile.
The build process completed and the driver loads correctly as far as I
can tell. The frontend is still failing to initialize, but at least I
have a new problem to chase. Thanks again!
Evan
On Thu, Oct 6, 2011 at 8:23 AM, Igor M. Liplianin <liplianin@me.by> wrote:
> ? ????????? ?? 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?
>
> --
> Igor M. Liplianin
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
--
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
@@ -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
@@ -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";