Thanks for your advice :-)

Rui Hu

2012/2/27 Nick Kew <n...@webthing.com>

> 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
>



-- 
Best regards,

Rui Hu
----------------------------------------------------------------------------------------
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)
MSN: tchrb...@gmail.com
-----------------------------------------------------------------------------------------

Reply via email to