The energy loss of 4He ions in solid compounds