How should I do when two package be dependent on each other?

In reply to dave_59:

@designer007: I’m not sure if I understand your problem correctly. Might this be a solution?

package pa;
  typedef class a;
endpackage
package pb;
  import pa::*;
  export pa::a;
<more entries>
endpackage

class test extends base_test;
  import pb::*;
  a aobj;
.....
endclass