Re: Unable to compile media_build_experimental drivers on Debian stable

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

 



Hello Matthias


find ../linux/drivers/media -name '*.[ch]' -type f -print0 | xargs -0n
255 ln -sfv --target-directory=.
xargs: ln: Zu viele Ebenen aus symbolischen Links


But I found a curious solution.
It works when I echo the xargs output and pipe it into sh.
So this patch resolves my problem:


--- media_build_experimental/v4l/Makefile      2015-10-19
21:59:34.000000000 +0200
+++ media_build_experimental-ml/v4l/Makefile       2015-10-19
22:11:20.000000000 +0200
@@ -262,10 +262,10 @@

  links::
         @echo creating symbolic links...
-       @find ../linux/drivers/media -name '*.[ch]' -type f -print0 |
xargs -0n 255 ln -sf --target-directory=.
-       @find ../linux/sound -name '*.[ch]' -type f -print0 | xargs -0n
255 ln -sf --target-directory=.
-       @find ../linux/drivers/staging -name '*.[ch]' -type f -print0 |
xargs -0n 255 ln -sf --target-directory=.
-       @find ../linux/drivers/misc -name '*.[ch]' -type f -print0 |
xargs -0n 255 ln -sf --target-directory=.
+       @find ../linux/drivers/media -name '*.[ch]' -type f -print0 |
xargs -0n 255 echo ln -sf --target-directory=. | sh
+       @find ../linux/sound -name '*.[ch]' -type f -print0 | xargs -0n
255 echo ln -sf --target-directory=. | sh
+       @find ../linux/drivers/staging -name '*.[ch]' -type f -print0 |
xargs -0n 255 echo ln -sf --target-directory=. | sh
+       @find ../linux/drivers/misc -name '*.[ch]' -type f -print0 |
xargs -0n 255 echo ln -sf --target-directory=. | sh

  config-compat.h:: $(obj)/.version .myconfig scripts/make_config_compat.pl
         perl scripts/make_config_compat.pl $(SRCDIR) $(obj)/.myconfig
$(obj)/config-compat.h


This is strange. Anyhow my VDR is up and running again.
Thanks for providing me a starting point to look at.

Good to here that its working now !
What shell are you using ?
$0 --version
is it the same as
sh --version
?

Regards
Helmut


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux