Hello!

You can trace loading and symbol resolving by
setting LD_DEBUG, LD_VERBOSE and LD_DEBUG_OUTPUT environment
variables. ( See man ld.so )

i.e: "LD_DEBUG=all LD_DEBUG_OUTPUT=/tmp/log.txt openhpid"

OpenHPI core tries to resolve plugin function, if there is no particular  
function,
it just uses NULL for it for further work.

One can see the code and function names in src/plugin.c,  
oh_load_plugin_functions function.
one can try to insert some debug printing into this code for investigation.

        Anton Pak


On Wed, 23 Jul 2008 14:35:48 +0400, grisha gringauz <[EMAIL PROTECTED]>  
wrote:

> I wrote a plugin for openhpi and I'm trying to use the openhpi with  
> daemon.
> I suspect that the plugin doesn't work because the daemon doesn't find  
> some
> openhpi functions that I use in the plugin and that's why lt_dlopenext of
> the plugin fails in the daemon. The plugin does work when I use openhpi
> without daemon.
> Are there functions that exist in openhpi but not in the daemon?
> Is there a log for the daemon?
> Thanks



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to