Hello Thomas,
thanks for your answer.
I saw on this link
http://sourceforge.net/mailarchive/message.php?msg_id=sdk5vr6yud.fsf%40wes.hardakers.net
that we can not use shared library... So I tried with a static library your
option --with-libs="-llibrary" but it doesn't find the file and stop the
configure process.
However, when I write it like this: --with-libs=library.a, it seems to find
the file because it goes on with the configure process. There is now a
problem with the make, it says that it doesn't find the file and it quits
with error=1...

Thanks in advance for any piece of advice...
Charles

On 7/11/07, Thomas Anders <[EMAIL PROTECTED]> wrote:

BAUDRY Charles wrote:
> I'm using Net-SNMP 5.1.9 on a PowerPC system. I would like to extend the
> agent with a C file which uses some functions included in a shared
> library. The thing is I don't know how to compile Net-SNMP including
> this library.
> I tried with --enable-shared="library.so" but it doesn't appear to work.

Try --with-libs="-llibrary".


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to