Ubuntu build problem: ld whining about undefined references

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Tue Nov 16 17:19:08 UTC 2021


On 16.11.2021 17.49, Ilmari Lauhakangas wrote:
> 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?

This was in a virtual machine and reportedly the problem is gone now 
with a bare metal install of Ubuntu.

Ilmari


More information about the LibreOffice mailing list