[resolved - workaround] If lunar update fails to compile qt4

Zbigniew Luszpinski zbiggy at o2.pl
Mon Sep 27 16:03:50 CEST 2010


Hello,

If lunar update fails to compile qt4 do:
lrm qt4; lin qt4

There is ugly thing which qt4 does: it tries to compile current version 
using libs and headers from older installed qt4 version - this must fail.

have a nice day,
Zbigniew Luszpinski

Here is how it fails:
g++ -s -Wl,-O1 -z combreloc -Wl,--hash-style=both -Wl,--sort-common -Wl,--
no-undefined -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -Wl,-rpath,/usr/lib/qt4 -
shared -Wl,-soname,libQtXml.so.4 -o libQtXml.so.4.7.0 .obj/release-
shared/qdom.o .obj/release-shared/qxml.o   -L/usr/lib/mysql -L/usr/lib -
L/usr/lib/postgresql -L/usr/src/qt-everywhere-opensource-src-4.7.0/lib -
lQtCore -L/usr/lib -lpthread  
.obj/release-shared/qdom.o: In function 
`QList<QDomNodePrivate*>::detach_helper_grow(int, int)':
qdom.cpp:
(.text._ZN5QListIP15QDomNodePrivateE18detach_helper_growEii[QList<QDomNodePrivate*>::detach_helper_grow(int, 
int)]+0x35): undefined reference to `QListData::detach_grow(int*, int)'
.obj/release-shared/qdom.o: In function 
`QList<QDomNodePrivate*>::detach_helper(int)':
qdom.cpp:
(.text._ZN5QListIP15QDomNodePrivateE13detach_helperEi[QList<QDomNodePrivate*>::detach_helper(int)]+0x2e): 
undefined reference to `QListData::detach(int)'
.obj/release-shared/qxml.o: In function 
`QList<QString>::detach_helper_grow(int, int)':
qxml.cpp:
(.text._ZN5QListI7QStringE18detach_helper_growEii[QList<QString>::detach_helper_grow(int, 
int)]+0x38): undefined reference to `QListData::detach_grow(int*, int)'
.obj/release-shared/qxml.o: In function 
`QList<QXmlAttributes::Attribute>::detach_helper_grow(int, int)':
qxml.cpp:
(.text._ZN5QListIN14QXmlAttributes9AttributeEE18detach_helper_growEii[QList<QXmlAttributes::Attribute>::detach_helper_grow(int, 
int)]+0x38): undefined reference to `QListData::detach_grow(int*, int)'
.obj/release-shared/qxml.o: In function 
`QList<QString>::detach_helper(int)':
qxml.cpp:
(.text._ZN5QListI7QStringE13detach_helperEi[QList<QString>::detach_helper(int)]+0x2d): 
undefined reference to `QListData::detach(int)'
.obj/release-shared/qxml.o: In function 
`QList<QXmlAttributes::Attribute>::detach_helper(int)':
qxml.cpp:
(.text._ZN5QListIN14QXmlAttributes9AttributeEE13detach_helperEi[QList<QXmlAttributes::Attribute>::detach_helper(int)]+0x2d): 
undefined reference to `QListData::detach(int)'
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtXml.so.4.7.0] Błąd 1
make[1]: Opuszczenie katalogu `/usr/src/qt-everywhere-opensource-
src-4.7.0/src/xml'
make: *** [sub-xml-make_default-ordered] Błąd 2
++ Mark Compile stop   : "qt4" "4.7.0" "Mon, 27 Sep 2010 11:11:25 +0000"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4595 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/lunar/attachments/20100927/f4469756/attachment.bin>


More information about the Lunar mailing list