dev  

Re: DSO problem

Graf Laszlo
Thu, 04 Mar 2010 03:35:09 -0800

Hi Rüdiger,

Yes, it works now.

Is there a way to "scan" the shared library for its types and functions
without knowing what is in there?

Thank you.

grafl

Idézet (Ruediger Pluem <rpl...@apache.org>):

On 03.03.2010 21:27, Graf László wrote:
Hi all,

I test the DSO sample from http://dev.ariel-networks.com/ on Linux and
it works fine. OK, now I would like to test my own little library.

Its header file, apr_dso_f.h contains this function:

   static int f10(int p1);

and its source file contains these lines:

   #include <apr_dso_f.h>
   static int f10(int p1)

This one is static so its symbol is not exported. Remove static and it should
work fine.

Regards

Rüdiger