Bug 5758

Summary: libsnmp.so: undefined reference
Product: Sisyphus Reporter: Alexey Gladkov <legion>
Component: libucd-snmp-develAssignee: Kostya Timoshenko <kt>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: shaba, thresh
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 5753    

Description Alexey Gladkov 2004-12-21 14:37:40 MSK
при попытке скомпилировать пример:
char snmp_parse_oid ();
int main () {
  snmp_parse_oid ();
  return 0;
}

$ gcc -o test -lsnmp test.c
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/libsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp.so: undefined reference to `HMAC'
/usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib/libsnmp.so: undefined reference to `SSLeay'
/usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/libsnmp.so: undefined reference to `DES_cbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `DES_ncbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `DES_key_sched'
/usr/lib/libsnmp.so: undefined reference to `AES_cfb128_encrypt'
collect2: ld returned 1 exit status
Comment 1 Konstantin Pavlov 2006-09-28 18:06:11 MSD
Дааавно исправлено.
Comment 2 Konstantin Pavlov 2007-01-30 10:09:19 MSK
Закрываю.