Le Ton Chanh <letonchanh@xxxxxxxxx> writes: > Thanks for your help and I'm sorry because of providing less > information for you. I have only one *.h file; in this file I define > a struct A and a variable which has A type. I use this variable in > many other files. I see this variable is like as the targetm > variable. How do I do to make GCC understand this declaration. If I understand correctly, this is a basic C language question. In C, it is not sufficient to merely declare a variable. You must also define the variable in some source file. E.g., targetm is defined in the config/CPU/CPU.c file. Ian