Something seems to be amiss with your grids.ppu. Perhaps the compiler finds more than one?
Whatever the reason, it may be that the problem is with your Lazarus setup, not with your component package.
My suggestion would be to try uninstalling Lazarus, and then reinstall clean.
Drop a grid onto a new project and check that a simple do-nothing project that uses grids compiles and runs OK, before you try to compile your component package.