Ubuntu build problem: ld whining about undefined references

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Tue Nov 16 15:49:45 UTC 2021


An Ubuntu user is getting this on their first build

[CUS] postprocess/images
[BIN] scp2
[MOD] scp2
/usr/bin/ld: 
/home/ubuntu/OpenSource/LibreOffice/core/workdir/CxxObject/sc/source/ui/attrdlg/tabpages.o: 
in function `ScTabPageProtection::FillItemSet(SfxItemSet*)':
tabpages.cxx:(.text+0xb33): undefined reference to 
`ScProtectionAttr::ScProtectionAttr()'
/usr/bin/ld: tabpages.cxx:(.text+0xb4e): undefined reference to 
`ScProtectionAttr::~ScProtectionAttr()'
/usr/bin/ld: tabpages.cxx:(.text+0xb88): undefined reference to 
`ScProtectionAttr::SetProtection(bool)'
/usr/bin/ld: tabpages.cxx:(.text+0xb94): undefined reference to 
`ScProtectionAttr::SetHideCell(bool)'
...

What could be the issue?

Ilmari


More information about the LibreOffice mailing list