You are probably missing the definition of cling::printValue(void const**)

Dear all,
i am trying to install ROOT v. 6.06.00 on Ubuntu 15.10, but after running the make install I get:

root [0]
Processing hsimple.C…
hsimple : Real Time = 0.09 seconds Cpu Time = 0.08 seconds
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling10printValueEPPKv’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::printValue(void const**)
Maybe you need to load the corresponding shared library?
(TFile *) Error in ValuePrinter: missing output string.

My gcc version is 5.2.1.
I have read this post:

Was any solution found, please?

Thanks,
regards,
Francesca

Dear all,
I installed gcc-5.1.0 and used the --with-cc and --with-cxx in configuring ROOT. The make runs ok, but when I run the make install I still get

root [0]
Processing hsimple.C…
hsimple : Real Time = 0.09 seconds Cpu Time = 0.09 seconds
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling10printValueEPPKv’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::printValue(void const**)
Maybe you need to load the corresponding shared library?
(TFile *) Error in ValuePrinter: missing output string.

Could anyone help me to fix the problem, please?

Dear all,
I had forgotten, in the ./configure, to add --enable-cxx11.
Now it works with gcc5.2.1.

Regards,
Fra

[quote=“franciuska”]Dear all,
I had forgotten, in the ./configure, to add --enable-cxx11.
Now it works with gcc5.2.1.

Regards,
Fra[/quote]

I tried the solution to add --enable-cxx11.

All I did was:

root@avinay-Presario-CQ42-Notebook-PC:/home/avinay/Desktop/root/root-6.06.00# ./configure --enable-cxx11
Checking for source directory … /home/avinay/Desktop/root/root-6.06.00
Configuring for linuxx8664gcc
WARNING: option --enable-cxx11 is deprecated and ignored!
Checking for GNU Make version >= 3.80 … ok
Checking for C compiler … gcc
Checking for C++ compiler … g++
Checking for linker (LD) … g++
Checking for F77 compiler … gfortran
Checking whether compiler can generate dependencies … yes
Checking whether c++11 mode is supported … yes
Checking for string_view implementation … using builtin string_view
Checking for Python version >= 2.7 … yes
Checking for libX11 … /usr/lib/x86_64-linux-gnu
Checking for X11/Xlib.h … /usr/include
Checking for X11/xpm.h … /usr/include
Checking for X11/Xft/Xft.h … /usr/include
Checking for X11/extensions/shape.h … /usr/include
Checking for libXpm … /usr/lib/x86_64-linux-gnu
Checking for libXft … /usr/lib/x86_64-linux-gnu
Checking for libXext … /usr/lib/x86_64-linux-gnu
Checking for freetype-config … /usr/bin/freetype-config
Checking for libfreetype version >= 9.3.0 … ok
Checking whether to build included libfreetype6 … no
Checking for pcre-config … not found
Checking whether to build included libpcre … yes
Checking for zlib.h … /usr/include
Checking for libz … /usr/lib/x86_64-linux-gnu
Checking whether to build included zlib … no
Checking for lzma.h … no
Checking for liblzma … no
Checking whether to build included lzma … yes
Checking for GL/gl.h, or gl.h … no
Checking for libGL, or libMesaGL … no
Checking for libGLU, or libMesaGLU … no
Checking for mysql_config … not found
Checking for mysql.h … no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient … no
Checking for occi.h … no
Checking for libclntsh, or oci … no
Checking for libocci, or oraocci10 … no
Checking for libpq-fe.h … no
Checking for libpq … no
Checking for sqlite3.h … no
Checking for libsqlite3 … no
Checking for sql.h … no
Checking for libsqlod … no
Checking for sqlext.h … no
Checking for libiodbc, libodbc, or odbc32 … no
Checking for rfio_api.h … no
Checking for librfio, libdpm, libcastorrfio, libshift, shiftmd, or shift … no
Checking for rfio_api.h … no
Checking for stager_api.h … no
Checking for libcastorrfio, libshift, shiftmd, or shift … no
Checking for gfal_api.h … no
Checking for libgfal … no
Checking for gfal_srm_ifce_types.h … no
Checking for ApMon.h … no
Checking for libapmoncpp … no
Checking for fftw3.h … no
Checking for libfftw3, or libfftw3-3 … no
Checking for fitsio.h … no
Checking for libcfitsio, or cfitsio … no
Checking for gvc.h … no
Checking for libgvc, or gvc … no
Checking for libgraph, graph, libcgraph, or cgraph … no
Checking for libcdt, or cdt … no
Checking for libpathplan, or pathplan … no
Checking for libexpat, or expat … /usr/lib/x86_64-linux-gnu
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout … no
Checking for libPythia6 … no
Checking for Pythia8/Pythia.h … no
Checking for libpythia8 … no
Checking for dcap.h … no
Checking for libdcap … no
Checking for davix.hpp … no
Checking for libdavix … no
Checking for chirp_reli.h … no
Checking for libchirp_client … no
Checking for hdfs.h … no
Checking for jni.h … no
Checking for libhdfs … no
Checking for libjvm … no
Checking for dns_sd.h … no
Checking for libdns_sd … no
Checking for libglite-api-wrapper … no
Checking for gapiUI.h … no
Checking for libgapiUI … no
Checking for jpeglib.h … no
Checking for png.h … /usr/include
Checking for tiffio.h … no
Checking for libjpeg … no
Checking for libtiff … no
Checking for libz … /usr/lib/x86_64-linux-gnu
Checking for libpng … /usr/lib/x86_64-linux-gnu
Checking whether to build included libAfterImage … yes
Checking for ldap.h … no
Checking for libldap … no
Checking for PyROOT prerequisites … yes
Checking for Python.h … /usr/include/python2.7
Checking for python2.7, libpython2.7, libpython, python, or Python … /usr/lib
Checking for xml2-config … not found
Checking for libxml/tree.h … no
Checking for libxml2_a, or libxml2 … no
Checking for XrdVersion.hh … no
Checking for libssl … no
Checking for t_server.h … no
Checking for libsrp … no
Checking for libgmp … no
Checking for libmisc … no
Checking for pwauth.h … no
Checking for krb5.h … no
Checking for shadow passwords … yes
Checking for gsl/gsl_version.h … no
Checking for gsl-config … not found
Checking whether to build libMathMore … no
Checking whether to build libRInterface … no
Checking whether to build libGenVector … yes
Checking whether to build libRooFit … no
Checking whether to build libMinuit2 … no
Checking whether to build libUnuran … no
Checking whether to build libVc … no
Checking whether to install VDT … yes
Checking whether to build libGdml … no
Checking whether to build libTable … no
Checking whether to build libTMVA … yes
Checking whether to build libRHTTP … no
Checking whether to build libMemStat … yes
Checking whether to build afdsmgrd … no
Checking whether setresuid declared in /usr/include/unistd.h … yes
Writing config/Makefile.config … done
Writing config/Makefile.comp … done
Writing include/RConfigure.h … done
Writing include/RConfigOptions.h … done
Writing bin/root-config … done
Writing etc/system.rootrc … done
Writing etc/system.rootauthrc … done
Writing etc/system.rootdaemonrc … done
Writing etc/root.mimes … done
Writing etc/daemons/rootd.rc.d … done
Writing etc/daemons/rootd.xinetd … done
Writing etc/daemons/proofd.rc.d … done
Writing etc/daemons/proofd.xinetd … done
Writing main/src/proofserv.sh … done
Writing main/src/roots.sh … done
Writing bin/memprobe … done
Writing build/misc/root-help.el … done
Writing macros/html.C … done
Writing bin/thisroot.sh … done
Writing bin/thisroot.csh … done
Writing bin/setxrd.sh … done
Writing bin/setxrd.csh … done
Writing config.status … done

Enabled support for asimage, astiff, builtin_afterimage, builtin_pcre, builtin_lzma, builtin_llvm, explicitlink, genvector, memstat, python, search_usrlocal, shadowpw, shared, tmva, vdt, x11, xft.

To build ROOT type:

make

===================================================================================

After this enter make -j4 and the ROOT is installed, but shows the same error which is mentioned earlier in this thread.

I’d appreciate any kind of help.

Thanks