(More package/component install fun for me -- thanks everyone for all your help to date).
I am getting the error listed as the title, in Delphi 2007. Package A is
It could also be related to this question.
Unit X is clearly being linked into both packages. There's a couple of ways around this:
If the viewers are explicitly mentioned in your Package B code, then Package B most certainly should be using Package A (ie, there should be an explicit dependency there). If that indication of shared code isn't explicitly made, B will compile it's own version of the code into B, leading to the problem you're seeing.
Now, if that dependency is OK, adding a reference to Package A from Package B should clear this problem up right away; after all, B will be "using" the code in Package A, and the same units won't be getting compiled into two packages. However, if this introduces circular references (I can't remember whether A uses B or not), then you might have a bit of refactoring to to :}