[cfe-dev] Fwd: cling error: no type named 'Interpreter' in namespace 'cling'; did you mean '::cling::Interpreter'?
Richard Catlin
richard.m.catlin at gmail.com
Sat May 18 10:15:40 PDT 2013
---------- Forwarded message ----------
From: Richard Catlin <richard.m.catlin at gmail.com>
Date: Sat, May 18, 2013 at 10:10 AM
Subject: Re: [cfe-dev] cling error: no type named 'Interpreter' in
namespace 'cling'; did you mean '::cling::Interpreter'?
To: Vassil Vassilev <vvasilev at cern.ch>
Vassil,
I tried to build from source also, but get this error. I tried both on
Lion and Mountain Lion. I am using the svn repo for llvm, clang. Here is
the error below. I am attaching the configure log file also.
Any idea? I am really anxious to try cling, as an LLVM developer. I use
LLVM as the runtime for a DSL.
Thank you.
Richard Catlin
llvm[4]: Compiling ParseDecl.cpp for Debug+Asserts build
llvm[4]: Compiling ParseDeclCXX.cpp for Debug+Asserts build
llvm[4]: Compiling ParseExpr.cpp for Debug+Asserts build
llvm[4]: Compiling ParseExprCXX.cpp for Debug+Asserts build
llvm[4]: Compiling ParseInit.cpp for Debug+Asserts build
llvm[4]: Compiling ParseObjc.cpp for Debug+Asserts build
llvm[4]: Compiling ParseOpenMP.cpp for Debug+Asserts build
llvm[4]: Compiling ParsePragma.cpp for Debug+Asserts build
llvm[4]: Compiling ParseStmt.cpp for Debug+Asserts build
llvm[4]: Compiling ParseTemplate.cpp for Debug+Asserts build
llvm[4]: Compiling ParseTentative.cpp for Debug+Asserts build
llvm[4]: Compiling Parser.cpp for Debug+Asserts build
/Users/rcatlin1/cling-dev/llvm/tools/clang/lib/Parse/Parser.cpp:548:39:
error: variable has incomplete type
'clang::DestroyTemplateIdAnnotationsRAIIObj'
DestroyTemplateIdAnnotationsRAIIObj CleanupRAII(*this);
^
/Users/rcatlin1/cling-dev/llvm/tools/clang/lib/Parse/../../include/clang/Parse/Parser.h:48:9:
note: forward declaration of 'clang::DestroyTemplateIdAnnotationsRAIIObj'
class DestroyTemplateIdAnnotationsRAIIObj;
^
/Users/rcatlin1/cling-dev/llvm/tools/clang/lib/Parse/Parser.cpp:602:39:
error: variable has incomplete type
'clang::DestroyTemplateIdAnnotationsRAIIObj'
DestroyTemplateIdAnnotationsRAIIObj CleanupRAII(*this);
^
/Users/rcatlin1/cling-dev/llvm/tools/clang/lib/Parse/../../include/clang/Parse/Parser.h:48:9:
note: forward declaration of 'clang::DestroyTemplateIdAnnotationsRAIIObj'
class DestroyTemplateIdAnnotationsRAIIObj;
^
2 errors generated.
make[4]: ***
[/Users/rcatlin1/cling-dev/build/tools/clang/lib/Parse/Debug+Asserts/Parser.o]
Error 1
make[3]: *** [Parse/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1
On Sat, May 18, 2013 at 6:12 AM, Vassil Vassilev <vvasilev at cern.ch> wrote:
> Hi Richard,
> I have filed a bugreport: https://sft.its.cern.ch/jira/**
> browse/ROOT-5212 <https://sft.its.cern.ch/jira/browse/ROOT-5212>
> Please build cling from source, until that issue is fixed.
> Cheers,
> Vassil
> On 5/17/13 6:18 PM, RichardCatlin wrote:
>
>> Subject: error: no type named 'Interpreter' in namespace 'cling'; did you
>> mean '::cling::Interpreter'?
>>
>> Hi,
>>
>> I downloaded the Mac binary. I get the following error when I run
>> ./cling.
>>
>> Any help is appreciated.
>>
>> Regards,
>> Richard Catlin
>>
>>
>> SDGL11fd4f1cb:bin rcatlin1$ ./cling
>> ExecutionContext: use of undefined symbol
>> '_ZN5cling7runtime8internal21_**_trigger__cxa_atexitD1Ev'!
>> ExecutionContext::**runStaticInitializersOnce: symbol
>> '_ZN5cling7runtime8internal21_**_trigger__cxa_atexitD1Ev' unresolved
>> while
>> linking static initializer '_GLOBAL__I_a'!
>> In file included from -:1:
>> input_line_3:1:45: error: no type named 'Interpreter' in namespace
>> 'cling';
>> did you mean '::cling::Interpreter'?
>> namespace cling {namespace runtime { cling::Interpreter
>> *gCling=(cling::Interpreter*)**140734543633080;} }
>> ~~~~~~~^~~~~~~~~~~
>> ::cling::Interpreter
>> Stack dump:
>> 0. input_line_3:1:45: current parser token 'Interpreter'
>> 1. input_line_3:1:1: parsing namespace 'cling'
>> 2. input_line_3:1:18: parsing namespace 'runtime'
>> Segmentation fault: 11
>>
>>
>>
>> --
>> View this message in context: http://clang-developers.42468.**
>> n3.nabble.com/cling-**tp3198446p4032174.html<http://clang-developers.42468.n3.nabble.com/cling-tp3198446p4032174.html>
>> Sent from the Clang Developers mailing list archive at Nabble.com.
>> ______________________________**_________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/**mailman/listinfo/cfe-dev<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/20130518/2008bc58/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 24952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130518/2008bc58/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 24952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130518/2008bc58/attachment-0001.obj>
More information about the cfe-dev
mailing list