Am 18.10.2015 um 23:36 schrieb Matthias Lötzke:
Hello All,
I has been using http://linuxtv.org/hg/~endriss/media_build_experimental for quite some time now. Until recently I never encountered a problem. Now I can't build any more:
make -C /home/matthias/tmp/media_build_experimental/v4l make[1]: Entering directory '/home/matthias/tmp/media_build_experimental/v4l' scripts/make_makefile.pl ./scripts/make_myconfig.pl perl scripts/make_config_compat.pl /lib/modules/3.16.0-4-amd64/source ./.myconfig ./config-compat.h creating symbolic links... xargs: ln: Too many levels of symbolic links
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Makefile:264: recipe for target 'links' failed make[1]: *** [links] Error 126 make[1]: Leaving directory '/home/matthias/tmp/media_build_experimental/v4l' Makefile:28: recipe for target 'all' failed make: *** [all] Error 2 build failed at ./build line 491.
I am using Debian stable with Kernel 3.16.0-4-amd64. Some hundreds maybe thousands of symlinks are being created where the build fails.
Any solution or hint would be highly appreciated.
To track this down go to the v4l directory and execute:
make -n links
which will show: 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=.
execute the find commands to see which one fails for further information use: ln -sfv instead of ln -sf
Regards Helmut