* building v4l-dvb - compilation error
@ 2010-01-07 23:24 Karicheri, Muralidharan
2010-01-09 19:42 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 4+ messages in thread
From: Karicheri, Muralidharan @ 2010-01-07 23:24 UTC (permalink / raw)
To: Mauro Carvalho Chehab, linux-media@vger.kernel.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: building v4l-dvb - compilation error
2010-01-07 23:24 building v4l-dvb - compilation error Karicheri, Muralidharan
@ 2010-01-09 19:42 ` Mauro Carvalho Chehab
2010-01-10 13:54 ` Muralidharan Karicheri
0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2010-01-09 19:42 UTC (permalink / raw)
To: Karicheri, Muralidharan; +Cc: linux-media@vger.kernel.org
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=<some_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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: building v4l-dvb - compilation error
2010-01-09 19:42 ` Mauro Carvalho Chehab
@ 2010-01-10 13:54 ` Muralidharan Karicheri
2010-01-11 0:41 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 4+ messages in thread
From: Muralidharan Karicheri @ 2010-01-10 13:54 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media@vger.kernel.org
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
mkaricheri@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: building v4l-dvb - compilation error
2010-01-10 13:54 ` Muralidharan Karicheri
@ 2010-01-11 0:41 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2010-01-11 0:41 UTC (permalink / raw)
To: Muralidharan Karicheri; +Cc: linux-media@vger.kernel.org
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=<some dir>
After that, all subsequent compilations will use the new dir, provided
that you don't do a make distclean.
Cheers,
Mauro.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-11 0:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 23:24 building v4l-dvb - compilation error Karicheri, Muralidharan
2010-01-09 19:42 ` Mauro Carvalho Chehab
2010-01-10 13:54 ` Muralidharan Karicheri
2010-01-11 0:41 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox