Hello everyone

I need inside a program call sha1 function to compute digest for a
simple given string. when I try to run my code I got 84 errors.
( I need to say after installing cryptopp 560 on winodws I could not
run cryptest.exe since it mentioned there are no "libgcc_sjlj_1.dll"
and "libstdc++_sjlj_6.dll". after I copied these two files in the
cryptopp directory I could run cryptese.exe. )

can please someone help me
I really appreciate any help and suggestion

The errors I mentioned taking from running a simple code are as
follows: (sorry for being too long)

============


e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AlgorithmParameters::AlgorithmParameters()'
inet                      2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AlgorithmParameters::AlgorithmParameters
(CryptoPP::AlgorithmParameters const&)'
inet                      2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AlgorithmParametersTemplate<bool>::AlgorithmParametersTemplate
(char const*, bool const&, bool)'         inet
2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AlgorithmParametersTemplate<CryptoPP::ConstByteArrayParameter>::AlgorithmParametersTemplate
(char const*, CryptoPP::ConstByteArrayParameter const&, bool)'
inet                      2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AlgorithmParametersTemplate<int>::AlgorithmParametersTemplate
(char const*, int const&, bool)'            inet
2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate
(unsigned int, void const*)'               inet
2558      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::AllocatorWithCleanup<unsigned char, false>::reallocate
(unsigned char*, unsigned int, unsigned int, bool)'
inet                      2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::AnyMessages() const'
inet                      2569               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::AnyRetrievable() const'
inet                      2561               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Attach
(CryptoPP::BufferedTransformation*)' inet
2571      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::ChannelCreatePutSpace(std::string
const&, unsigned int&)'     inet                      2568      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::ChannelFlush(std::string const&,
bool, int, bool)'               inet                      2568      C/C
++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::ChannelMessageSeriesEnd(std::string
const&, int, bool)'    inet                      2568      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::ChannelPut2(std::string const&,
unsigned char const*, unsigned int, int, bool)'
inet                      2568      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::ChannelPutModifiable2(std::string
const&, unsigned char*, unsigned int, int, bool)'
inet                      2568      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Flush(bool, int, bool)'
inet                      2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Get(unsigned char*, unsigned
int)'       inet                       2562      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Get(unsigned char&)'
inet                      2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::GetMaxWaitObjectCount()
const'        inet                       2558      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::GetNextMessage()'
inet                      2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::GetWaitObjects
(CryptoPP::WaitObjectContainer&, CryptoPP::CallStack const&)'
inet                      2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Initialize(CryptoPP::NameValuePairs
const&, int)'               inet                      2561      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::MaxRetrievable() const'
inet                      2561               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::MessageSeriesEnd(int, bool)'
inet                      2561               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::NumberOfMessages() const'
inet                      2569               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Peek(unsigned char*, unsigned int)
const'        inet                             2563      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Peek(unsigned char&) const'
inet                      2562               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::SetRetrievalChannel(std::string
const&)'          inet                             2570      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::Skip(unsigned long long)'
inet                      2568               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::SkipAll()'
inet                      2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::SkipMessages(unsigned int)'
inet                      2569               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::BufferedTransformation::TotalBytesRetrievable()
const'              inet                       2568      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::DEFAULT_CHANNEL'     inet                      2560      C/C
++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::Filter::AttachedTransformation() const'
inet                      2571      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::Filter::AttachedTransformation()'
inet                      2571      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::Filter::CopyRangeTo2(CryptoPP::BufferedTransformation&,
unsigned long long&, unsigned long long, std::string const&, bool)
const'          inet                      2569      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::Detach
(CryptoPP::BufferedTransformation*)'       inet
2569               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::Detach
(CryptoPP::BufferedTransformation*)'       inet
2570               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::Detach
(CryptoPP::BufferedTransformation*)'       inet
2571               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::Flush
(bool, int, bool)'       inet                      2561      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::Initialize
(CryptoPP::NameValuePairs const&, int)'
inet                       2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::Filter::MessageSeriesEnd(int, bool)'
inet                      2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::Filter::NewDefaultAttachment() const'
inet                      2571      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `CryptoPP::Filter::TransferTo2
(CryptoPP::BufferedTransformation&, unsigned long long&, std::string
const&, bool)'             inet                      2569      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::FilterWithBufferedInput::IsolatedInitialize
(CryptoPP::NameValuePairs const&)'
inet                      2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::FilterWithBufferedInput::PutMaybeModifiable(unsigned char*,
unsigned int, int, bool, bool)' inet                      2560      C/C
++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::HashTransformation::TruncatedVerify(unsigned char const*,
unsigned int)'               inet                      2561      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::IteratedHashBase<unsigned int,
CryptoPP::HashTransformation>::HashMultipleBlocks(unsigned int const*,
unsigned int)'              inet                             2562
C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::IteratedHashBase<unsigned int,
CryptoPP::HashTransformation>::Restart()'
inet                      2558      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::IteratedHashBase<unsigned int,
CryptoPP::HashTransformation>::TruncatedFinal(unsigned char*, unsigned
int)' inet                      2561               C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::ProxyFilter::IsolatedFlush(bool, bool)'
inet                      2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::ProxyFilter::NextPutModifiable(unsigned char*, unsigned
int)'    inet                       2575      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::ProxyFilter::NextPutMultiple(unsigned char const*, unsigned
int)'            inet                             2570      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to
`CryptoPP::ProxyFilter::ProxyFilter(CryptoPP::BufferedTransformation*,
unsigned int, unsigned int,
CryptoPP::BufferedTransformation*)'         inet
2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetMaxWaitObjectCount() const'
inet                      2570      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetMaxWaitObjectCount() const'
inet                      2575      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetMaxWaitObjectCount() const'
inet                      2576      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetWaitObjects
(CryptoPP::WaitObjectContainer&, CryptoPP::CallStack const&)'
inet                      2570      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetWaitObjects
(CryptoPP::WaitObjectContainer&, CryptoPP::CallStack const&)'
inet                      2575      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `non-virtual thunk to
CryptoPP::BufferedTransformation::GetWaitObjects
(CryptoPP::WaitObjectContainer&, CryptoPP::CallStack const&)'
inet                      2576      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::AlgorithmParameters'             inet
2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::BaseN_Encoder'         inet                      2561      C/
C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::Filter'              inet                      2560      C/C+
+ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::Filter'              inet                      2561      C/C+
+ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::FilterWithBufferedInput'         inet
2560      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::FilterWithBufferedInput'         inet
2561      C/C++ Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::Grouper'        inet                      2561      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::HexEncoder' inet                      2576      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::HexEncoder' inet                      2577      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::ProxyFilter'    inet                      2560      C/C++
Problem

e:/omnetpp/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/
locale_facets.tcc undefined reference to `vtable for
CryptoPP::ProxyFilter'    inet                      2561      C/C++
Problem

make: *** [all] Error 2   inet                      0            C/C++
Problem

make[1]: *** [../out/gcc-debug/src/libinet.dll] Error 1
inet                      0            C/C++ Problem

undefined reference to `CryptoPP::Algorithm::Algorithm(bool)'
Buildsp.cc               inet/src/linklayer/ieee80211/mac
91          C/C++ Problem

undefined reference to `CryptoPP::AllocatorWithCleanup<unsigned char,
false>::deallocate(void*, unsigned int)'     Buildsp.cc           inet/
src/linklayer/ieee80211/mac           94          C/C++ Problem

undefined reference to `CryptoPP::BufferedTransformation::Attach
(CryptoPP::BufferedTransformation*)'
Buildsp.cc               inet/src/linklayer/ieee80211/mac
74          C/C++ Problem

undefined reference to `CryptoPP::Filter::Filter
(CryptoPP::BufferedTransformation*)'      Buildsp.cc
inet/src/linklayer/ieee80211/mac           91          C/C++ Problem

undefined reference to `CryptoPP::HexEncoder::IsolatedInitialize
(CryptoPP::NameValuePairs const&)'               Buildsp.cc
inet/src/linklayer/ieee80211/mac           98          C/C++ Problem

undefined reference to `CryptoPP::IteratedHashBase<unsigned int,
CryptoPP::HashTransformation>::CreateUpdateSpace(unsigned int&)'
Buildsp.cc               inet/src/linklayer/ieee80211/mac
93          C/C++ Problem

undefined reference to `CryptoPP::IteratedHashBase<unsigned int,
CryptoPP::HashTransformation>::Update(unsigned char const*, unsigned
int)'    Buildsp.cc               inet/src/linklayer/ieee80211/
mac           93          C/C++ Problem

undefined reference to `CryptoPP::SHA1::InitState(unsigned
int*)'            Buildsp.cc               inet/src/linklayer/
ieee80211/mac           93          C/C++ Problem

undefined reference to `CryptoPP::SHA1::Transform(unsigned int*,
unsigned int const*)'               Buildsp.cc           inet/src/
linklayer/ieee80211/mac           94          C/C++ Problem

undefined reference to
`CryptoPP::StringSinkTemplate<std::string>::StringSinkTemplate
(std::string&)'               Buildsp.cc           inet/src/linklayer/
ieee80211/mac           74          C/C++ Problem

undefined reference to `vtable for
CryptoPP::HashTransformation'          Buildsp.cc               inet/
src/linklayer/ieee80211/mac           93          C/C++ Problem


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to