Need help with a build problem

Stephan Bergmann sbergman at redhat.com
Mon Feb 11 10:18:32 UTC 2019


On 09/02/2019 10:25, Jim Raykowski wrote:
> [LNK] Library/libvbaswobjlo.so
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbarevision.o(.debug_addr+0x398): 
> error: undefined reference to 'SwFormat::GetName() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbarevision.o(.debug_addr+0x5c0): 
> error: undefined reference to 'SwFormat::Which() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbasections.o(.debug_addr+0x1048): 
> error: undefined reference to 'SwFormat::Which() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbasections.o(.debug_addr+0x12c8): 
> error: undefined reference to 'SwFormat::GetName() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbadocumentproperties.o(.debug_addr+0x1b68): 
> error: undefined reference to 'SwFormat::Which() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbadocumentproperties.o(.debug_addr+0x20f0): 
> error: undefined reference to 'SwFormat::GetName() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbaselection.o(.debug_addr+0x7d8): 
> error: undefined reference to 'SwFormat::GetName() const'
> /home/lo/Dev/LO1/core/workdir/CxxObject/sw/source/ui/vba/vbaselection.o(.debug_addr+0x12d0): 
> error: undefined reference to 'SwFormat::Which() const'
> collect2: error: ld returned 1 exit status
> /home/lo/Dev/LO1/core/sw/Library_vbaswobj.mk:20: recipe for target 
> '/home/lo/Dev/LO1/core/instdir/program/libvbaswobjlo.so' failed
> make[1]: *** [/home/lo/Dev/LO1/core/instdir/program/libvbaswobjlo.so] 
> Error 1
[...]
> GNU C Compiler version 7.1.0 (Ubuntu 7.1.0-10ubuntu1~16.04.york0)

Sounds like a compiler bug, where it can't agree with itself where to 
emit non-inline versions of the SwFormat::GetName and SwFormat::Which 
functions.


More information about the LibreOffice mailing list