Cling on Fedora 18 Beta ARM

Hello:

I recently bought a Cubieboard (A10 Allwinner ARM chip) on which I installed Fedora 18 Beta. Trying to compile ROOT (latest source I downloaded on Sunday) I received this error using the default llvm and clang and gcc 4.7.2-8

core/utils/src/rootcling_tmp.cxx:4685:84: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx: In function ‘void WritePointersSTL(const RScanner::AnnotatedRecordDecl&)’:
core/utils/src/rootcling_tmp.cxx:4800:56: error: invalid initialization of reference of type ‘const clang::Decl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:509:13: error: in passing argument 1 of ‘const char* R__GetComment(const clang::Decl&)’
core/utils/src/rootcling_tmp.cxx:4833:42: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:2517:6: error: in passing argument 1 of ‘bool IsStreamableObject(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4835:43: error: no matching function for call to ‘IsSTLContainer(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference)’
core/utils/src/rootcling_tmp.cxx:4835:43: note: candidates are:
core/utils/src/rootcling_tmp.cxx:2456:5: note: int IsSTLContainer(Cint::G__DataMemberInfo&)
core/utils/src/rootcling_tmp.cxx:2456:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:2472:5: note: int IsSTLContainer(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:2472:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:2488:5: note: int IsSTLContainer(Cint::G__BaseClassInfo&)
core/utils/src/rootcling_tmp.cxx:2488:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘Cint::G__BaseClassInfo&’
core/utils/src/rootcling_tmp.cxx:2502:5: note: int IsSTLContainer(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:2502:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::reference {aka clang::FieldDecl*}’ to ‘const clang::CXXBaseSpecifier&’
core/utils/src/rootcling_tmp.cxx: In function ‘int GenerateModule(const char*, const std::vector<std::basic_string >&)’:
core/utils/src/rootcling_tmp.cxx:5687:47: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
make: *** [core/utils/src/rootcling_tmp.o] Error 1
rm core/utils/src/rootcling_tmp.cxx

Is it not possbile to compile cling on ARM? Do I need to compile llvm and clang with the cling source in /llvm/tools?

Thank you.

Hi,
AFAIK we haven’t tried to compile ROOT/cling on ARM. We are waiting for an ARM build machine for quite some time. Maybe Philippe can give you a hint how to fix that issue.
Cheers,
Vassil

Hi,

What are the first errors or messages?

Philippe.

I was using the default llvm and clang install, Axel says I need to use a specific number (last known good build) but I do not know how to get that from SVN.

I downloaded llvm clang and cling from SVN at work but now something is wrong and it says the folder is 6.4 Gb. I know it cannot be, as it downloaded in a few minutes.

So I think I need the correct versions of llvm, clang, and cling and apparently gcc-4.7.2-8 is missing a header. I am downloaded the upgrades now.

Does cling work on iOS ARM?

Hi,

cling can be compiled largely on iOS ARM (except that the build stops on an illegal iOS API being used by LLVM). I will be trying to get it all compiled asap.

Cheers, Fons.

I compiled the llvm/clang r165095 svn download to completion. So I then ran the patches for cling.
It was the first time ever that the patches just completed. I started an optimized compile of llvm/clang with cling in /tools since the previous compilation ended with the 10 times faster if not debug.

This morning I had these errors from the attempted compilation of cling:

llvm[4]: Compiling MetaSema.cpp for Release+Asserts build
llvm[4]: Building Release+Asserts Archive Library libclingMetaProcessor.a
make[4]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/MetaProcessor' make[4]: Entering directory/home/dbrunk/llvm/tools/cling/lib/UserInterface’
Makefile:31: /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d: No such file or directory
svn: E155036: Please see the ‘svn upgrade’ command
svn: E155036: Working copy ‘/home/dbrunk/llvm/tools/cling/lib/UserInterface’ is too old (format 10, created by Subversion 1.6)
svn co /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput
svn: E205000: Try ‘svn help’ for more info
svn: E205000: Error parsing arguments
make[4]: *** [/home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d] Error 1
make[4]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/UserInterface' make[3]: *** [UserInterface/.makeall] Error 2 make[3]: Leaving directory/home/dbrunk/llvm/tools/cling/lib’
make[2]: *** [all] Error 1
make[2]: Leaving directory /home/dbrunk/llvm/tools/cling' make[1]: *** [all] Error 1 make[1]: Leaving directory/home/dbrunk/llvm/tools’
make: *** [all] Error 1

First: is the a problem with my svn or your svn?
Second: there is not a Makefile.d in there.

Will cling only compile with a debug llvm/clang?

So I checked in the directory and here seems to be the problem:

[root@panda-f18-v7hl UserInterface]# more Makefile
##===- cling/lib/UserInterface/Makefile---------------------- Makefile --===##

The LLVM Compiler Infrastructure

This file is distributed under the University of Illinois Open Source

License. See LICENSE.TXT for details.

##===----------------------------------------------------------------------===##

This implements the a C++ interpreter user frontend.

##===----------------------------------------------------------------------===##

CLING_LEVEL = …/…
DIRS = textinput

LIBRARYNAME := clingUserInterface
BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti

CPPFLAGS += -I$(PROJ_SRC_DIR)/…/…/include -I$(PROJ_SRC_DIR)/…/…/…/clang/include
-I$(PROJ_SRC_DIR)/…/…/…/clang/lib -I$(PROJ_OBJ_DIR)/…/…/include -I$(PROJ_OBJ_DIR)/…/…/…/clang/include

include $(CLING_LEVEL)/Makefile

$(PROJ_SRC_DIR)/textinput/Makefile.d:
svn co $(shell svn info $(PROJ_SRC_DIR) | grep ^URL: | sed ‘s,^URL: (.*)interpreter/cling/lib/UserInterface,\1/core/
textinput/src/textinput,’) $(PROJ_SRC_DIR)/textinput
touch $@

trigger checkput before building

include $(PROJ_SRC_DIR)/textinput/Makefile.d

So since llvm/clang installed into /usr/local as expected, I tried to compile ROOT from source with
–build-debug --enable-c++11 --enable-cling --with-llvm-config=/usr/local/bin.

It stopped with this error:
me/dbrunk/root/core/utils/src/rootcint.cxx
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -o core/utils/src/rootcint.o -c /home/dbrunk/root/core/utils/src/rootcint.cxx
/home/dbrunk/root/core/utils/src/rootcint.cxx:387:6: note: the mangling of ‘va_list’ has changed in GCC 4.4
bin/rmkdepend -R -fcore/utils/src/RStl.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -D__cplusplus – /home/dbrunk/root/core/utils/src/RStl.cxx
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -o core/utils/src/RStl.o -c /home/dbrunk/root/core/utils/src/RStl.cxx
g++ -g -o bin/rootcint core/utils/src/rootcint.o core/utils/src/RStl.o core/metautils/src/RConversionRuleParser.o core/metautils/src/TClassEdit.o
core/clib/src/snprintf.o core/clib/src/strlcpy.o core/clib/src/strlcat.o -Llib -lCint -lm -ldl -rdynamic
cp /home/dbrunk/root/core/utils/src/rootcling.cxx core/utils/src/rootcling_tmp.cxx
bin/rmkdepend -R -fcore/utils/src/rootcling_tmp.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -D__cplusplus – core/utils/src/rootcling_tmp.cxx
bin/rmkdepend: error: cannot open "core/utils/src/rootcling_tmp.d"
make: *** [core/utils/src/rootcling_tmp.o] Error 1
rm core/utils/src/rootcling_tmp.cxx

I checked and rootcling_tmp.d is there. ls -l indicated that it was assigned to root, so I su password
thinking it did not have the correct permissions and got this:
[usual improper characters from a copy/paste from Linux to Windows]

make

cp /home/dbrunk/root/core/utils/src/rootcling.cxx core/utils/src/rootcling_tmp.cxx
bin/rmkdepend -R -fcore/utils/src/rootcling_tmp.d -Y -w 1000 – -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -D__cplusplus – core/utils/src/rootcling_tmp.cxx
"core/utils/src/rootcling_tmp.cxx":27: warning: (__has_feature(cxx_rvalue_references) || defined(GXX_EXPERIMENTAL_CXX0X) || (defined(_MSC_VER) && _MSC_VER >= 1600))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:53: warning: (__has_feature(cxx_deleted_functions) || defined(GXX_EXPERIMENTAL_CXX0X))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:62: warning: (__has_feature(cxx_override_control))
^— expecting )
“core/utils/src/rootcling_tmp.cxx”:70: warning: (__has_feature(cxx_override_control))
^— expecting )
g++ -g -Wall -fsigned-char -fPIC -Iinclude -pthread -UR__HAVE_CONFIG -DROOTBUILD -I/home/dbrunk/root/core/utils/src -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -I/home/dbrunk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ ‘-DR__CLANG="/usr/local/bin/clang++"’ -Wno-shadow -Wno-unused-parameter -o core/utils/src/rootcling_tmp.o -c core/utils/src/rootcling_tmp.cxx
core/utils/src/rootcling_tmp.cxx: In function ‘const clang::CXXMethodDecl* R__GetFuncWithProto(const clang::CXXRecordDecl*, const char*, const char*)’:
core/utils/src/rootcling_tmp.cxx:851:43: error: lvalue required as unary ‘&’ operand
core/utils/src/rootcling_tmp.cxx: At global scope:
core/utils/src/rootcling_tmp.cxx:1071:6: note: the mangling of ‘va_list’ has changed in GCC 4.4
core/utils/src/rootcling_tmp.cxx: In function ‘const clang::FieldDecl* R__GetDataMemberFromAll(const clang::CXXRecordDecl&, const char*)’:
core/utils/src/rootcling_tmp.cxx:4070:19: error: lvalue required as unary ‘&’ operand
core/utils/src/rootcling_tmp.cxx: In function ‘void WriteStreamer(const RScanner::AnnotatedRecordDecl&)’:
core/utils/src/rootcling_tmp.cxx:4419:59: error: invalid initialization of reference of type ‘const clang::Decl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:509:13: error: in passing argument 1 of ‘const char* R__GetComment(const clang::Decl&)’
core/utils/src/rootcling_tmp.cxx:4467:69: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:4255:13: error: in passing argument 1 of ‘const char* GrabIndex(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4478:87: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4478:87: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4479:67: error: no matching function for call to ‘ShortTypeName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4479:67: note: candidates are:
core/utils/src/rootcling_tmp.cxx:4002:13: note: const char* ShortTypeName(const char*)
core/utils/src/rootcling_tmp.cxx:4002:13: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const char’
core/utils/src/rootcling_tmp.cxx:4040:13: note: std::string ShortTypeName(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:4040:13: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl
}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4481:117: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4481:117: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4484:118: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4484:118: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4487:109: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4487:109: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4510:112: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4513:113: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4516:105: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4529:105: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4544:107: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4547:108: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4550:100: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:581:13: error: in passing argument 1 of ‘std::string R__TrueName(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4575:120: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4575:120: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4578:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4578:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4581:120: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4581:120: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4584:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4584:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4587:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4587:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4589:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4589:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4596:52: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3365:5: error: in passing argument 1 of ‘int STLStringStreamer(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4600:55: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3139:5: error: in passing argument 1 of ‘int STLContainerStreamer(const clang::FieldDecl&, int)’
core/utils/src/rootcling_tmp.cxx:4616:95: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4616:95: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4618:57: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [8])’
core/utils/src/rootcling_tmp.cxx:4618:57: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char
)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4618:92: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [7])’
core/utils/src/rootcling_tmp.cxx:4618:92: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char
)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4621:98: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4621:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4631:53: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:3431:6: error: in passing argument 1 of ‘bool isPointerToPointer(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4639:102: error: no matching function for call to ‘R__GetQualifiedName(const clang::Type&, clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4639:102: note: candidates are:
core/utils/src/rootcling_tmp.cxx:533:6: note: void R__GetQualifiedName(std::string&, const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:533:6: note: candidate expects 3 arguments, 2 provided
core/utils/src/rootcling_tmp.cxx:538:6: note: void R__GetQualifiedName(std::string&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:538:6: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘std::string& {aka std::basic_string&}’
core/utils/src/rootcling_tmp.cxx:543:6: note: void R__GetQualifiedName(std::string&, const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:543:6: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘std::string& {aka std::basic_string&}’
core/utils/src/rootcling_tmp.cxx:548:14: note: std::string R__GetQualifiedName(const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:548:14: note: no known conversion for argument 1 from ‘const clang::Type’ to ‘const clang::QualType&’
core/utils/src/rootcling_tmp.cxx:555:14: note: std::string R__GetQualifiedName(const clang::Type&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:555:14: note: no known conversion for argument 2 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::NamedDecl&’
core/utils/src/rootcling_tmp.cxx:562:13: note: std::string R__GetQualifiedName(const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:562:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:569:13: note: std::string R__GetQualifiedName(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:569:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:576:13: note: std::string R__GetQualifiedName(const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:576:13: note: candidate expects 1 argument, 2 provided
core/utils/src/rootcling_tmp.cxx:4651:98: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4651:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4653:63: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [8])’
core/utils/src/rootcling_tmp.cxx:4653:63: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char
)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4653:98: error: no matching function for call to ‘R__IsBase(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type, const char [7])’
core/utils/src/rootcling_tmp.cxx:4653:98: note: candidates are:
core/utils/src/rootcling_tmp.cxx:942:6: note: bool R__IsBase(const clang::CXXRecordDecl*, const clang::CXXRecordDecl*)
core/utils/src/rootcling_tmp.cxx:942:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXRecordDecl’
core/utils/src/rootcling_tmp.cxx:950:6: note: bool R__IsBase(const clang::FieldDecl&, const char
)
core/utils/src/rootcling_tmp.cxx:950:6: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4656:101: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4656:101: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4670:85: error: no matching function for call to ‘R__GetQualifiedName(std::string&, clang::QualType, clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4670:85: note: candidates are:
core/utils/src/rootcling_tmp.cxx:533:6: note: void R__GetQualifiedName(std::string&, const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:533:6: note: no known conversion for argument 3 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::NamedDecl&’
core/utils/src/rootcling_tmp.cxx:538:6: note: void R__GetQualifiedName(std::string&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:538:6: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:543:6: note: void R__GetQualifiedName(std::string&, const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:543:6: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:548:14: note: std::string R__GetQualifiedName(const clang::QualType&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:548:14: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:555:14: note: std::string R__GetQualifiedName(const clang::Type&, const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:555:14: note: candidate expects 2 arguments, 3 provided
core/utils/src/rootcling_tmp.cxx:562:13: note: std::string R__GetQualifiedName(const clang::NamedDecl&)
core/utils/src/rootcling_tmp.cxx:562:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:569:13: note: std::string R__GetQualifiedName(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:569:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:576:13: note: std::string R__GetQualifiedName(const RScanner::AnnotatedRecordDecl&)
core/utils/src/rootcling_tmp.cxx:576:13: note: candidate expects 1 argument, 3 provided
core/utils/src/rootcling_tmp.cxx:4679:87: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4679:87: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:4685:84: error: no matching function for call to ‘GetNonConstMemberName(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4685:84: note: candidates are:
core/utils/src/rootcling_tmp.cxx:1901:8: note: std::string GetNonConstMemberName(Cint::G__DataMemberInfo&, const string&)
core/utils/src/rootcling_tmp.cxx:1901:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:1920:8: note: std::string GetNonConstMemberName(const clang::FieldDecl&, const string&)
core/utils/src/rootcling_tmp.cxx:1920:8: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx: In function ‘void WritePointersSTL(const RScanner::AnnotatedRecordDecl&)’:
core/utils/src/rootcling_tmp.cxx:4800:56: error: invalid initialization of reference of type ‘const clang::Decl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:509:13: error: in passing argument 1 of ‘const char* R__GetComment(const clang::Decl&)’
core/utils/src/rootcling_tmp.cxx:4833:42: error: invalid initialization of reference of type ‘const clang::FieldDecl&’ from expression of type ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’
core/utils/src/rootcling_tmp.cxx:2517:6: error: in passing argument 1 of ‘bool IsStreamableObject(const clang::FieldDecl&)’
core/utils/src/rootcling_tmp.cxx:4835:43: error: no matching function for call to ‘IsSTLContainer(clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type)’
core/utils/src/rootcling_tmp.cxx:4835:43: note: candidates are:
core/utils/src/rootcling_tmp.cxx:2456:5: note: int IsSTLContainer(Cint::G__DataMemberInfo&)
core/utils/src/rootcling_tmp.cxx:2456:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:2472:5: note: int IsSTLContainer(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:2472:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:2488:5: note: int IsSTLContainer(Cint::G__BaseClassInfo&)
core/utils/src/rootcling_tmp.cxx:2488:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__BaseClassInfo&’
core/utils/src/rootcling_tmp.cxx:2502:5: note: int IsSTLContainer(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:2502:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXBaseSpecifier&’
make: *** [core/utils/src/rootcling_tmp.o] Error 1
rm core/utils/src/rootcling_tmp.cxx

Note: it attempted to compile rootcling_tmp but had an error.

Can ROOT source only compile cling if the llvm/clang is a debug compilation? I will try that tonight.

This afternoon I decided to use the same source to compile llvm/clang/cling on my netbook, Asus EEE with Intel atom running Scientific Linux 6.3.

configure stopped–and closed the terminal window–three times until I changed to scl-bash; using the 4.7.2 alternative gcc for RHEL 6. It compiled and linked until it stopped at the exact same place with the same error of missing makefile.d.

Do CERN computers have some program needed for compiling cling installed that most do not? I have noted that the first thing that compiling ROOT does is to make mkrdepend or something like that, that makes depend files for ROOT. Is that required to be in /usr/bin for cling to compile?

I have been trying now for two years and have yet to ever compile cling. Just wait on ROOT 6? I realize if I can’t compile it on x86, it will never compile on ARM.

Hi,
Did you follow: root.cern.ch/viewvc/trunk/interp … iew=markup
Vassil

Yes, I downloaded svn r165095, and then the patches.

Since this did not work on ARM, I tried it on my Intel Atom N270 dual core netbook. Again it did not work and so Friday I downloaded cling again, erased cling from llvm/tools/cling and pasted in the fresh download.

Ran ./configure and it stopped at exactly the same place. I had moved rmkdepend from /root/bin to /usr/bin just in case that is why I do not get a makefile.d

Here is the end of the compilation output and error:

llvm[2]: Building Debug+Asserts Archive Library libclingMetaProcessor.a
make[2]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/MetaProcessor' make[2]: Entering directory/home/dbrunk/llvm/tools/cling/lib/UserInterface’
Makefile:31: /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d: No such file or directory
svn: The path ‘/home/dbrunk/llvm/tools/cling/lib/UserInterface’ appears to be part of a Subversion 1.7 or greater
working copy rooted at ‘/home/dbrunk/llvm/tools/cling’.
Please upgrade your Subversion client to use this working copy.
svn co /home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput
svn: Try ‘svn help’ for more info
svn: Error parsing arguments
make[2]: *** [/home/dbrunk/llvm/tools/cling/lib/UserInterface/textinput/Makefile.d] Error 1
make[2]: Leaving directory /home/dbrunk/llvm/tools/cling/lib/UserInterface' make[1]: *** [UserInterface/.makeall] Error 2 make[1]: Leaving directory/home/dbrunk/llvm/tools/cling/lib’
make: *** [all] Error 1

This is on x86, not ARM but the same problems.

NOTE the svn error. Am I to install a more recent svn or is this a problem at CERN with your version of svn?

How do I make a makefile.d on my own?

I’m still working on trying to compile cling on Fedora 18 ARM.

Going into the llvm/tools/cling directories and running make did produce an AST.d and AST.o.

But I have these problems trying to do it other directories.

Trying to compile the missing directories in cling, inside /llvm/tools

I get errors about the missing Makefile.d with make, this is the error with
cmake:

[root@panda-f18-v7hl UserInterface]# ls
CMakeLists.txt Makefile UserInterface.cpp
[root@panda-f18-v7hl UserInterface]# cmake CMakeLists.txt
– The C compiler identification is GNU 4.7.2
– The CXX compiler identification is GNU 4.7.2
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:5 (add_cling_library):
Unknown CMake command “add_cling_library”.

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.<img src="/uploads/default/original/1X/fe5f42ae79e389360ae9d969db4dcc4bca03d384.gif" width="15" height="17" alt="8)" title="Cool"/>

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run “cmake --help-policy CMP0000”.
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring incomplete, errors occurred!

In llvm/tools/cling/tools/driver
I get this

[root@panda-f18-v7hl tools]# cd driver
[root@panda-f18-v7hl driver]# ls
cling.cpp CMakeLists.txt Makefile
[root@panda-f18-v7hl driver]# make
/bin/sh: /home/dbrunk/llvm/Release+Asserts/bin/llvm-config: No such file or directory
/home/dbrunk/llvm/Makefile.rules:1050: *** llvm-config --libs failed. Stop.

llvm-config in my llvm build is in
[root@panda-f18-v7hl tools]# pwd
/home/dbrunk/llvm/tools
[root@panda-f18-v7hl tools]# ls
bugpoint gold llvm-bcanalyzer llvm-dis llvm-nm llvm-rtdyld lto
bugpoint-passes llc LLVMBuild.txt llvm-dwarfdump llvm-objdump llvm-shlib macho-dump
clang lli llvm-config llvm-extract llvm-prof llvm-size Makefile
cling llvm-ar llvm-cov llvm-link llvm-ranlib llvm-stress opt
CMakeLists.txt llvm-as llvm-diff llvm-mc llvm-readobj llvm-stub

So building llvm with clang and cling source from svn
and this is svn -r 165095 for both llvm and clang
is not building as the cling make or cmake expects.

Is it possible, with llvm+clang r 165095 to build cling using
llvm=/usr/local since I have the correct revision compiled and installed?

How does CERN create the nightly builds? By totally recompiling llvm+clang?

Hi,
Did you applied the patches in llvm/tools/cling/patches/*.diff ?
Cheers,
Vassil

I wanted to make sure that I had applied the patches, and yes I had.

Is there some way to force a Makefile.d to be created? All but two or three directories have a Release+Asserts directory with the x.o files. But with out all of them, I can never build and run cling.

So I have begun to figure out the problem. I do not have an internet connection.
The cling UserInterface Makefile expects to find the svn of ROOT and check out

this directory

/root/core/textinput/src/textinput

and the Makefile.d that is in it.

I tried just running rmkdepend in the directory of file

textinput]# ls
Callbacks.h Makefile.bak TerminalConfigUnix.h
Color.h Range.cpp TerminalDisplay.cpp
Display.h Range.h TerminalDisplay.h
doc Reader.h TerminalDisplayUnix.cpp
Editor.cpp SignalHandler.cpp TerminalDisplayUnix.h
Editor.h SignalHandler.h TerminalDisplayWin.cpp
History.cpp StreamReader.cpp TerminalDisplayWin.h
History.h StreamReader.h Text.h
InputData.h StreamReaderUnix.cpp TextInputContext.cpp
KeyBinding.cpp StreamReaderUnix.h TextInputContext.h
KeyBinding.h StreamReaderWin.cpp TextInput.cpp
LICENSE.TXT StreamReaderWin.h TextInput.h
Makefile TerminalConfigUnix.cpp
[root@panda-f18-v7hl textinput]# pwd
/opt/root/core/textinput/src/textinput

and produced a Makefile.bak

which contains this:

]# more Makefile.bak
##===- cling/lib/UserInterface/Makefile---------------------- Makefile --===##

The LLVM Compiler Infrastructure

This file is distributed under the University of Illinois Open Source

License. See LICENSE.TXT for details.

##===----------------------------------------------------------------------===##

This implements the a C++ interpreter user frontend.

##===----------------------------------------------------------------------===##

LEVEL = …/…/…/…/…
LIBRARYNAME := clingUITextInput
BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
CPPFLAGS += -I$(PROJ_SRC_DIR)/…

include $(LEVEL)/Makefile.common

[root@panda-f18-v7hl textinput]#

Moving it to my home directory, renaming it Makefile.d and then pasting it into the
Makefile does not work because Makefile.common is not defined.

Now I discovered Makefile.common in /llvm, so edited the Makefile.d to
reflect its location.

After a bit of trying I realized that I need to copy the root/core/textinput/
src/textinput directory to the UserInterface directory. Unable to find the *.h files
I read the beginning of Editor.cpp and realized the includes were expected in
textinput/ so moved the *.h files to a textinput directory.

It then compiled until this error:
llvm[0]: Reconfiguring with /home/dbrunk/llvm/configure
llvm[0]: Constructing LLVMBuild project information.
llvm[0]: Compiling Editor.cpp for Debug+Asserts build
llvm[0]: Compiling History.cpp for Debug+Asserts build
llvm[0]: Compiling KeyBinding.cpp for Debug+Asserts build
llvm[0]: Compiling Range.cpp for Debug+Asserts build
llvm[0]: Compiling SignalHandler.cpp for Debug+Asserts build
llvm[0]: Compiling StreamReader.cpp for Debug+Asserts build
llvm[0]: Compiling StreamReaderUnix.cpp for Debug+Asserts build
llvm[0]: Compiling StreamReaderWin.cpp for Debug+Asserts build
llvm[0]: Compiling TerminalConfigUnix.cpp for Debug+Asserts build
llvm[0]: Compiling TerminalDisplay.cpp for Debug+Asserts build
llvm[0]: Compiling TerminalDisplayUnix.cpp for Debug+Asserts build
llvm[0]: Compiling TerminalDisplayWin.cpp for Debug+Asserts build
llvm[0]: Compiling TextInput.cpp for Debug+Asserts build
llvm[0]: Compiling TextInputContext.cpp for Debug+Asserts build
llvm[0]: Compiling UserInterface.cpp for Debug+Asserts build
UserInterface.cpp: In constructor ˜cling::UserInterface::UserInterface(cling::Interpreter&):
UserInterface.cpp:39:43: error: ˜STDOUT_FILENO was not declared in this scope
/usr/bin/rm: cannot remove ˜/home/dbrunk/llvm/tools/cling/lib/UserInterface/Debug+Asserts/UserInterface.d.tmp: No such file or directory
make: *** [/home/dbrunk/llvm/tools/cling/lib/UserInterface/Debug+Asserts/UserInterface.o] Error 1

I would greatly appreciate any help in continuing this. Why does the SVN download of cling not put this source code into a directory and then compile it? I have over come this problem but do not know how to fix the cling source compile problem; ie STDOUT_FILENO not declared in this scope.

On my Asus eee running Scientific Linux 6.3, I have ROOT source, compiled, and run
/home/dbrunk/root

and in this directory:
/home/dbrunk/root/core/textinput/src/textinput

the Makefile is:
more Makefile
##===- cling/lib/UserInterface/Makefile---------------------- Makefile --===##

The LLVM Compiler Infrastructure

This file is distributed under the University of Illinois Open Source

License. See LICENSE.TXT for details.

##===----------------------------------------------------------------------===##

This implements the a C++ interpreter user frontend.

##===----------------------------------------------------------------------===##

LEVEL = …/…/…/…/…
LIBRARYNAME := clingUITextInput
BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti
CPPFLAGS += -I$(PROJ_SRC_DIR)/…

include $(LEVEL)/Makefile.common

That is, the Makefile in this ROOT subdirectory is a cling Makefile.
This library target is clingUITextInput

but the Makefile in

/home/dbrunk/llvm/tools/cling/lib/UserInterface

is this:

more Makefile
##===- cling/lib/UserInterface/Makefile---------------------- Makefile --===##

The LLVM Compiler Infrastructure

This file is distributed under the University of Illinois Open Source

License. See LICENSE.TXT for details.

##===----------------------------------------------------------------------===##

This implements the a C++ interpreter user frontend.

##===----------------------------------------------------------------------===##

CLING_LEVEL = …/…
DIRS = textinput

LIBRARYNAME := clingUserInterface
BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti

CPPFLAGS += -I$(PROJ_SRC_DIR)/…/…/include -I$(PROJ_SRC_DIR)/…/…/…/clang/include
-I$(PROJ_SRC_DIR)/…/…/…/clang/lib -I$(PROJ_OBJ_DIR)/…/…/include -I$(PROJ_OBJ_DIR)/…/…/…/clang/include

include $(CLING_LEVEL)/Makefile

$(PROJ_SRC_DIR)/textinput/Makefile.d:
svn co $(shell svn info $(PROJ_SRC_DIR) | grep ^URL: | sed ‘s,^URL: (.*)interpreter/cling/lib/UserInterface,\1/core
/textinput/src/textinput,’) $(PROJ_SRC_DIR)/textinput
touch $@

trigger checkput before building

include $(PROJ_SRC_DIR)/textinput/Makefile.d

With a library target of clingUserInterface. But note that this tries–and always fails–to use svn to get the
textinput source.

I have copied textinput files into the llvm/tools/cling/lib/UserInterface directory but then need to
understand how to create the two lib files.

I do not know how to write make files well enough to do this. What are the compiler commands (ie. -I -L etc) to -o -fPIC to then make an .so of the textinput and then hope that the UserInterface source can then compile? My attempts to do this never puts /textinput directory or source into the UserInterface directory, so doing it manually needs some makefile adjustments.

Hi,

Sorry this is such a rough ride - it shouldn’t be! I have built ROOT on ARM (lent kindly by Dell, using Ubuntu) without much of a problem…

First of all, let’s understand what you want to do: do you want to help us get a next major release of ROOT out of the door? Then let’s try to fix the trunk. If you want to do for instance benchmarking, i.e. if you are looking for a production-grade version of ROOT, then please use ROOT from svn co root.cern.ch/svn/root/branches/v5- 34-00-patches - and please take the tip of the branch because I have patched CINT to support Linux on ARM.

Please take an original copy of ROOT’s sources for now; no patches whatsoever should be needed.

Cheers, Axel.

Thank you, Axel. I’ll check out the source and try to build tonight.

Axel et al:

I downloaded the svn yesterday afternoon EDT.
I was able to compile it on my Intel Atom netbook running Scientific Linux 6.3.

I think it is SELinux problems, but the ARM Fedora 18 always removes exec permissions. I got around that by making the svn root directory into a tarball using cpvf newroot.tar.

untarring worked and configure ran. About seven hours later it was compiling clang, but it ended sometime after that with this error:

Generating dictionary core/base/src/G__Base1.cxx…
core/utils/src/rootcling_tmp -f core/base/src/G__Base1.cxx -c /home/dbrunk/root/core/base/inc/TRootIOCtor.h /home/dbrunk/root/core/base/inc/TBuffer3DTypes.h /home/dbrunk/root/core/base/inc/TDirectory.h /home/dbrunk/root/core/base/inc/TMathBase.h /home/dbrunk/root/core/base/inc/TPoint.h /home/dbrunk/root/core/base/inc/TMacro.h /home/dbrunk/root/core/base/inc/TInspectorImp.h /home/dbrunk/root/core/base/inc/TAttAxis.h /home/dbrunk/root/core/base/inc/TDatime.h /home/dbrunk/root/core/base/inc/TMemberInspector.h /home/dbrunk/root/core/base/inc/TAttPad.h /home/dbrunk/root/core/base/inc/TVirtualPS.h /home/dbrunk/root/core/base/inc/TSystem.h /home/dbrunk/root/core/base/inc/TRefCnt.h /home/dbrunk/root/core/base/inc/TNamed.h /home/dbrunk/root/core/base/inc/TVirtualGL.h /home/dbrunk/root/core/base/inc/TVirtualFFT.h /home/dbrunk/root/core/base/inc/TAttMarker.h /home/dbrunk/root/core/base/inc/TCanvasImp.h /home/dbrunk/root/core/base/inc/TException.h /home/dbrunk/root/core/base/inc/TVirtualViewer3D.h /home/dbrunk/root/core/base/inc/TContextMenu.h /home/dbrunk/root/core/base/inc/TAttFill.h /home/dbrunk/root/core/base/inc/TMD5.h /home/dbrunk/root/core/base/inc/TProcessID.h /home/dbrunk/root/core/base/inc/TBrowserImp.h /home/dbrunk/root/core/base/inc/TTask.h /home/dbrunk/root/core/base/inc/TROOT.h /home/dbrunk/root/core/base/inc/TSysEvtHandler.h /home/dbrunk/root/core/base/inc/TExec.h /home/dbrunk/root/core/base/inc/TQCommand.h /home/dbrunk/root/core/base/inc/TSystemFile.h /home/dbrunk/root/core/base/inc/TGuiFactory.h /home/dbrunk/root/core/base/inc/TApplicationImp.h /home/dbrunk/root/core/base/inc/TSystemDirectory.h /home/dbrunk/root/core/base/inc/TStopwatch.h /home/dbrunk/root/core/base/inc/TObject.h /home/dbrunk/root/core/base/inc/TStorage.h /home/dbrunk/root/core/base/inc/TMessageHandler.h /home/dbrunk/root/core/base/inc/TRegexp.h /home/dbrunk/root/core/base/inc/TAtt3D.h /home/dbrunk/root/core/base/inc/TPluginManager.h /home/dbrunk/root/core/base/inc/TProcessUUID.h /home/dbrunk/root/core/base/inc/TString.h /home/dbrunk/root/core/base/inc/TAttLine.h /home/dbrunk/root/core/base/inc/TRef.h /home/dbrunk/root/core/base/inc/TQObject.h /home/dbrunk/root/core/base/inc/TUUID.h /home/dbrunk/root/core/base/inc/TFolder.h /home/dbrunk/root/core/base/inc/TPRegexp.h /home/dbrunk/root/core/base/inc/TThreadSlots.h /home/dbrunk/root/core/base/inc/TQClass.h /home/dbrunk/root/core/base/inc/TAttBBox.h /home/dbrunk/root/core/base/inc/TBuffer.h /home/dbrunk/root/core/base/inc/TStringLong.h /home/dbrunk/root/core/base/inc/TObjString.h /home/dbrunk/root/core/base/inc/TBrowser.h /home/dbrunk/root/core/base/inc/TVersionCheck.h /home/dbrunk/root/core/base/inc/TApplication.h /home/dbrunk/root/core/base/inc/TError.h /home/dbrunk/root/core/base/inc/TControlBarImp.h /home/dbrunk/root/core/base/inc/TTimer.h /home/dbrunk/root/core/base/inc/TColorGradient.h /home/dbrunk/root/core/base/inc/TAttText.h /home/dbrunk/root/core/base/inc/TRemoteObject.h /home/dbrunk/root/core/base/inc/TVirtualPadEditor.h /home/dbrunk/root/core/base/inc/TBuffer3D.h /home/dbrunk/root/core/base/inc/TTime.h /home/dbrunk/root/core/base/inc/TBenchmark.h /home/dbrunk/root/core/base/inc/TColor.h /home/dbrunk/root/core/base/inc/TVirtualPadPainter.h /home/dbrunk/root/core/base/inc/TEnv.h /home/dbrunk/root/core/base/inc/TStyle.h /home/dbrunk/root/core/base/inc/TContextMenuImp.h /home/dbrunk/root/core/base/inc/TVirtualPad.h /home/dbrunk/root/core/base/inc/TQConnection.h /home/dbrunk/root/core/base/inc/LinkDef1.h
In file included from input_line_6:1:
In file included from include/Rtypes.h:30:
include/Rtypeinfo.h:32:10: fatal error: ‘typeinfo’ file not found
#include
^
Error: Error loading the default header files.make: *** [core/base/src/G__Base1.cxx] Error 1

[edit: sorry originally posted the copy twice, some how]
^
Error: Error loading the default header files.[dbrunk@panda-f18-v7hl root]$ In file included from input_line_6:1:

in root/bin there is a rootcling that will run.

So I am not sure if this error is a problem from me making a tarball or some other problem.

But this is the first time I have ever compiled cling, thank you for your help so far.
And my aim is to learn to compile and run ROOT on small ARM devices that I am allowed to install java and use Eclipse. Eclipse works well on the Cubieboard.

Hi,

I still don’t understand why you use the trunk. Could you explain? As I said, the production version is in the v5-34-00-patches branch.

Cheers, Axel.

Axel:

Sorry, the link you had embedded in your response didn’t click, partly not a hypelink. So I tried to paste part of it to the rest of the url. Any way, I understand SVN about as well as I understand Makefiles. I just put in the url for svn co xxx that I thought was right.

Sorry, I’m not trying to waste your time. Is there an -r that I need to include between svn co and the https? There was a version number at the top of that page. After starting what was the 5.99 version, I tried onto another thumbdrive to download what I think was the version you wanted me to download. But it takes me about 2 hours to download the ROOT source via svn and I ran out of time, had the one version, and went with it. Tomorrow at work I have a faster internet connection and can try to get now what I realize is the corect version.

This is what I ran out of time downloading and what I will try to download tomorrow:

svn co -r 48906 root.cern.ch/svn/root/trunk root

Hi,

Okay, that explains everything - thanks!

To get the sources and build please run

rm -rf your-current-root-build
mkdir root-build
cd root-build
svn co http://root.cern.ch/svn/root/branches/v5-34-00-patches src
mkdir obj
cd obj
../src/configure
make -j4

Let me know if you still have problems with that.

Cheers, Axel.