cling::printValue(void const**) unresolved while linking [cling interface function]!

Hi all.
I found a solution to this: I had to install clang-3.9 on my system before compiling.
Luckily LLVM maintains many versions for many systems, so it was quite straightforward.
Here is the exact complete sequence:

Prerequisites

# Required packages
sudo apt-get install git dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev

# Optional packages
sudo apt-get install gfortran libssl-dev libpcre3-dev \
xlibmesa-glu-dev libglew1.5-dev libftgl-dev \
libmysqlclient-dev libfftw3-dev libcfitsio-dev \
graphviz-dev libavahi-compat-libdnssd-dev \
libldap2-dev python-dev libxml2-dev libkrb5-dev \
libgsl0-dev libqt4-dev

Clang 3.9

# LLVM & clang 3.9
cat >> llvm-toolchain-3.9.list << @EOF
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main
@EOF
sudo mv llvm-toolchain-3.9.list /etc/apt/sources.list.d/
sudo chown root. /etc/apt/sources.list.d/llvm-toolchain-3.9.list
sudo apt-get update
sudo apt-get install clang-3.9

Usual installation

# Git clone
git clone http://root.cern.ch/git/root.git root_src

# actual make
mkdir root_build
cd root_build
unset ROOTSYS
cmake -Dall="ON" -Dr="OFF" -Dsoversion="ON" -Dqtgsi="OFF" ../root_src >> cmake.out.txt 2>&1
cmake --build . -- -j7 | tee cmake.out.txt 2>&1

# make install
sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local/root/ -P cmake_install.cmake >> cmake_install.out.txt 2>&1