On 2009 October 14, Wednesday 13:58:23 you wrote:
> If your application needed some symbol from session_timer, then there
> was something wrong in the use of the module; if you are using it only
> via DI API, then there should be no exported symbol necessary. If your
> module export is of base type (AmPluginFactory), then I don't

If I load my plugin first:

(21793) DEBUG: [b7d386c0] load (AmPlugIn.cpp:191): loading /usr/local/sems-
szo/lib/sems/plug-in//xxx.so...
(21793) ERROR: [b7d386c0] loadPlugIn (AmPlugIn.cpp:279): AmPlugIn::loadPlugIn: 
/usr/local/sems-szo/lib/sems/plug-in//xxx.so: /usr/local/sems-
szo/lib/sems/plug-in//xxx.so: undefined symbol: _ZN9UserTimer8setTimerEiiRKSs
(21793) ERROR: [b7d386c0] load (AmPlugIn.cpp:193): while loading plug-in 
'/usr/local/sems-szo/lib/sems/plug-in//xxx.so'

grep UserT xxx.cpp
#include "plug-in/session_timer/UserTimer.h"
  UserTimer::instance()->setTimer(1,1,tag);
    UserTimer::instance()->setTimer(1,1,getLocalTag());
  UserTimer::instance()->removeTimers(getLocalTag());

that's all I use.

> Do you think that an explicit order of onLoad() calling is indeed
> needed? Something like init_order?

I don't need it, no, see above, I had a linker error.

br

Szo
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to