Clang error

Chris Sherlock chris.sherlock79 at gmail.com
Sat Apr 27 23:12:30 PDT 2013


I apologize for spamming up the list. I just realized - I've installed the
wrong version of Clang.

Chris


On Sun, Apr 28, 2013 at 1:16 AM, Chris Sherlock
<chris.sherlock79 at gmail.com>wrote:

> A slightly cleaned up message:
>
> http://pastebin.com/mu4P9rEC
>
> Anyone have any ideas what's causing this?
>
> Seems to be issues with the cppuhelper library.
>
> Chris
>
>
> On Sun, Apr 28, 2013 at 12:06 AM, Chris Sherlock <
> chris.sherlock79 at gmail.com> wrote:
>
>> Actually, just worked it out - I forced the -v to be passed in via
>> autogen.sh:
>>
>>
>> chris at LibreOfficeDev:~/repos/LibreOffice/core$ make toolkit
>> cd /home/chris/repos/LibreOffice/core/toolkit && /usr/bin/make -j 1 -rsr
>> [ DEP ] SRS:toolkit/awt
>> [ LNK ] Library/libtklo.so
>> Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM
>> 3.0)
>> Target: i386-pc-linux-gnu
>> Thread model: posix
>>  "/usr/bin/ld" -z relro --hash-style=gnu --as-needed --build-id
>> --eh-frame-hdr -m elf_i386 -shared -o
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/LinkTarget/Library/libtklo.so/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o
>> /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o
>> -L/home/chris/repos/LibreOffice/core/solver/unxlngi6.pro/lib-L/usr/lib/gcc/i686-linux-gnu/4.6
>> -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu
>> -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu
>> -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu
>> -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -L/lib/i386-linux-gnu -L/lib
>> -L/usr/lib/i386-linux-gnu -L/usr/lib -z noexecstack -z origin -rpath
>> "\$ORIGIN:\$ORIGIN/../ure-link/lib" -rpath-link
>> /home/chris/repos/LibreOffice/core/solver/unxlngi6.pro/lib -z defs
>> -rpath-link /lib:/usr/lib -z combreloc --hash-style=gnu
>> --dynamic-list-cpp-new --dynamic-list-cpp-typeinfo -Bsymbolic-functions -O1
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/asynccallback.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/stylesettings.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/scrollabledialog.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxaccessiblecomponent.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxbitmap.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxcontainer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxdevice.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxfont.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxgraphics.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxmenu.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxpointer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxprinter.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxregion.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxspinbutton.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxsystemdependentwindow.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxtabpagecontainer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/animatedimagespeer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxtoolkit.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxtopwindow.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxwindow.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxwindow1.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxwindows.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/xsimpleanimation.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/xthrobber.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/accessiblecontrolcontext.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/controlmodelcontainerbase.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/dialogcontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/eventcontainer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/formattedcontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/geometrycontrolmodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/defaultgridcolumnmodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/defaultgriddatamodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/gridcolumn.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/grideventforwarder.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/sortablegriddatamodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/grid/gridcontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/roadmapcontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/roadmapentry.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tabpagecontainer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tabpagemodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/stdtabcontroller.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/stdtabcontrollermodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tkscrollbar.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tksimpleanimation.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tkspinbutton.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tkthrobber.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/animatedimages.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/spinningprogress.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tree/treecontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/tree/treedatamodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrol.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrolbase.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrolcontainer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrolcontainermodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrolmodel.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/unocontrols.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/accessibilityclient.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/externallock.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/formpdfexport.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/imagealign.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/listenermultiplexer.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/property.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/registerservices.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/servicenames.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/tkresmgr.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/unopropertyarrayhelper.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/unowrapper.o/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/helper/vclunohelper.o--start-group --end-group --no-as-needed -lX11 -lcomphelper -luno_cppu
>> -luno_cppuhelpergcc3 -luno_sal -li18nlangtag -ltllo -lutllo -lvcllo
>> -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o
>> /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o
>>
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxaccessiblecomponent.o:(.data.rel.ro+0x24):
>> undefined reference to
>> `cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>> const&)'
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxaccessiblecomponent.o:(.data.rel.ro+0xe0):
>> undefined reference to `non-virtual thunk to
>> cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>> const&)'
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/accessiblecontrolcontext.o:(.data.rel.ro+0xa8):
>> undefined reference to
>> `cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>> const&)'
>> /home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/CxxObject/toolkit/source/controls/accessiblecontrolcontext.o:(.data.rel.ro+0x128):
>> undefined reference to `non-virtual thunk to
>> cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>> const&)'
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> make[1]: *** [/home/chris/repos/LibreOffice/core/workdir/
>> unxlngi6.pro/LinkTarget/Library/libtklo.so] Error 1
>> make: *** [toolkit] Error 2
>>
>>
>> Chris
>>
>>
>>
>> On Sat, Apr 27, 2013 at 11:51 PM, Chris Sherlock <
>> chris.sherlock79 at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> When I attempt to compile with Clang (I did a git pull), I'm getting a
>>> linker error:
>>>
>>> chris at LibreOfficeDev:~/repos/LibreOffice/core$ make toolkit
>>> cd /home/chris/repos/LibreOffice/core/toolkit && /usr/bin/make -j 1 -rsr
>>> [ SRS ] toolkit/awt
>>> [ RES ] tken-US
>>> [ LNK ] Library/libtklo.so
>>> /home/chris/repos/LibreOffice/core/workdir/
>>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxaccessiblecomponent.o:(.data.rel.ro+0x24):
>>> undefined reference to
>>> `cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>>> const&)'
>>> /home/chris/repos/LibreOffice/core/workdir/
>>> unxlngi6.pro/CxxObject/toolkit/source/awt/vclxaccessiblecomponent.o:(.data.rel.ro+0xe0):
>>> undefined reference to `non-virtual thunk to
>>> cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>>> const&)'
>>> /home/chris/repos/LibreOffice/core/workdir/
>>> unxlngi6.pro/CxxObject/toolkit/source/controls/accessiblecontrolcontext.o:(.data.rel.ro+0xa8):
>>> undefined reference to
>>> `cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>>> const&)'
>>> /home/chris/repos/LibreOffice/core/workdir/
>>> unxlngi6.pro/CxxObject/toolkit/source/controls/accessiblecontrolcontext.o:(.data.rel.ro+0x128):
>>> undefined reference to `non-virtual thunk to
>>> cppu::WeakAggComponentImplHelper2<com::sun::star::accessibility::XAccessibleContext,
>>> com::sun::star::accessibility::XAccessibleEventBroadcaster>::queryAggregation(com::sun::star::uno::Type
>>> const&)'
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>> make[1]: *** [/home/chris/repos/LibreOffice/core/workdir/
>>> unxlngi6.pro/LinkTarget/Library/libtklo.so] Error 1
>>> make: *** [toolkit] Error 2
>>>
>>> ---
>>>
>>> How do I pass in the -v flag?
>>>
>>> Any tips would be greatly appreciated :-)
>>>
>>> Chris
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130428/a771c868/attachment.html>


More information about the LibreOffice mailing list