UUID/UUID. h; no such file or directory

Source: Internet
Author: User
My error message
......

Global1.cpp: 39: 23: UUID/UUID. h: no such file or directory

Global1.cpp: In static member function 'static quuid Global: generateuuid ()':

Global1.cpp: 188: ': uuid_generate' undeclared (first use here)

Make [1]: *** [. OBJ/Linux-generic-G ++ // global1.o] Error 1

Make [1]: Leaving directory '/usr/src/qtopia-free-1.7.0/src/libraries/qtopia1'

Make: *** [libraries/qtopia1] Error 2

You have new mail in/var/spool/mail/root
Qt compilation Addendum
   After installing the full version of redhat9, You can compile the development environment of qtopia at a time according to the previous tutorial, ......
It won't work in a non-full version of rh9. After countless attempts, we can summarize the following:

Problem 1: UUID. h not found

Solution: Download
E2fsprogs-1.35.tar.gz

, Decompress the compilation, copy the e2fsprogs-1.35/lib/UUID directory to the qtopia-free-1.7.0/include

Problem 2:-luuid not found

Put the e2fsprogs-1.35/lib/UUID/libuuid.Copy the file to usr/lib or qtopia-free-1.7.0/lib
Comment

In fact, the problem is not so complicated: P

CD e2fsprogs-1.35/lib/UUID

Make install

You can ~
Lydia

After searching for a long time, I did not find libuuid. A, and then reported the error "cannot find-lqtopia.

This is the explanation on the Internet:

The lqtopia option of the LD command is used to find a library named libqtopia, which can be libqtopia. A or libqtopia. So.

The reason why the database cannot be found:

1. This database does not exist;

2. The path of this library is not in the LD search path.

Then Lydia Stupidly tried to make the entire e2fsprogs-1.35 and found that it could find libuuid.. It turns out that it is not CP after tar or make directly. It must be make before CP. The above comment is a bit confusing.

Original article address:

Http://bbs.chinaunix.net/thread-1946414-1-1.html

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.