[linux-dvb] User compile of Hg version broken

Trent Piepho xyzzy at speakeasy.org
Tue Apr 25 01:34:39 CEST 2006


After this patch I can no longer compile the Hg version of v4l-dvb without
root access.

changeset:   3844:4d008d32fdcb
user:        Mauro Carvalho Chehab <mchehab at infradead.org>
date:        Sat Apr 22 09:42:38 2006 -0300
summary:     Adds capability to build conf/mconf/qconf/lxdialog at kernel tree

If I try to compile without root access, the build system tries to build the
kernel conf system:

make -C /lib/modules/2.6.12-12mdkcustom/build
srctree=/lib/modules/2.6.12-12mdkcustom/build HOSTCXX=g++ HOSTCC=cc -I. CONFIG_SHELL=/bin/sh -f
/lib/modules/2.6.12-12mdkcustom/build/scripts/Makefile.build obj=scripts/kconfig qconf-target=1 scripts/kconfig/qconf
make[2]: Entering directory `/usr/src/linux-2.6.12-12mdk'
  cc -Wp,-MD,scripts/kconfig/.conf.o.d        -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c

Of course this command, to build conf.o inside the system kernel tree, fails
without root access.  It seems like it thinks conf.c needs to be compiled, but
it doesn't.

$ ls -l /usr/src/linux/scripts/kconfig/conf*
-rwxr-xr-x  1 root root 80537 Mar 24 16:54 /usr/src/linux/scripts/kconfig/conf*
-rw-r--r--  1 root root 10848 Jun 17  2005 /usr/src/linux/scripts/kconfig/conf.c
-rw-r--r--  1 root root  9874 Jun 17  2005 /usr/src/linux/scripts/kconfig/confdata.c
-rw-r--r--  1 root root 10368 Apr 24 15:59 /usr/src/linux/scripts/kconfig/conf.o

It was built as part of the last kernel build and doesn't need to be remade.
If I revert changeset 4d008d32fdcb then I can run make xconfig/menuconfig for
v4l-dvb and build without problems.



More information about the linux-dvb mailing list