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