problem with 要 - it seems to have several meanings
I would translate 一定要 as "must":

Seeing those houses, he thought, "I must buy myself a house!"

要 indeed has several meanings. I'm not sure I'd call that a "problem", but it can be challenging for a learner. I think the most basic meanings are "want", "must", and occasionally "will". Just my 2 cents.