Dear all,
I am trying to build LyX for analysis by coverity but compilation fails.
(Normal compilation completes fine.)

geek@liv-inspiron:~/Build/Devel/lyx$ cov-build --dir cov-int make -j 3
Coverity Build Capture (64-bit) version 7.6.0 on Linux 3.13.0-24-generic
x86_64
Internal version numbers: 9b77a50df0 p-harmony-push-21098.563

[...]

CXX mathed/MathSupport.o
CXX insets/ExternalSupport.o
CXX insets/ExternalTransforms.o
CXX insets/RenderButton.o
CXX insets/Inset.o
CXX insets/InsetArgument.o
CXX insets/InsetBibtex.o
CXX insets/InsetBox.o
CXX insets/InsetBranch.o
CXX insets/InsetCaption.o
CXX insets/InsetCitation.o
CXX insets/InsetCollapsable.o
CXX insets/InsetCommand.o
CXX insets/InsetCommandParams.o
CXX insets/InsetExternal.o
CXX insets/InsetFlex.o
CXX insets/InsetFloat.o
CXX insets/InsetFoot.o
CXX insets/InsetFootlike.o
CXX insets/InsetGraphicsParams.o
CXX insets/InsetGraphics.o
CXX insets/InsetInclude.o
CXX insets/InsetInfo.o
CXX insets/InsetIPA.o
CXX insets/InsetLabel.o
CXX insets/InsetLayout.o
CXX insets/InsetListings.o
CXX insets/InsetMarginal.o
CXX insets/InsetNewpage.o
CXX insets/InsetNote.o
CXX insets/InsetPhantom.o
CXX insets/InsetPreview.o
CXX insets/InsetRef.o
CXX insets/InsetScript.o
CXX insets/InsetSeparator.o
CXX insets/InsetSpace.o
CXX insets/InsetSpecialChar.o
CXX insets/InsetTabular.o
CXX insets/InsetText.o
CXX Compare.o
CXX HunspellChecker.o
CXX PrinterParams.o
AR liblyxcore.a
AR liblyxgraphics.a
AR liblyxmathed.a
AR liblyxinsets.a
CXXLD lyx
liblyxinsets.a(InsetERT.o):(.rodata._ZTVN3lyx8InsetERTE[_ZTVN3lyx8InsetERTE]+0x230):
undefined reference to `lyx::InsetCollapsable::clickable(int, int) const'
liblyxinsets.a(InsetIndex.o):(.rodata._ZTVN3lyx10InsetIndexE[_ZTVN3lyx10InsetIndexE]+0x230):
undefined reference to `lyx::InsetCollapsable::clickable(int, int) const'
liblyxinsets.a(InsetIPAMacro.o):(.rodata._ZTVN3lyx12InsetIPADecoE[_ZTVN3lyx12InsetIPADecoE]+0x230):
undefined reference to `lyx::InsetCollapsable::clickable(int, int) const'
liblyxinsets.a(InsetWrap.o):(.rodata._ZTVN3lyx9InsetWrapE[_ZTVN3lyx9InsetWrapE]+0x230):
undefined reference to `lyx::InsetCollapsable::clickable(int, int) const'
liblyxinsets.a(InsetCaptionable.o):(.rodata._ZTVN3lyx16InsetCaptionableE[_ZTVN3lyx16InsetCaptionableE]+0x230):
undefined reference to `lyx::InsetCollapsable::clickable(int, int) const'
collect2: error: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[4]: Leaving directory `/home/geek/Build/Devel/lyx/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/geek/Build/Devel/lyx/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/geek/Build/Devel/lyx/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/geek/Build/Devel/lyx'
make: *** [all] Error 2
[WARNING] Build command make -j 3 exited with code 2. Please verify that
the build completed successfully.
161 C/C++ compilation units (100%) are ready for analysis
For more details, please look at:
/home/geek/Build/Devel/lyx/cov-int/build-log.txt

Are the *undefined reference* messages above an issue? I'm surprised
because normal compilation (outside coverity) works fine.

Regards,
Liviu

Reply via email to