1011 There was a duplicate name in a ML Basis file. For instance, structure A and structure A will trigger this error. To fix Use different names. Or, remove the and. This will induce shadowing. See also error 5002.