[cfe-dev] Another Linker error with clang++

Eli Friedman eli.friedman at gmail.com
Tue Sep 13 08:53:36 PDT 2011


On Tue, Sep 13, 2011 at 5:50 AM, Dev Meetei <dlmeetei at gmail.com> wrote:
> Thought of supporting the clang for our open source project.
> Unfortunately, The linker fails.
> Any way to resolve this
>
>
> /home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:396:
> undefined reference to `Pegasus::Array<Pegasus::CIMInstance>::getData()
> const'
> /home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:396:
> undefined reference to `Pegasus::Array<Pegasus::CIMInstance>::size() const'
> /home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:398:
> undefined reference to `Pegasus::Array<Pegasus::CIMInstance>::~Array()'
> /home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:398:
> undefined reference to `Pegasus::Array<Pegasus::CIMInstance>::~Array()'

First, make sure you're using a recent clang compiled from
top-of-tree.  Then, please file a bug report at llvm.org/bugs/ with
steps to reproduce (and some sort of reduced testcase, if you can
manage it).

-Eli



More information about the cfe-dev mailing list