Both sentences sound odd to me, but I'd say the first is definitely wrong.
I think you are using "what" as a kind of relative and this needs no antecedent. I mean:
I don't understand what you mean. RIGHT
I don't understand it what you mean. WRONG
- For Teachers