Hi, problem with symbols in object file of CryptoPP5.21
When I did a command "nm" to iterhash.o,
the result shows no symbols!
--- cut here ---
[EMAIL PROTECTED]:[552]% nm cryptopp521/Debug/iterhash.o
Debug/iterhash.o:
[Index] Value Size Type Bind Other Shndx Name
[2] | 0| 0|SECT |LOCL |0 |7 |
[3] | 0| 0|SECT |LOCL |0 |2 |
[4] | 0| 0|SECT |LOCL |0 |3 |
[5] | 0| 0|SECT |LOCL |0 |5 |
[6] | 0| 0|SECT |LOCL |0 |6 |
[7] | 0| 0|SECT |LOCL |0 |4 |
[1] | 0| 0|FILE |LOCL |0 |ABS |iterhash.cpp
[16] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_create
[15] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_getspecific
[13] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_key_create
[12] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_key_delete
[8] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_lock
[9] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_trylock
[10] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_unlock
[14] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_once
[11] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_setspecific
--- cut here ---
Comparing with Cryptopp4.2 version,
shows many symbols .
whats the difference between Cryptopp4.2 and Cryptopp5.21?
[EMAIL PROTECTED]:[553]% nm ../cryptopp/Debug/iterhash.o
/vobs/omsv4src/key_server/cryptopp/Debug/iterhash.o:
[Index] Value Size Type Bind Other Shndx Name
[23] | 0| 0|SECT |LOCL |0 |3 |
[24] | 0| 0|SECT |LOCL |0 |22 |
[25] | 0| 0|SECT |LOCL |0 |44 |
[26] | 0| 0|SECT |LOCL |0 |19 |
[27] | 0| 0|SECT |LOCL |0 |14 |
[29] | 0| 0|SECT |LOCL |0 |17 |
[30] | 0| 0|SECT |LOCL |0 |41 |
[31] | 0| 0|SECT |LOCL |0 |6 |
[32] | 0| 0|SECT |LOCL |0 |24 |
[33] | 0| 0|SECT |LOCL |0 |8 |
[34] | 0| 0|SECT |LOCL |0 |30 |
[35] | 0| 0|SECT |LOCL |0 |27 |
[36] | 0| 0|SECT |LOCL |0 |40 |
[37] | 0| 0|SECT |LOCL |0 |43 |
[38] | 0| 0|SECT |LOCL |0 |4 |
[39] | 0| 0|SECT |LOCL |0 |28 |
[40] | 0| 0|SECT |LOCL |0 |39 |
[41] | 0| 0|SECT |LOCL |0 |25 |
[42] | 0| 0|SECT |LOCL |0 |34 |
[44] | 0| 0|SECT |LOCL |0 |31 |
[45] | 0| 0|SECT |LOCL |0 |32 |
[46] | 0| 0|SECT |LOCL |0 |12 |
[28] | 0| 0|SECT |LOCL |0 |5 |
[43] | 0| 0|SECT |LOCL |0 |13 |
[2] | 0| 0|SECT |LOCL |0 |45 |
[3] | 0| 0|SECT |LOCL |0 |42 |
[4] | 0| 0|SECT |LOCL |0 |16 |
[5] | 0| 0|SECT |LOCL |0 |29 |
[7] | 0| 0|SECT |LOCL |0 |18 |
[8] | 0| 0|SECT |LOCL |0 |46 |
[9] | 0| 0|SECT |LOCL |0 |36 |
[10] | 0| 0|SECT |LOCL |0 |11 |
[11] | 0| 0|SECT |LOCL |0 |33 |
[6] | 0| 0|SECT |LOCL |0 |9 |
[22] | 0| 0|SECT |LOCL |0 |2 |
[20] | 0| 0|SECT |LOCL |0 |15 |
[19] | 0| 0|SECT |LOCL |0 |37 |
[18] | 0| 0|SECT |LOCL |0 |35 |
[17] | 0| 0|SECT |LOCL |0 |20 |
[21] | 0| 0|SECT |LOCL |0 |26 |
[16] | 0| 0|SECT |LOCL |0 |21 |
[15] | 0| 0|SECT |LOCL |0 |38 |
[14] | 0| 0|SECT |LOCL |0 |7 |
[13] | 0| 0|SECT |LOCL |0 |10 |
[12] | 0| 0|SECT |LOCL |0 |23 |
[90] | 0| 0|NOTY |GLOB |0 |UNDEF |_Unwind_Resume
[57] | 0| 60|FUNC |WEAK |0 |13
|_ZN8CryptoPP10HashModule12VerifyDigestEPKhS2_j
[91] | 0| 60|FUNC |WEAK |0 |12
|_ZN8CryptoPP10HashModule15CalculateDigestEPhPKhj
[68] | 0| 136|FUNC |WEAK |0 |28
|_ZN8CryptoPP16IteratedHashBaseImE12PadLastBlockE
jh
[58] | 0| 64|FUNC |WEAK |0 |27
|_ZN8CryptoPP16IteratedHashBaseImE18HashMultipleB
locksEPKmj
[53] | 0| 8|FUNC |WEAK |0 |30
|_ZN8CryptoPP16IteratedHashBaseImE4InitEv
[93] | 0| 40|FUNC |WEAK |0 |29
|_ZN8CryptoPP16IteratedHashBaseImE6ReinitEv
[70] | 0| 356|FUNC |WEAK |0 |26
|_ZN8CryptoPP16IteratedHashBaseImE6UpdateEPKhj
[89] | 0| 8|FUNC |WEAK |0 |31
|_ZN8CryptoPP16IteratedHashBaseImE9HashBlockEPKm
[83] | 0| 172|FUNC |WEAK |0 |32
|_ZN8CryptoPP16IteratedHashBaseImEC1Ejj
[51] | 0| 172|FUNC |WEAK |0 |34
|_ZN8CryptoPP16IteratedHashBaseImEC2Ejj
[80] | 0| 188|FUNC |WEAK |0 |40
|_ZN8CryptoPP16IteratedHashBaseImED0Ev
[76] | 0| 168|FUNC |WEAK |0 |39
|_ZN8CryptoPP16IteratedHashBaseImED1Ev
[94] | 0| 136|FUNC |WEAK |0 |21
|_ZN8CryptoPP16IteratedHashBaseIyE12PadLastBlockE
jh
[65] | 0| 64|FUNC |WEAK |0 |20
|_ZN8CryptoPP16IteratedHashBaseIyE18HashMultipleB
locksEPKyj
[54] | 0| 8|FUNC |WEAK |0 |23
|_ZN8CryptoPP16IteratedHashBaseIyE4InitEv
[81] | 0| 40|FUNC |WEAK |0 |22
|_ZN8CryptoPP16IteratedHashBaseIyE6ReinitEv
[79] | 0| 436|FUNC |WEAK |0 |19
|_ZN8CryptoPP16IteratedHashBaseIyE6UpdateEPKhj
[77] | 0| 8|FUNC |WEAK |0 |24
|_ZN8CryptoPP16IteratedHashBaseIyE9HashBlockEPKy
[99] | 0| 172|FUNC |WEAK |0 |35
|_ZN8CryptoPP16IteratedHashBaseIyEC1Ejj
[71] | 0| 172|FUNC |WEAK |0 |36
|_ZN8CryptoPP16IteratedHashBaseIyEC2Ejj
[47] | 0| 188|FUNC |WEAK |0 |38
|_ZN8CryptoPP16IteratedHashBaseIyED0Ev
[98] | 0| 168|FUNC |WEAK |0 |37
|_ZN8CryptoPP16IteratedHashBaseIyED1Ev
[52] | 0| 0|NOTY |GLOB |0 |UNDEF
|_ZN8CryptoPP24HashModuleWithTruncation15Truncate
dVerifyEPKhj
[50] | 0| 64|FUNC |WEAK |0 |15
|_ZN8CryptoPP24HashModuleWithTruncation21VerifyTr
uncatedDigestEPKhjS2_j
[55] | 0| 64|FUNC |WEAK |0 |14
|_ZN8CryptoPP24HashModuleWithTruncation24Calculat
eTruncatedDigestEPhjPKhj
[85] | 0| 56|FUNC |WEAK |0 |16
|_ZN8CryptoPP24HashModuleWithTruncation5FinalEPh
[67] | 0| 56|FUNC |WEAK |0 |17
|_ZN8CryptoPP24HashModuleWithTruncation6VerifyEPK
h
[100] | 0| 12|FUNC |WEAK |0 |25
|_ZNK8CryptoPP16IteratedHashBaseImE10DigestSizeEv
[95] | 0| 12|FUNC |WEAK |0 |18
|_ZNK8CryptoPP16IteratedHashBaseIyE10DigestSizeEv
[75] | 0| 12|OBJT |WEAK |0 |10
|_ZTIN8CryptoPP16IteratedHashBaseImEE
[72] | 0| 12|OBJT |WEAK |0 |7
|_ZTIN8CryptoPP16IteratedHashBaseIyEE
[61] | 0| 0|NOTY |GLOB |0 |UNDEF
|_ZTIN8CryptoPP24HashModuleWithTruncationE
[64] | 0| 33|OBJT |WEAK |0 |11
|_ZTSN8CryptoPP16IteratedHashBaseImEE
[74] | 0| 33|OBJT |WEAK |0 |8
|_ZTSN8CryptoPP16IteratedHashBaseIyEE
[87] | 0| 0|NOTY |GLOB |0 |UNDEF
|_ZTVN10__cxxabiv120__si_class_type_infoE
[49] | 0| 0|NOTY |GLOB |0 |UNDEF
|_ZTVN8CryptoPP10HashModuleE
[62] | 0| 68|OBJT |WEAK |0 |9
|_ZTVN8CryptoPP16IteratedHashBaseImEE
[73] | 0| 68|OBJT |WEAK |0 |6
|_ZTVN8CryptoPP16IteratedHashBaseIyEE
[101] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZdaPv
[78] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZdlPv
[59] | 0| 0|NOTY |GLOB |0 |UNDEF |_Znaj
[56] | 0| 0|NOTY |GLOB |0 |UNDEF |__cxa_pure_virtual
[82] | 0| 0|NOTY |GLOB |0 |UNDEF |__gxx_personality_v0
[1] | 0| 0|FILE |LOCL |0 |ABS |iterhash.cpp
[69] | 0| 0|NOTY |GLOB |0 |UNDEF |memcpy
[60] | 0| 0|NOTY |GLOB |0 |UNDEF |memset
[97] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_create
[96] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_getspecific
[88] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_key_create
[86] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_key_delete
[48] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_lock
[63] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_trylock
[66] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_mutex_unlock
[92] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_once
[84] | 0| 0|NOTY |WEAK |0 |UNDEF |pthread_setspecific