You have a problem with the word order.
Are all the sentences correct?
No, we are asking if they share the same single meaning, one meaning, so the plural 'meanings' is not correct. If the answer is yes, you would say 'yes, they have the same meaning'. Or if it is no, you would say 'no, they have different meanings' (because we are now talking about more than one meaning).