I have experienced multiple "struct member undefined" errors when compiling ex4.
It happened at the end of a project where I decided to tidy up the naming of Variables & Constants. Although no variables had the exact same names as constants they were similar.
Looking in the code at the User Block reference for each error it turns out that Contants had been replaced with Variables in each block. When I switched them back to the correct Constant all compiled OK.