Sysprogs forums › Forums › Other tools & products › collect2.exe: error: ld returned 1 exit status
Tagged: qt cross-compile
- This topic has 0 replies, 1 voice, and was last updated 8 years, 10 months ago by xcompiler.
-
AuthorPosts
-
January 5, 2016 at 02:20 #7426xcompilerParticipant
I was going through the cross-compiling post – http://visualgdb.com/tutorials/raspberry/qt/embedded/ and I got some errors thrown to me at step 17 when I did “make && make install”.
I followed exactly the steps and cross checked a couple of times just as laid in the post. Any idea what did I do wrong?
Here is the last section of the lines:
.obj/YarrInterpreter.obj: In function `JSC::Yarr::byteCompile(JSC::Yarr::YarrPattern&, WTF::BumpPointerAllocator*)’:
YarrInterpreter.cpp:(.text+0x6f4): undefined reference to `JSC::Yarr::wordcharCreate()’
YarrInterpreter.cpp:(.text+0x76c): undefined reference to `JSC::Yarr::newlineCreate()’
.obj/YarrJIT.obj: In function `JSC::Yarr::YarrPattern::newlineCharacterClass()’:
YarrJIT.cpp:(.text._ZN3JSC4Yarr11YarrPattern21newlineCharacterClassEv[_ZN3JSC4Yarr11YarrPattern21newlineCharacterClassEv]+0x20): undefined reference to `JSC::Yarr::newlineCreate()’
.obj/YarrJIT.obj: In function `JSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompileMode)0>::matchAssertionWordchar(unsigned int, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList&, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList&)’:
YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22matchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8_[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22matchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8_]+0x19c): undefined reference to `JSC::Yarr::wordcharCreate()’
.obj/YarrJIT.obj: In function `JSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompileMode)0>::generateAssertionWordBoundary(unsigned int)’:
YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE29generateAssertionWordBoundaryEj[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE29generateAssertionWordBoundaryEj]+0x360): undefined reference to `JSC::Yarr::wordcharCreate()’
.obj/YarrJIT.obj: In function `JSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompileMode)1>::matchAssertionWordchar(unsigned int, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList&, JSC::AbstractMacroAssembler<JSC::ARMv7Assembler>::JumpList&)’:
YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22matchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8_[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22matchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8_]+0x19c): undefined reference to `JSC::Yarr::wordcharCreate()’
.obj/YarrJIT.obj: In function `JSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompileMode)1>::generateAssertionWordBoundary(unsigned int)’:
YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE29generateAssertionWordBoundaryEj[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE29generateAssertionWordBoundaryEj]+0x360): undefined reference to `JSC::Yarr::wordcharCreate()’
.obj/YarrPattern.obj: In function `JSC::Yarr::YarrPatternConstructor::atomBuiltInCharacterClass(JSC::Yarr::BuiltInCharacterClassID, bool)’:
YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3c): undefined reference to `JSC::Yarr::newlineCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x134): undefined reference to `JSC::Yarr::wordcharCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x1bc): undefined reference to `JSC::Yarr::spacesCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x244): undefined reference to `JSC::Yarr::digitsCreate()’
.obj/YarrPattern.obj: In function `JSC::Yarr::YarrPatternConstructor::optimizeDotStarWrappedExpressions()’:
YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor33optimizeDotStarWrappedExpressionsEv[_ZN3JSC4Yarr22YarrPatternConstructor33optimizeDotStarWrappedExpressionsEv]+0x420): undefined reference to `JSC::Yarr::newlineCreate()’
.obj/YarrPattern.obj: In function `JSC::Yarr::Parser<JSC::Yarr::YarrPatternConstructor, unsigned short>::CharacterClassParserDelegate::atomBuiltInCharacterClass(JSC::Yarr::BuiltInCharacterClassID, bool)’:
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x184): undefined reference to `JSC::Yarr::nonwordcharCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x930): undefined reference to `JSC::Yarr::nonwordcharCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xa00): undefined reference to `JSC::Yarr::spacesCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xa9c): undefined reference to `JSC::Yarr::wordcharCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xb20): undefined reference to `JSC::Yarr::spacesCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xba4): undefined reference to `JSC::Yarr::wordcharCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xc24): undefined reference to `JSC::Yarr::digitsCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xca4): undefined reference to `JSC::Yarr::digitsCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xd44): undefined reference to `JSC::Yarr::nonspacesCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xdbc): undefined reference to `JSC::Yarr::nondigitsCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xe30): undefined reference to `JSC::Yarr::nondigitsCreate()’
YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xea4): undefined reference to `JSC::Yarr::nonspacesCreate()’
collect2.exe: error: ld returned 1 exit status
make[3]: *** [../../lib/libQt5Qml.so.5.5.0] Error 1
make[3]: Leaving directory `/c/Users/HP/Desktop/rpi-cross-compile/qt-build/qtdeclarative/src/qml’
make[2]: *** [sub-qml-make_first-ordered] Error 2
make[2]: Leaving directory `/c/Users/HP/Desktop/rpi-cross-compile/qt-build/qtdeclarative/src’
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/c/Users/HP/Desktop/rpi-cross-compile/qt-build/qtdeclarative’
make: *** [module-qtdeclarative-make_first] Error 2 -
AuthorPosts
- You must be logged in to reply to this topic.