[linux-dvb] User compile of Hg version broken
Mauro Carvalho Chehab
mchehab at infradead.org
Thu Apr 27 00:46:26 CEST 2006
Em Qua, 2006-04-26 às 14:31 -0700, Trent Piepho escreveu:
> On Wed, 26 Apr 2006, Mauro Carvalho Chehab wrote:
> > Em Ter, 2006-04-25 s 16:54 -0700, Trent Piepho escreveu:
> > > On Tue, 25 Apr 2006, Mauro Carvalho Chehab wrote:
> > > I didn't need write access to the kernel sources to use make *config before
> > > this change.
> > Before this change, the user should go first to kernel dir, do a make
> > *config, to generate the required files to build menu. While this is not
> > an issue to advanced users, it is not good to newbies.
> So now you download a second copy of the kernel source, install that,
> and figure out how to get the Hg version to look at it instead of the
> system source it finds automatically?
Huh??? NO! You don't need this!
> That seems like even more
> trouble than going to the system kernel and doing a make xxxconfig
> first. I like Michael Krufky's suggestion, add a command to build the
> kernel conf system to the v4l-dvb makefile, but don't make it
> automatic. Test for *conf and if it's not there print this:
It is checking if you had built it before. If not, *then* it will try to
build at kernel tree (check the latest hg version).
> Kernel 2.6.12. Even if I'm root, it tries to compile without needing
> to, and when it does, it doesn't work:
> [root at t2 v4l-dvb]# make xconfig
> scripts/kconfig/mconf.c:1045: error: 'LC_ALL' undeclared (first use in this function)
> scripts/kconfig/mconf.c:1045: error: (Each undeclared identifier is reported only once
> scripts/kconfig/mconf.c:1045: error: for each function it appears in.)
LC_ALL is an environment var about your current language. All distros I
know have this defined (also an entire bunch of LC_foo stuff), like:
It seems to be something weird on your environment... Maybe kernel
Makefile do some trick for this one. probably, if we do LC_ALL=C at the
building line will make it work on 2.6.12.
More information about the linux-dvb