You were missing one parameter. Use the following code:
void NotifyUeReport (std::string context, uint16_t cellid, uint16_t rnti,double rsrp , double avsinr, uint8_t k)
{
std::cout << context<<std::endl;
std::cout<<Simulator::Now().GetSeconds()<<"\teNB CellId="<<cellid <<"\tRNTI="<<rnti<<"\tRSRP="<<rsrp
<<"\tSINR="<<10*log(avsinr)/log(10)<<std::endl;
}
And a small addition in the Config::Connect
Config::Connect("/NodeList/*/DeviceList/*/$ns3::LteUeNetDevice/ComponentCarrierMapUe/*/LteUePhy/ReportCurrentCellRsrpSinr",MakeCallback(&NotifyUeReport));
It should work now.
Hope it helps.