write file, one with the weak file and another with the normal symbol. below are the content of the files: where weak_ex() is the definition declared with weak symbol.