An error occurred while compiling the hello driver.

Source: Internet
Author: User
Please refer to the following link for details: failed to compile the hello driver module-General Linux technology-Linux programming and kernel information. The kernel source code tree has been set up, and makefile is exactly the same as in LDD3, but the compilation always fails. thank you for your answers!

K @ ubuntu :~ /Driver $ make
Make-C/lib/modules/2.6.32-33-generic/build M =/home/k/driver modules
Make [1]: entering Directory '/usr/src/linux-headers-2.6.32-33-generic'
Scripts/Makefile. build: 44:/home/k/driver/Makefile: no file or directory
Make [2]: *** you can create the target "/home/k/driver/Makefile" without rules ". Stop.
Make [1]: *** [_ module _/home/k/driver] error 2
Make [1]: leaving Directory '/usr/src/linux-headers-2.6.32-33-generic'
Make: *** [default] error 2
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.