Menu Home



qtopia: 2.2.0
OS: ubuntu 12.1


sudo apt-get -y install x-dev libx11-dev x11proto-xext-dev  libxext-dev libqt3-mt-dev uuid uuid-dev 
sudo apt-get install libv4l-dev


  • 问题1
  • 安装libv4l-dev后还是会提示缺少 linux/videodev.h
  • 解决
  • 原因是 3.2.0 已经移除了对 v4l1 的支持,可以在linux/目录下建立软链接: ln -s /usr/include/lib4l1.h /usr/include/linux/videodev.h
  • 问题2
  • error: ‘ptrdiff_t’ does not name a type
  • 解决
  • 这个错误应该是libc的版本造成的,解决的方法是在每个报错的头文件中加入 include <stddef>
  • 问题3
  • undefined reference to `uuid_generate'
  • 解决
  • git clone git:// 或者网络下载e2fsprogs源码包 编译e2fsprogs:
    • ./configure --enable-elf-shlibs
    • sudo cp -av* /usr/lib

接下来正常编译qtopia,Done !

6 replies

  1. Thank you a lot for giving everyone an extremely splendid possiblity to check tips from this site. It is often so useful and also full of a great time for me personally and my office friends to visit your website more than thrice every week to read through the fresh guidance you will have. Of course, I am just at all times amazed concerning the striking points you give. Selected two ideas in this posting are easily the finest we have ever had.

  2. I wish to show my appreciation to this writer just for rescuing me from such a setting. Just after searching throughout the the web and seeing techniques which were not productive, I figured my life was over. Being alive without the presence of solutions to the difficulties you’ve fixed as a result of your main report is a serious case, and ones which might have negatively damaged my entire career if I hadn’t encountered your website. Your own capability and kindness in taking care of a lot of stuff was precious. I am not sure what I would’ve done if I had not discovered such a point like this. It’s possible to at this point look ahead to my future. Thanks so much for your skilled and sensible help. I will not hesitate to suggest your site to any person who will need tips on this matter.

  3. I am also writing to let you understand of the helpful experience my child gained going through your webblog. She learned numerous issues, which included how it is like to possess a great giving character to make others without difficulty know just exactly some tricky topics. You truly exceeded our expectations. I appreciate you for imparting these essential, dependable, educational and even unique thoughts on the topic to Lizeth.

  4. I am only writing to make you understand what a superb discovery my wife’s daughter obtained visiting your site. She mastered many details, which include what it is like to possess a very effective coaching style to have many people smoothly completely grasp specified extremely tough issues. You truly did more than visitors’ expectations. Thanks for coming up with the warm and helpful, dependable, educational as well as easy guidance on your topic to Lizeth.

  5. Thanks a lot for providing individuals with such a nice chance to read in detail from this website. It can be so fantastic and as well , stuffed with a great time for me and my office peers to search the blog at the very least 3 times in 7 days to read through the latest issues you have. And of course, I’m so actually impressed with all the incredible ideas you serve. Selected 4 facts in this article are in truth the most effective I’ve had.

  6. I as well as my guys were looking through the best thoughts from your site and then suddenly I got an awful suspicion I had not thanked the web blog owner for those secrets. My women happened to be glad to learn all of them and have definitely been making the most of these things. Appreciation for actually being quite helpful and also for making a choice on this kind of beneficial ideas millions of individuals are really wanting to discover. My very own sincere apologies for not saying thanks to you sooner.

Leave a Reply

Your email address will not be published.