USB Driver Compilation Error

和自甴很熟 提交于 2019-12-06 07:24:11

The API inside the kernel (available header files, their contents, function prototypes (or if they exist in the first place), ...) is not fixed (see Documentation/stable_api_nonsense.txt in your nearest Linux source if you are curious), so a driver can typically only be compiled for a rather narrow range of kernels. Check if the source is (roughly) contemporary with the kernel.

You should also check if a driver for that has already been included in the kernel, either as an official driver or in the staging area. Look around Linux USB to check for alternative drivers and other news. If nothing else helps, you should take a look at LWN's kernel pages (search there for functions you can't find in the current source and discussion on replacement), probably after using something like cscope to create an index of your source (kernel and driver). Please do get in touch with the people responsible for this area, so they know you are groping around and perhaps give some pointers.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!