Linux kernel module programming problems

Source: Internet
Author: User
Linux kernel module programming problems-General Linux technology-Linux programming and kernel information, the following is a detailed description. I use the ubuntu system.
If kernel module programming is involved, do you need to download the source code package and configure the compilation? you can use the make-kpkg command to generate the related. deb file and install it later.
For some reason, I directly downloaded the. deb file compiled by someone else and installed the new kernel to run normally.
Recently, I have seen a paragraph like this: "kernel source code that needs to be configured for module compilation in the 2.6 kernel". However, I have used the above method to install the new kernel. Naturally, no source code has been configured for this configuration, how can this problem be solved?

SP: I have tried the routine, make -- insmod -- run, all of them are normal, but there is a warning:
WARNING: Symbol version dump/usr/src/linux-headers-2.6.32-122-rtai/Module. symvers
Is missing; modules will have no dependencies and modversions.
I hope you will kindly advise ....
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.