Re: undefined reference..

Sagar Shukla <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Persistent Systems Pvt Ltd
Message-ID <[email protected]>
Hi Sharad,
      This could most probably be because of older version of libnetsnmp
library running on the freebsd 4.2 and the package you are trying to
compile required more recent version of libnetsnmp which is available on
freebsd 6.0 .

You can try upgrading libnetsnmp library packages to resolve this issue.

Thanks,
Sagar.

On Tue, 2007-07-03 at 14:19 +0530, Sharad Chandra wrote:
> Hi,
> 
> I am compiling a code on freebsd 4.2 system but i am getting this problem
> 
> bash-2.04$ gcc -I /usr/local/include -L /usr/local/lib -lnetsnmp -lcrypto 
> trap.c
> /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
> /usr/local/lib/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
> /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
> /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_init'
> /usr/local/lib/libnetsnmp.so: undefined reference to `DES_cbc_encrypt'
> /usr/local/lib/libnetsnmp.so: undefined reference to `DES_ncbc_encrypt'
> /usr/local/lib/libnetsnmp.so: undefined reference to `DES_key_sched'
> /usr/local/lib/libnetsnmp.so: undefined reference to `AES_cfb128_encrypt'
> 
> while compiling on freebsd 6.0, it does not give any error. anyone faced this 
> error before pls help.
> 
> Thanks
> Sharad
> 
> -------------------------------------------------------------------------
> 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-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

-------------------------------------------------------------------------
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-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.