make modules报错ln: target '/source' is not a directory
程序员文章站
2024-02-28 08:20:16
...
参考
ln: target ‘libcublas’ is not a directory
i.MX6Q kernel compilation for camera/video (gstreamer)
sudo -E env "PATH=$PATH" make INSTALL_MOD_PATH=~/Apalis-iMX6-LXDE-Image_2.8.4/rootfs/ modules_install
问题
现象,
[email protected]:~/project$ make modules_install
ln: target '/source' is not a directory
Makefile:1232: recipe for target '_modinst_' failed
make: *** [_modinst_] Error 1
调试Makefile发现,
ln -s /program/zynqmp/linux-xlnx-v2018.2 /project/zynqmp_rootfs/lib/modules/4.14.0-fdk-1.0.0-20181120.1856 /source
版本号后面多加了个空格,导致语法错误,哎。