Module cannot see defines defined in pkg, if this pkg is imported inside module. What is the reason for it?

In reply to cgales:

Thanks a lot.