dear Friends,
         I am working on SNMP protocol in LINUX
 I have written a simple C code for it..........
It gets complied   .........
But  showing the linking error as follows
          I searched a net a lot but didn't found exact solution ..........wanna some help from your side
Please guide me in the same
   There is no libdes.a that is Data encryption library with fedora version so how can I remove these errors
 
#gcc -otest  test.c -lnetsnmp -lsnmp  -L/usr/lib
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib/libnetsnmp.so: gcc -otest  test.c -lnetsnmp -lsnmp  -L/usr/lib
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libnetsnmp.so: undefined reference to `HMAC'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib/libnetsnmp.so: undefined reference to `SSLeay'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libnetsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/libnetsnmp.so: undefined reference to `DES_cbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `DES_ncbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `DES_key_sched'
/usr/lib/libnetsnmp.so: undefined reference to `AES_cfb128_encrypt'
collect2: ld returned 1 exit status
#
Reply me : [EMAIL PROTECTED] , OR .. [EMAIL PROTECTED]
 




SAWANT AVINASH
[EMAIL PROTECTED]
GCOE Pune
call me @ 9422402864


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

Reply via email to