Gamma-ray emission from young radio galaxies