mingw QT Compile - Input line too long
Patrick Spendrin
ps_ml at gmx.de
Fri Jan 22 13:27:21 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Edwardes schrieb:
> Hi,
>
>
>
> Ive actually got two build directories, kderoot for msvc2008 and (now)
> kdem for mingw. This error is for msvc2008. (The mingw qt build is
> happily chugging away at the moment!).
Can you please update you emerge\portage\kdesupport\clucene-core
directory to revision r1072323. Then please rebuild clucene-core & strigi.
I am currently working on that issue.
regards,
Patrick
>
>
>
> Would the two build directories conflict?
>
>
>
> *From:* Patrick von Reth [mailto:patrick.vonreth at gmail.com]
> *Sent:* Friday, January 22, 2010 11:28 AM
> *To:* KDE on Windows
> *Subject:* Re: mingw QT Compile - Input line too long
>
>
>
> At least the qt build error has nothing to do with CMake, qt uses its
> own qmake and not CMake.
>
>
>
> The output from building qt indicates you are using mingw32 but the
> output from strigi indicates you are using msvc so if you changes the
> compiler you have to rebuild everything.
>
>
>
> Regards,
>
>
>
> Patrick
>
>
>
> 2010/1/22 Michael Edwardes <Michael.Edwardes at yardi.com
> <mailto:Michael.Edwardes at yardi.com>>
>
> Hi,
>
> Is this actually a CMake bug, it seems to be complaining about
> unresolved externals which would indicate a setup error? Please see
> below for the errors and the attached file for the emerge output.
>
> Thanks,
> Michael
>
> Linking CXX shared module msvc_strigiindex_clucene.dll
> Creating library clucene.lib and object clucene.exp
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: __thiscall lucene::index::Term::Term(unsigned short const
> *,unsigned short const *)" (??0Term at index@lucene@@QAE at PBG0@Z) referenced
> in function "public: static class lucene::index::Term * __cdecl
> CLuceneIndexReader::Private::createWildCardTerm(unsigned short const
> *,class std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (?createWildCardTerm at Private@CLuceneIndexReader@@SAPAVTerm at index@lucene@@PBGABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
> cluceneindexwriter.cpp.obj : error LNK2001: unresolved external symbol
> "public: __thiscall lucene::index::Term::Term(unsigned short const
> *,unsigned short const *)" (??0Term at index@lucene@@QAE at PBG0@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short const * __thiscall
> lucene::analysis::Token::termText(void)const "
> (?termText at Token@analysis at lucene@@QBEPBGXZ) referenced in function
> "public: static class lucene::index::Term * __cdecl
> CLuceneIndexReader::Private::createTerm(unsigned short const *,class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (?createTerm at Private@CLuceneIndexReader@@SAPAVTerm at index@lucene@@PBGABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: virtual class lucene::analysis::TokenStream * __thiscall
> lucene::analysis::standard::StandardAnalyzer::tokenStream(unsigned short
> const *,class lucene::util::Reader *)"
> (?tokenStream at StandardAnalyzer@standard at analysis@lucene@@UAEPAVTokenStream at 34@PBGPAVReader at util@4@@Z)
> referenced in function "public: static class lucene::index::Term *
> __cdecl CLuceneIndexReader::Private::createTerm(unsigned short const
> *,class std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (?createTerm at Private@CLuceneIndexReader@@SAPAVTerm at index@lucene@@PBGABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: __thiscall lucene::util::StringReader::StringReader(unsigned
> short const *)"
> (??0StringReader at util@lucene@@QAE at PBG@Z) referenced in function "public:
> static class lucene::index::Term * __cdecl
> CLuceneIndexReader::Private::createTerm(unsigned short const *,class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (?createTerm at Private@CLuceneIndexReader@@SAPAVTerm at index@lucene@@PBGABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short const * __thiscall
> lucene::document::Document::get(unsigned short const *)const "
> (?get at Document@document at lucene@@QBEPBGPBG at Z) referenced in function
> "public: __int64 __thiscall CLuceneIndexReader::mTime(__int64)"
> (?mTime at CLuceneIndexReader@@QAE_J_J at Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short const * __thiscall
> lucene::document::Field::name(void)"
> (?name at Field@document at lucene@@QAEPBGXZ) referenced in function "public:
> static void __cdecl CLuceneIndexReader::Private::addField(class
> lucene::document::Field *,class Strigi::IndexedDocument &)"
> (?addField at Private@CLuceneIndexReader@@SAXPAVField at document@lucene@@AAVIndexedDocument at Strigi@@@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short * __thiscall
> lucene::document::Field::stringValue(void)"
> (?stringValue at Field@document at lucene@@QAEPAGXZ) referenced in function
> "public: static void __cdecl CLuceneIndexReader::Private::addField(class
> lucene::document::Field *,class Strigi::IndexedDocument &)"
> (?addField at Private@CLuceneIndexReader@@SAXPAVField at document@lucene@@AAVIndexedDocument at Strigi@@@Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short const * __thiscall
> lucene::index::Term::text(void)const "
> (?text at Term@index at lucene@@QBEPBGXZ) referenced in function "public:
> virtual class std::vector<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >,class
> std::allocator<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > > > __thiscall
> CLuceneIndexReader::keywords(class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > const &,class
> std::vector<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >,class
> std::allocator<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > > > const &,unsigned
> int,unsigned int)"
> (?keywords at CLuceneIndexReader@@UAE?AV?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@3 at ABV23@II at Z)
> cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol
> "public: unsigned short const * __thiscall
> lucene::index::Term::field(void)const "
> (?field at Term@index at lucene@@QBEPBGXZ) referenced in function "public:
> class std::vector<class Strigi::IndexedDocument,class
> std::allocator<class Strigi::IndexedDocument> > __thiscall
> CLuceneIndexReader::Private::strigiSpecial(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (?strigiSpecial at Private@CLuceneIndexReader@@QAE?AV?$vector at VIndexedDocument@Strigi@@V?$allocator at VIndexedDocument@Strigi@@@std@@@std@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@4@@Z)
> cluceneindexwriter.cpp.obj : error LNK2019: unresolved external symbol
> "public: __thiscall lucene::document::Field::Field(unsigned short const
> *,unsigned short const *,int)" (??0Field at document@lucene@@QAE at PBG0H@Z)
> referenced in function "protected: static void __cdecl
> CLuceneIndexWriter::addValue(class Strigi::AnalysisResult const *,enum
> Strigi::AnalyzerConfiguration::FieldType,unsigned short const *,unsigned
> short const *)"
> (?addValue at CLuceneIndexWriter@@KAXPBVAnalysisResult at Strigi@@W4FieldType at AnalyzerConfiguration@3 at PBG2@Z)
> msvc_strigiindex_clucene.dll : fatal error LNK1120: 10 unresolved externals
> LINK Pass 1 failed. with 1120
> NMAKE : fatal error U1077: 'C:\kderoot\dev-utils\bin\cmake.exe' : return
> code '0xffffffff'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> emerge fatal error: while running make cmd: nmake /NOLOGO
> emerge fatal error: running python
> c:\kderoot\emerge\portage\kdesupport\strigi\strigi-0.7.1.20100107.py
> <http://strigi-0.7.1.20100107.py> compile
> emerge error: fatal error: package kdesupport/strigi-0.7.1.20100107 all
> failed
> 10:59 AM
>
>
>
>
> -----Original Message-----
> From: Michael Edwardes [mailto:Michael.Edwardes at Yardi.Com
> <mailto:Michael.Edwardes at Yardi.Com>]
> Sent: Friday, January 22, 2010 10:08 AM
> To: kde-windows at kde.org <mailto:kde-windows at kde.org>
>
> Subject: RE: mingw QT Compile - Input line too long
>
> Hi,
>
> I have cmake version 2.8.0 installed. I will file a bug report shortly.
>
> Michael
>
> -----Original Message-----
> From: Alexander Neundorf [mailto:neundorf at kde.org <mailto:neundorf at kde.org>]
> Sent: Thursday, January 21, 2010 9:53 PM
> To: kde-windows at kde.org <mailto:kde-windows at kde.org>
> Cc: Michael Edwardes
> Subject: Re: mingw QT Compile - Input line too long
>
> On Thursday 21 January 2010, Michael Edwardes wrote:
>> Hi All,
>>
>> Im trying to compile KDE on windows and it fails during the compile of Qt,
>> it seems the lines is too long for cmd.exe ? (I have tried with non-free
>> msvc2008 as well but it fails during the compile of strigi).
>
> Which version of cmake are you using ?
> If it's not 2.8.0, can you please check whether this still happens with
> 2.8.0 ?
> If it is still there with CMake 2.8.0, please report it in the cmake
> bugtracker at http://public.kitware.com/Bugs
>
> Alex
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org <mailto:Kde-windows at kde.org>
> https://mail.kde.org/mailman/listinfo/kde-windows
>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org <mailto:Kde-windows at kde.org>
> https://mail.kde.org/mailman/listinfo/kde-windows
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (MingW32)
iEYEARECAAYFAktZmagACgkQi49rfdk/G3YXZgCeK22Y+GzmMWUXwPQm4cLuBc8x
bFYAoLVYEg1ksr0Squ+nDcpCJu0Cio9J
=9xJq
-----END PGP SIGNATURE-----
More information about the Kde-windows
mailing list