| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
Hey all, I've been trying to compile a snapshot of Qt 4.4 from today and also another one from a couple of days ago and I get the same error on clucene, here it goes: /usr/bin/ld: warning: libQtCLucene.so.4, needed by /home/pat/src/qtx1144/lib/libQtHelp.so, not found (try using -rpath or -rpath-link) /home/pat/src/qtx1144/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::isLocked(QString const&)' /home/pat/src/qtx1144/lib/libQtHelp.so: undefined reference to `QCLuceneIndexSearcher::close()' /home/pat/src/qtx1144/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::get(QString const&) const' /home/pat/src/qtx1144/lib/libQtHelp.so: undefined reference to `QCLuceneIndexSearcher::QCLuceneIndexSearcher(QString const&)' collect2: ld returned 1 exit status make[4]: *** [../../../../bin/assistant_new] Error 1 make[4]: Leaving directory `/home/pat/src/qtx1144/tools/assistant/tools/assistant' make[3]: *** [sub-assistant-make_default-ordered] Error 2 make[3]: Leaving directory `/home/pat/src/qtx1144/tools/assistant/tools' make[2]: *** [sub-tools-make_default-ordered] Error 2 make[2]: Leaving directory `/home/pat/src/qtx1144/tools/assistant' make[1]: *** [sub-assistant-make_default-ordered] Error 2 Any idea how to fix this? Thanks in advance Pat -- [ signature omitted ]
Patrick Aljord wrote: >Hey all, >I've been trying to compile a snapshot of Qt 4.4 from today and also >another one from a couple of days ago and I get the same error on >clucene, here it goes: > >/usr/bin/ld: warning: libQtCLucene.so.4, needed by >/home/pat/src/qtx1144/lib/libQtHelp.so, not found (try using -rpath or >-rpath-link) I managed to reproduce this problem today at the office. We've fixed it. It should be in tonight's snapshots. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
Thanks Thiago, I get this new error now from 24 of november snapshot: g++ -Wl,--no-undefined -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -o ../../bin/patternist .obj/release-shared/main.o .obj/release-shared/qcoloroutput.o .obj/release-shared/qcoloringmessagehandler.o -L/home/pat/src/qtx1144/lib -lQtXmlPatterns -L/home/pat/src/qtx1144/lib -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread .obj/release-shared/main.o: In function `main': /home/pat/src/qtx1144/tools/patternist/main.cpp:168: undefined reference to `QXmlSerializer::QXmlSerializer(QXmlQuery const&)' /home/pat/src/qtx1144/tools/patternist/main.cpp:169: undefined reference to `QXmlSerializer::setOutputDevice(QIODevice*)' collect2: ld returned 1 exit status make[2]: *** [../../bin/patternist] Error 1 make[2]: Leaving directory `/home/pat/src/qtx1144/tools/patternist' make[1]: *** [sub-patternist-make_default-ordered] Error 2 make[1]: Leaving directory `/home/pat/src/qtx1144/tools' make: *** [sub-tools-make_default-ordered] Error 2 thanx in advance Pat -- [ signature omitted ]
Em Saturday 24 November 2007 18:59:47 Patrick Aljord escreveu: > Thanks Thiago, I get this new error now from 24 of november snapshot: > > g++ -Wl,--no-undefined > -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib > -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -o > ../../bin/patternist .obj/release-shared/main.o > .obj/release-shared/qcoloroutput.o > .obj/release-shared/qcoloringmessagehandler.o > -L/home/pat/src/qtx1144/lib -lQtXmlPatterns > -L/home/pat/src/qtx1144/lib -pthread -pthread -lQtCore -lz -lm > -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread > .obj/release-shared/main.o: In function `main': > /home/pat/src/qtx1144/tools/patternist/main.cpp:168: undefined > reference to `QXmlSerializer::QXmlSerializer(QXmlQuery const&)' > /home/pat/src/qtx1144/tools/patternist/main.cpp:169: undefined > reference to `QXmlSerializer::setOutputDevice(QIODevice*)' > collect2: ld returned 1 exit status > make[2]: *** [../../bin/patternist] Error 1 > make[2]: Leaving directory `/home/pat/src/qtx1144/tools/patternist' > make[1]: *** [sub-patternist-make_default-ordered] Error 2 > make[1]: Leaving directory `/home/pat/src/qtx1144/tools' > make: *** [sub-tools-make_default-ordered] Error 2 > > thanx in advance We will take a look. I haven't been able to reproduce this problem yet. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
Patrick Aljord wrote:
> Thanks Thiago, I get this new error now from 24 of november snapshot:
>
> g++ -Wl,--no-undefined
> -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib
> -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -o
> ../../bin/patternist .obj/release-shared/main.o
> .obj/release-shared/qcoloroutput.o
> .obj/release-shared/qcoloringmessagehandler.o
> -L/home/pat/src/qtx1144/lib -lQtXmlPatterns
> -L/home/pat/src/qtx1144/lib -pthread -pthread -lQtCore -lz -lm
> -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
> .obj/release-shared/main.o: In function `main':
> /home/pat/src/qtx1144/tools/patternist/main.cpp:168: undefined
> reference to `QXmlSerializer::QXmlSerializer(QXmlQuery const&)'
> /home/pat/src/qtx1144/tools/patternist/main.cpp:169: undefined
> reference to `QXmlSerializer::setOutputDevice(QIODevice*)'
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/patternist] Error 1
> make[2]: Leaving directory `/home/pat/src/qtx1144/tools/patternist'
> make[1]: *** [sub-patternist-make_default-ordered] Error 2
> make[1]: Leaving directory `/home/pat/src/qtx1144/tools'
> make: *** [sub-tools-make_default-ordered] Error 2
>
> thanx in advance
>
> Pat
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
The same behavior under Windows:
cd patternist\ && "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Debug all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
link /LIBPATH:"c:\Qt\4.4.0\lib" /LIBPATH:"c:\Qt\4.4.0\lib" /NOLOGO /DEBUG
/MANIFESTFILE:"tmp\obj\debug_shared\patternist.intermediate.manifest" /SUBSYSTEM:WINDOWS
"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows
.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*'
processorArchitecture='*'" c:\Qt\4.4.0\lib\qtmaind.lib c:\Qt\4.4.0\lib\QtXmlPatternsd4.lib
c:\Qt\4.4.0\lib\QtCored4.lib /OUT:..\..\bin\patternist.exe @C:\DOCUME~1\zkr\LOCALS~1\Temp\nm4A5.tmp
main.obj : error LNK2019: unresolved external symbol "public: void __thiscall
QXmlSerializer::setOutputDevice(class QIODevice *)"
(?setOutputDevice@QXmlSerializer@@QAEXPAVQIODevice@@@Z) referenced in function _main
main.obj : error LNK2019: unresolved external symbol "public: __thiscall
QXmlSerializer::QXmlSerializer(class QXmlQuery const &)" (??0QXmlSerializer@@QAE@ABVQXmlQuery@@@Z)
referenced in function _main..\..\bin\patternist.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return
code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return
code '0x2'
Stop.
I have looked at QtXmlPatternsd4.dll with depends.exe and there are no symbols like QXmlSerializer::*
The linker striped them off ??
Regards,
Albert
--
[ signature omitted ]
Same on mac with 26th nov snapshot On Nov 27, 2007, at 5:44 PM, Albert Zhykhar wrote: > Patrick Aljord wrote: >> Thanks Thiago, I get this new error now from 24 of november snapshot: >> g++ -Wl,--no-undefined >> -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib >> -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -o >> ../../bin/patternist .obj/release-shared/main.o >> .obj/release-shared/qcoloroutput.o >> .obj/release-shared/qcoloringmessagehandler.o >> -L/home/pat/src/qtx1144/lib -lQtXmlPatterns >> -L/home/pat/src/qtx1144/lib -pthread -pthread -lQtCore -lz -lm >> -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread >> .obj/release-shared/main.o: In function `main': >> /home/pat/src/qtx1144/tools/patternist/main.cpp:168: undefined >> reference to `QXmlSerializer::QXmlSerializer(QXmlQuery const&)' >> /home/pat/src/qtx1144/tools/patternist/main.cpp:169: undefined >> reference to `QXmlSerializer::setOutputDevice(QIODevice*)' >> collect2: ld returned 1 exit status >> make[2]: *** [../../bin/patternist] Error 1 >> make[2]: Leaving directory `/home/pat/src/qtx1144/tools/patternist' >> make[1]: *** [sub-patternist-make_default-ordered] Error 2 >> make[1]: Leaving directory `/home/pat/src/qtx1144/tools' >> make: *** [sub-tools-make_default-ordered] Error 2 >> thanx in advance >> Pat >> -- >> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx >> with "unsubscribe" in the subject or the body. >> List archive and information: http://lists.trolltech.com/qt-interest/ > > > The same behavior under Windows: > > > cd patternist\ && "C:\Program Files\Microsoft Visual Studio > 8\VC\BIN\nmake.exe" -f Makefile > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 > Copyright (C) Microsoft Corporation. All rights reserved. > > "C:\Program Files\Microsoft Visual Studio 8\VC\BIN > \nmake.exe" -f Makefile.Debug all > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 > Copyright (C) Microsoft Corporation. All rights reserved. > > link /LIBPATH:"c:\Qt\4.4.0\lib" /LIBPATH:"c:\Qt\4.4.0\lib" / > NOLOGO /DEBUG /MANIFESTFILE:"tmp\obj\debug_shared > \patternist.intermediate.manifest" /SUBSYSTEM:WINDOWS "/ > MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows > .Common-Controls' version='6.0.0.0' > publicKeyToken='6595b64144ccf1df' language='*' > processorArchitecture='*'" c:\Qt\4.4.0\lib\qtmaind.lib c:\Qt\4.4.0 > \lib\QtXmlPatternsd4.lib c:\Qt\4.4.0\lib\QtCored4.lib /OUT:..\..\bin > \patternist.exe @C:\DOCUME~1\zkr\LOCALS~1\Temp\nm4A5.tmp > main.obj : error LNK2019: unresolved external symbol "public: void > __thiscall QXmlSerializer::setOutputDevice(class QIODevice *)" (? > setOutputDevice@QXmlSerializer@@QAEXPAVQIODevice@@@Z) referenced in > function _main > main.obj : error LNK2019: unresolved external symbol "public: > __thiscall QXmlSerializer::QXmlSerializer(class QXmlQuery const > &)" (??0QXmlSerializer@@QAE@ABVQXmlQuery@@@Z) referenced in > function _main..\..\bin\patternist.exe : fatal error LNK1120: 2 > unresolved externals > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual > Studio 8\VC\BIN\link.EXE"' : return code '0x460' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual > Studio 8\VC\BIN\nmake.exe"' : return code '0x2' > Stop. > > > I have looked at QtXmlPatternsd4.dll with depends.exe and there are > no symbols like QXmlSerializer::* > The linker striped them off ?? > > > Regards, > Albert > > -- > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx > with "unsubscribe" in the subject or the body. > List archive and information: http://lists.trolltech.com/qt-interest/ > -- [ signature omitted ]
same here with 27th of November. -- [ signature omitted ]
Em Saturday 24 November 2007 18:59:47 Patrick Aljord escreveu: > Thanks Thiago, I get this new error now from 24 of november snapshot: > > g++ -Wl,--no-undefined > -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib > -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.0-snapshot-20071124/lib -o > ../../bin/patternist .obj/release-shared/main.o > .obj/release-shared/qcoloroutput.o > .obj/release-shared/qcoloringmessagehandler.o > -L/home/pat/src/qtx1144/lib -lQtXmlPatterns > -L/home/pat/src/qtx1144/lib -pthread -pthread -lQtCore -lz -lm > -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread > .obj/release-shared/main.o: In function `main': > /home/pat/src/qtx1144/tools/patternist/main.cpp:168: undefined > reference to `QXmlSerializer::QXmlSerializer(QXmlQuery const&)' > /home/pat/src/qtx1144/tools/patternist/main.cpp:169: undefined > reference to `QXmlSerializer::setOutputDevice(QIODevice*)' > collect2: ld returned 1 exit status > make[2]: *** [../../bin/patternist] Error 1 > make[2]: Leaving directory `/home/pat/src/qtx1144/tools/patternist' > make[1]: *** [sub-patternist-make_default-ordered] Error 2 > make[1]: Leaving directory `/home/pat/src/qtx1144/tools' > make: *** [sub-tools-make_default-ordered] Error 2 Thanks for the reports. I managed to reproduce the problem here on a snapshot checkout. The problem doesn't appear in our internal builds because of some extra symbols we define for our unit tests. It seems the problem is fixed and should be in tonight's snapshot. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
Thanks but I get a new error. I was just thinking, maybe you could set a build bot that would indicate on a webpage or by feed what snapshot actually builds and which one doesn't :-) here is the new error: make[2]: Entering directory `/home/pat/src/qtx441128/examples/help' cd contextsensitivehelp/ && make -f Makefile make[3]: Entering directory `/home/pat/src/qtx441128/examples/help/contextsensitivehelp' /home/pat/src/qtx441128/bin/qmake -spec ../../../mkspecs/linux-g++ -unix -o Makefile contextsensitivehelp.pro make[3]: Leaving directory `/home/pat/src/qtx441128/examples/help/contextsensitivehelp' make[3]: Entering directory `/home/pat/src/qtx441128/examples/help/contextsensitivehelp' /home/pat/src/qtx441128/bin/uic wateringconfigdialog.ui -o .uic/release-shared/ui_wateringconfigdialog.h File 'wateringconfigdialog.ui' is not valid make[3]: *** [.uic/release-shared/ui_wateringconfigdialog.h] Error 1 make[3]: Leaving directory `/home/pat/src/qtx441128/examples/help/contextsensitivehelp' make[2]: *** [sub-contextsensitivehelp-make_default-ordered] Error 2 make[2]: Leaving directory `/home/pat/src/qtx441128/examples/help' make[1]: *** [sub-help-make_default] Error 2 make[1]: Leaving directory `/home/pat/src/qtx441128/examples' make: *** [sub-examples-make_default-ordered] Error 2 -- [ signature omitted ]
Em Wednesday 28 November 2007 18:36:44 você escreveu: > Thanks but I get a new error. I was just thinking, maybe you could set > a build bot that would indicate on a webpage or by feed what snapshot > actually builds and which one doesn't :-) They are all supposed to build, but we make no guarantees about it. We only promise that things build in actual packages we release. In any case, this is a very bad week for testing snapshots because we are merging lots of branches, so breakages are expected. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.