Oh, I find the answer. If you want detailed information, see here .
In short, constant global variable has internal linkage by default, use 'extern' specifier to make it external linkable.