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

Devchandra L Meetei dlmeetei at gmail.com
Wed Sep 14 02:29:14 PDT 2011


history |grep export gave this and error message are below
> export
> CC=/home/deleisha/Downloads/clang+llvm-2.9-x86_64-linux.tar/bin/clang
> export
> CXX=/home/deleisha/Downloads/clang+llvm-2.9-x86_64-linux.tar/bin/clang++
>
>
> Er, what are the error messages?
>

/home/deleisha/CodeSpace/pegasus/pkg/obj/Pegasus/General/MofWriter.o: In
function `Pegasus::MofWriter::appendValueElement(Pegasus::Buffer&,
Pegasus::CIMValue const&)':
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:387:
undefined reference to `Pegasus::Array<Pegasus::CIMObject>::Array()'
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:389:
undefined reference to `Pegasus::Array<Pegasus::CIMObject>::getData() const'
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:389:
undefined reference to `Pegasus::Array<Pegasus::CIMObject>::size() const'
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:391:
undefined reference to `Pegasus::Array<Pegasus::CIMObject>::~Array()'
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:391:
undefined reference to `Pegasus::Array<Pegasus::CIMObject>::~Array()'
/home/deleisha/CodeSpace/pegasus/src/Pegasus/General/MofWriter.cpp:394:
undefined reference to `Pegasus::Array<Pegasus::CIMInstance>::Array()'
/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()'
/usr/bin/ld: /home/deleisha/CodeSpace/pegasus/pkg/lib/libpeggeneral.so.1:
hidden symbol `_ZN7Pegasus5ArrayINS_9CIMObjectEEixEj' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [/home/deleisha/CodeSpace/pegasus/pkg/lib/libpeggeneral.so.1]
Error 1
make[3]: Leaving directory
`/home/deleisha/CodeSpace/pegasus/src/Pegasus/General'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/deleisha/CodeSpace/pegasus/src/Pegasus'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/deleisha/CodeSpace/pegasus/src'
make: *** [all] Error 2


>
> -Miles
>
> --
> Learning, n. The kind of ignorance distinguishing the studious.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110914/eef25480/attachment.html>


More information about the cfe-dev mailing list