make error: undefined reference to

Alekhya Vellanki punarvasu510 at gmail.com
Sat Jan 21 02:10:22 UTC 2017


Hi!

I have been trying to build LibreOffice from the past few days and I'm
getting stuck.

After running ./autogen.sh, I executed the command "make" just as how it as
mentioned here
<https://wiki.documentfoundation.org/Development/BuildingOnLinux>. But I
got the following errors.

/<somepath>/LibreOffice/core/workdir/LinkTarget/StaticLibrary/libopencollada_parser.a(COLLADASaxFWLVersionParser.o):
In function `COLLADASaxFWL::VersionParser::parse15(char const*,
GeneratedSaxParser::ParserAttributes const&)':
COLLADASaxFWLVersionParser.cpp:(.text+0x342): undefined reference to
`COLLADASaxFWL15::ColladaParserAutoGen15Private::ColladaParserAutoGen15Private(COLLADASaxFWL15::ColladaParserAutoGen15*,
GeneratedSaxParser::IErrorHandler*)'
/<somepath>/LibreOffice/core/workdir/LinkTarget/StaticLibrary/libopencollada_parser.a(COLLADASaxFWLVersionParser.o):
In function `_GLOBAL__sub_I_COLLADASaxFWLVersionParser.cpp':
COLLADASaxFWLVersionParser.cpp:(.text.startup+0x11f): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__asset__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x12b): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_animation_clips__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x137): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_animations__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x143): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_cameras__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x14f): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_controllers__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x15b): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_effects__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x167): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_force_fields__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x173): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_geometries__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x17f): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_images__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x18b): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_lights__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x197): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_materials__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1a3): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_nodes__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1af): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_physics_materials__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1bb): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_physics_models__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1c7): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_physics_scenes__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1d3): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__library_visual_scenes__allChildren()'

COLLADASaxFWLVersionParser.cpp:(.text.startup+0x1df): undefined
reference to `COLLADASaxFWL15::FunctionMapFactory::createFunctionMap__scene__allChildren()'

collect2: error: ld returned 1 exit status
make[1]:***[/....../LibreOffice/core/instdir/program/libavmedialo.so] Error 1
make: *** [build] Error 2

How do I fix this? Please help!!

Thanks and regards
-- 
Alekhya Vellanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170121/70076bda/attachment.html>


More information about the LibreOffice mailing list