On Mon, 27 Feb 2012 17:13:52 +0800 Rui Hu <tchrb...@gmail.com> wrote:
> Should I add some compile parameters in apxs? No, but you should probably have posted to the modules-dev list rather than here. It's not a compile problem, it's a design problem. You're trying to use data that's private to another module. That means you lose all API support, and a change in the core could break your 'module' at any time (and consequently you can't in good faith supply it to any third-parties as a module, because it'll prevent them upgrading). Your options are: 1. Redesign your module not to need core internals. 2. Copy the relevant declarations, and live with the consequences. 3. Propose a change to the core API to expose whatever you need. Your best option is probably the first. -- Nick Kew