RE: hg make problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Hi,
>
>today i've downloaded a new Version with the following command's
>cd hg/v4l-dvb
>hg pull -u http://linuxtv.org/hg/v4l-dvb
>
>then i copied like before the v4l-dvb directory to my /usr/local/src directory
>
>as i did more than once before
>
>the i changed the dirctory to /usr/local/src/DVB
>
>ls output in DVB
>ap DVB # ls -al
>total 64
>drwxr-xr-x   6 root   root  4096 May 20 20:22 .
>drwxr-xr-x  19 root   root  4096 May 20 20:18 ..
>-rw-r--r--   1 gerald users  346 May 20 15:31 .hgignore
>-rw-r--r--   1 gerald users   48 May 20 15:31 .hgtags
>-rw-r--r--   1 root   root  2979 May 20 15:31 INSTALL
>-rw-r--r--   1 root   root  1113 May 20 15:31 Makefile
>-rw-r--r--   1 root   root   236 May 20 15:31 README
>-rw-r--r--   1 root   root  7787 May 20 15:31 README.HG
>-rw-r--r--   1 root   root  1909 May 20 15:31 README.patches
>drwxr-xr-x   6 root   root    32 May 20 15:31 linux
>-rwxr-xr-x   1 root   root  3648 May 20 15:31 mailimport
>drwxr-xr-x   2 root   root    40 May 20 15:31 test
>drwxr-xr-x   5 root   root  4096 May 20 15:53 v4l
>drwxr-xr-x   5 root   root    64 May 20 15:31 v4l_experimental
>
>if i do a make or make all i get the following messages and driver didn't
>
>compile, the make_makefile.pl doesn't end.
>Isn't it possible to compile the module outside the kernel tree or did i
>make 
>an error.
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make[1]: Entering directory `/usr/local/src/DVB-V4L-20060520/v4l'
>scripts/make_makefile.pl
>make[1]: Leaving directory `/usr/local/src/DVB-V4L-20060520/v4l'
>make: *** [all] Interrupt
>
>
>
>kind regards
>Gerald

Argh, you're using either xfs or nfs I suppose.

Please change v4l/Makefile:

<...>
 .version::
 ifneq ($(KERNELRELEASE),)
 @echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE)
> $(obj)/.version
 ifneq ($(SRCDIR),)
 @echo -e SRCDIR=$(SRCDIR)\\n >> $(obj)/.version
 endif
 else
 @echo "No version yet."
 @uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf
("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4);
};' > $(obj)/.version
 endif
<...>

There remove the following two lines:

 @echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE)
> $(obj)/.version

 @echo -e SRCDIR=$(SRCDIR)\\n >> $(obj)/.version

Christoph


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux