Warning: modules_install: missing 'System.map' file. Skipping depmod.
时间: 2024-02-01 17:14:16 浏览: 243
这个警告信息是由于在内核编译安装过程中没有生成 System.map 文件,而 depmod 命令需要使用这个文件来生成模块依赖关系。如果你需要使用模块,可以手动执行 depmod 命令来生成依赖关系:
```
depmod -a <kernel-version>
```
其中,<kernel-version> 是你所编译的内核版本号。
另外,如果你使用的是新版本的内核编译工具链,可能会自动忽略 System.map 文件的生成。你可以考虑使用以下选项来强制生成:
```
make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=<your-module-path> modules_install
```
其中,<your-module-path> 是你指定的模块安装路径。这样可以确保生成 System.map 文件并正确安装模块。
相关问题
make modules_install报错 modules_install: missing 'System.map' file. Skipping depmod
这个错误通常是由于内核编译过程中没有生成 System.map 文件导致的。
要解决这个问题,可以尝试重新编译内核,确保生成 System.map 文件。可以按照以下步骤进行操作:
1. 进入内核源代码目录:
```
cd /usr/src/linux
```
注意:这里假设你的内核源代码目录在 /usr/src/linux,如果不是,请根据实际情况进行修改。
2. 编译内核:
```
make && make modules_install
```
注意:这里需要先执行 make 命令进行编译,再执行 make modules_install 命令进行安装。
3. 安装内核:
```
make install
```
注意:这里需要使用 root 权限执行 make install 命令。
执行完上述命令后,应该可以成功安装内核并生成 System.map 文件,然后再执行 modules_install 命令就不会报错了。
WARNING: Skipping daal as it is not installed.
As an AI language model, I cannot install daal on your system. However, I can give you some suggestions on how to proceed:
1. Install daal: You can install the daal library by following the instructions provided by the vendor or the community. You can search for the installation guide for your specific platform and follow the steps.
2. Use an alternative library: There are many alternative libraries available for various tasks. You can use one of them instead of daal. For example, if you need numerical computations, you can use numpy or scipy.
3. Check your code: If you are using daal in your code, make sure that you have imported it correctly and that you are using it in the right way. Check your code for any errors or typos.
4. Consult the community: If you are facing issues with daal, you can ask for help on the community forums or social media groups. You may also find some helpful resources online that can guide you through the process of installing and using the library.
Remember that daal is a third-party library, and you should always be cautious when installing or using any third-party software on your system.
相关推荐
![rpm](https://img-home.csdnimg.cn/images/20210720083646.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)