To successfully compile ndnSIM, it is necessary to use a custom branch of NS-3.
This branch can be cloned from https://github.com/cawka/ns-3-dev-ndnSIM
mkdir ndnSIM cd ndnSIM git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3 git clone git://github.com/cawka/pybindgen.git pybindgen git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM
For more information, including downloading and compilation instruction, please refer to documentation in doc/ or on http://ndnsim.net