I do now know how to initialize structures on the global scope.
The following is a sample code:
#include struct A { int x; }; struct
you are doing an assignment outside of any function. In your case you could move only one line of code to get the following:
#include struct A { int x; }; struct A a; int main() { a.x=6; }