我是linux设备驱动程序开发的新手。我正在尝试编写一个simple hello world module,它将显示在我试图将hello_world模块插入到内核中的系统上运行的内核版本。我使用version.h中的LINUX_VERSION_CODE获取linux版本并构建模块。有没有人可以帮我找到要插入ko的本地机器的linux版本,而不是找到构建模块的内核版本
在使用api 19之前,我可以创建模拟器并运行项目。当更新我的Android中的api级别并尝试创建模拟器时,我得到了这个错误。我正在使用Linux操作系统。**以下代码** you will haveConsider moving to a 64-bit Linux system before that happens.
我解压驱动程序并运行"amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run“脚本。但这给了我一个错误。/lib/modules/3.6.10-4.fc18.x86_64/build/include/linux/version.h cannot be found on this system.