public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Marko Ristola <marko.ristola@kolumbus.fi>
To: Ola Ekedahl <ola.ekedahl@fra.se>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Multiproto, multiproto_plus & mantis
Date: Fri, 22 Aug 2008 22:30:57 +0300	[thread overview]
Message-ID: <48AF13F1.8040202@kolumbus.fi> (raw)
In-Reply-To: <48AE500A.1060204@fra.se>


Hi,

Here are two ways to accomplish the compilation problem,
the second one might be the easier one for you.


One commonly working way to fix odd compilation problems:
1. Check out from linuxtv.org v4l-dvb-linuxtv (the main branch).
2. Check from there the file v4l-dvb-linuxtv/linux/drivers/media/???/s400.c

There you will probably find the fix for the s400.c problem.
Then you just copy that fix into multiproto s400.c version and compile 
the multiproto version again.

So the wisdom is, that usually v4l-dvb-linuxtv will gain all 
compatibility fixes for many kernels.


Another way to fix compilation problem is to try to disable s400.c 
altogether:
Add into v4l/versions.txt s400.c driver's definition under [2.6.99] and 
remove it from other places in versions.txt.

Idea is that you inform compilation system that s400 doesn't work yet in 
your kernel, but instead it will work under 2.6.99.
Kernel compilation system desides to skip the compilation of the broken 
driver and because you don't need
s400.c, it doesn't matter for you.

Happy hunting.

Regards,
Marko Ristola

Ola Ekedahl kirjoitti:
> Seriously, no one knows what might be wrong? Is it the kernel or might 
> it be the compilation software?
>
>   
>> Gregoire Favre skrev:
>>   
>>     
>>> On Wed, Aug 20, 2008 at 07:48:53AM +0200, Ola Ekedahl wrote:
>>>   
>>>     
>>>       
>>>> Hi,
>>>>
>>>> I have been trying to compile the three different trees in Fedora 7, but 
>>>> all fails with alot of warnings and errors. What are the recomended 
>>>> specification for the kernel, wont it compile with the kernel in Fedora 7?
>>>>     
>>>>       
>>>>         
>>> AFAIK the only actively maintened tree is :
>>> http://liplianindvb.sourceforge.net/cgi-bin/hgwebdir.cgi/liplianindvb/
>>>
>>> Wanny try this one ?
>>>   
>>>     
>>>       
>> I tried to compile the driver, but it failed too. I got the following 
>> error after quite some time:
>>
>>   LD [M]  /home/kurt/Desktop/liplianindvb/v4l/sms1xxx.o
>>   CC [M]  /home/kurt/Desktop/liplianindvb/v4l/s400.o
>> /home/kurt/Desktop/liplianindvb/v4l/s400.c: In function 's400_ir_init':
>> /home/kurt/Desktop/liplianindvb/v4l/s400.c:508: error: 'struct 
>> input_dev' has no member named 'dev'
>> make[3]: *** [/home/kurt/Desktop/liplianindvb/v4l/s400.o] Error 1
>> make[2]: *** [_module_/home/kurt/Desktop/liplianindvb/v4l] Error 2
>> make[2]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory `/home/kurt/Desktop/liplianindvb/v4l'
>> make: *** [all] Error 2
>>
>>
>>
>> Anyone have any idea? Is it because of the dist Im running?
>>
>> Best regards
>>
>> _______________________________________________
>> linux-dvb mailing list
>> linux-dvb@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>
>>   
>>     
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>   


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

      reply	other threads:[~2008-08-22 19:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20  5:48 [linux-dvb] Multiproto, multiproto_plus & mantis Ola Ekedahl
2008-08-20  8:20 ` Gregoire Favre
2008-08-20 14:52   ` Hans Werner
2008-08-21  7:17   ` Ola Ekedahl
2008-08-21  8:44     ` Gregor Fuis
2008-09-07  6:24       ` Manu Abraham
2008-08-22  5:35     ` Ola Ekedahl
2008-08-22 19:30       ` Marko Ristola [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48AF13F1.8040202@kolumbus.fi \
    --to=marko.ristola@kolumbus.fi \
    --cc=linux-dvb@linuxtv.org \
    --cc=ola.ekedahl@fra.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox