Hello

I've scoured through the emails and have noticed that a number of others
have had this same problem, and I've tried everything that was
suggested.

When I attempt to link my app specific libraries to the net-snmp libs, I
get the following link error:

Undefined                       first referenced
 symbol                             in file
HMAC
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(scapi.o)
des_cbc_encrypt
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(scapi.o)
des_key_sched
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(scapi.o)
alphasort                           emcp_mond_solaris.o
strtkn                              emcp_mond.o
EVP_DigestInit
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(keytools.o)
nmp_free_varbind                    emcp_mond_solaris.o
scandir                             emcp_mond_solaris.o
RAND_bytes
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(scapi.o)
EVP_DigestUpdate
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(keytools.o)
EVP_md5
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(keytools.o)
EVP_sha1
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(keytools.o)
EVP_DigestFinal
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(keytools.o)
des_ncbc_encrypt
/vobs/pp2dev/src/cmds/emcp_mond/lib/libnets
mp.a(scapi.o)
ld: fatal: Symbol referencing errors. No output written to
emcp_mond_32_5_9
make[1]: *** [emcp_mond_32_5_9] Error 1
make[1]: Leaving directory
`/vobs/pp2dev/obj_DEBUG/sparc_solaris_32_5_9/cmds/em

These are clearly symbols from openssl libs, but funny thing is, I'm
linking in those libraries!
Here are my ld_flags:

${TARGET_MACHINE}_LDFLAGS       =  ${LIBS} -z muldefs -L/usr/lib/sparcv9
-lkstat
  -lm -ladm -lposix4 -lelf -lgen -lnsl -lsocket -L${SRCDIR}/lib/ssl
-lcrypto -ls
sl -L${SRCDIR}/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers
-lnetsnmp

Only thing I could be missing is ldes?? However, I've searched
everywhere and couldn't find that library on my machine - should I
download openssl tarball and rebuild the entire set of libraries? 

Please advise,
Thank you for your response.
Randy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to