After some trials and errors, I found that some $DEFINE clauses caused the error. After cleaning up these clauses, all units together are compiled as usual. If somebody is interested in exact details , I´ll deliver. Wolfram