Re: building v4l-dvb - compilation error

2010-01-10 Thread Mauro Carvalho Chehab
Muralidharan Karicheri wrote:
> Mauro,
> 
> I ran the build using my ubunto linux box at home and it has succeeded
> the build.
>>> make[2]: Leaving directory `/usr/src/kernels/2.6.9-55.0.12.EL-smp-i686'
>> The minimum supported version by the backport is 2.6.16.
> Hmm. Does that means, the build is using the kernel source code
> natively available at /usr/src/kernel. Is there a way to force it use
> a specific kernel source code?

Yes:
make release DIR=

After that, all subsequent compilations will use the new dir, provided
that you don't do a make distclean.

Cheers,
Mauro.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: building v4l-dvb - compilation error

2010-01-10 Thread Muralidharan Karicheri
Mauro,

I ran the build using my ubunto linux box at home and it has succeeded
the build.
>
>> make[2]: Leaving directory `/usr/src/kernels/2.6.9-55.0.12.EL-smp-i686'
>
> The minimum supported version by the backport is 2.6.16.
Hmm. Does that means, the build is using the kernel source code
natively available at /usr/src/kernel. Is there a way to force it use
a specific kernel source code?

-- 
Murali Karicheri
mkarich...@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: building v4l-dvb - compilation error

2010-01-09 Thread Mauro Carvalho Chehab
Karicheri, Muralidharan wrote:
> Hi,
> 
> I have installed mercurial and cloned the v4l-dvb tree. I tried doing a build 
> as per instructions and I get the following error. Since I am in the process 
> of validating my build environment, I am not sure if the following is a 
> genuine build error or due to my environment...
> 
> Other questions I have are:-
> 
> 1) I am just doing make. So does this build all v4l2 drivers?

Yes.

> 2) Which target this build for?

The one found on your running. You may force a different target with
make ARCH=

> 3) What output this build create?

The *.ko modules.

> make[2]: Leaving directory `/usr/src/kernels/2.6.9-55.0.12.EL-smp-i686'

The minimum supported version by the backport is 2.6.16.


Cheers,
Mauro.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


building v4l-dvb - compilation error

2010-01-07 Thread Karicheri, Muralidharan
Hi,

I have installed mercurial and cloned the v4l-dvb tree. I tried doing a build 
as per instructions and I get the following error. Since I am in the process of 
validating my build environment, I am not sure if the following is a genuine 
build error or due to my environment...

Other questions I have are:-

1) I am just doing make. So does this build all v4l2 drivers?
2) Which target this build for?
3) What output this build create?
 
CC [M]  /local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.o
In file included from /local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:9:
/local/mkaricheri/mercury/v4l-dvb/v4l/compat.h:463: warning: "struct snd_card" d
eclared inside parameter list
/local/mkaricheri/mercury/v4l-dvb/v4l/compat.h:463: warning: its scope is only t
his definition or declaration, which is probably not what you want
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:32: error: invalid lvalue i
n unary `&'
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:32: error: initializer elem
ent is not constant
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:32: error: (near initializa
tion for `__param_arr_atv_input.num')
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:33: error: invalid lvalue i
n unary `&'
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:33: error: initializer elem
ent is not constant
/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.c:33: error: (near initializa
tion for `__param_arr_dtv_input.num')
make[3]: *** [/local/mkaricheri/mercury/v4l-dvb/v4l/tuner-simple.o] Error 1
make[2]: *** [_module_/local/mkaricheri/mercury/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-55.0.12.EL-smp-i686'
make[1]: *** [default] Error 2


Murali Karicheri

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html