To close the subject, if that can help the users, there is another way to
use a shared library for an agent extension and it works well for me. It is
possible to use the dlfcn.h interface, described on this website:
http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=153&rl=1
Thanks to this method, we don't have to declare any library during
compilation process.

Have a good day,

Charles Baudry


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

BAUDRY Charles wrote:
> /usr/bin/ld: fsprpc_clnt.a(fsprpc_c.o): Relocations in generic ELF (EM:
20)
> fsprpc_clnt.a: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make: *** [snmpd] Error 1

We don't know anything about your fsprpc_clnt.a and/or your platform,
but it really sounds as if the two don't fit together or you aren't
doing a static build (--enable-static --disable-shared).


+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