HELSINKI (Reuters) – Network equipment maker Nokia said on Thursday it has agreed to buy another Finnish company, Comptel , for about 347 million euros ($370 million) to expand its software business.