I tried with an empty modexppc.h file and this new error was raised:

E:\cryptopp-github\cryptopp/sha.cpp:888: undefined reference to 
`CryptoPP::g_has
SSE2'

g++ -shared -o cryptopp.dll -DNDEBUG -g2 -O2 -m32 -pipe cryptlib.export.o 
algebr
a.export.o algparam.export.o asn.export.o basecode.export.o cbcmac.export.o 
chan
nels.export.o des.export.o dessp.export.o dh.export.o dll.export.o 
dsa.export.o
ec2n.export.o eccrypto.export.o ecp.export.o eprecomp.export.o 
files.export.o fi
lters.export.o fips140.export.o fipstest.export.o gf2n.export.o 
gfpcrypt.export.
o hex.export.o hmac.export.o integer.export.o iterhash.export.o 
misc.export.o mo
des.export.o modexppc.export.o mqueue.export.o nbtheory.export.o 
oaep.export.o o
srng.export.o pch.export.o pkcspad.export.o pubkey.export.o queue.export.o 
randp
ool.export.o rdtables.export.o rijndael.export.o rng.export.o rsa.export.o 
sha.e
xport.o simple.export.o skipjack.export.o strciphr.export.o 
trdlocal.export.o  -
lws2_32 -Wl,--out-implib=libcryptopp.dll.a
dll.export.o: In function `AuthenticatedSymmetricCipherBase':
E:\cryptopp-github\cryptopp/authenc.h:21: undefined reference to `vtable 
for Cry
ptoPP::AuthenticatedSymmetricCipherBase'
E:\cryptopp-github\cryptopp/authenc.h:21: undefined reference to `vtable 
for Cry
ptoPP::AuthenticatedSymmetricCipherBase'
E:\cryptopp-github\cryptopp/authenc.h:21: undefined reference to `vtable 
for Cry
ptoPP::AuthenticatedSymmetricCipherBase'
E:\cryptopp-github\cryptopp/authenc.h:21: undefined reference to `vtable 
for Cry
ptoPP::AuthenticatedSymmetricCipherBase'
E:\cryptopp-github\cryptopp/authenc.h:21: undefined reference to `vtable 
for Cry
ptoPP::AuthenticatedSymmetricCipherBase'
dll.export.o:E:\cryptopp-github\cryptopp/authenc.h:21: more undefined 
references
 to `vtable for CryptoPP::AuthenticatedSymmetricCipherBase' follow
dll.export.o: In function 
`ZNK8CryptoPP10RWFunction4SaveERNS_22BufferedTransform
ationE':
E:\cryptopp-github\cryptopp/rw.h:30: undefined reference to 
`CryptoPP::RWFunctio
n::DEREncode(CryptoPP::BufferedTransformation&) const'
dll.export.o: In function 
`ZN8CryptoPP10RWFunction4LoadERNS_22BufferedTransforma
tionE':
E:\cryptopp-github\cryptopp/rw.h:32: undefined reference to 
`CryptoPP::RWFunctio
n::BERDecode(CryptoPP::BufferedTransformation&)'
dll.export.o: In function 
`ZNK8CryptoPP20InvertibleRWFunction4SaveERNS_22Buffere
dTransformationE':
E:\cryptopp-github\cryptopp/rw.h:65: undefined reference to 
`CryptoPP::Invertibl
eRWFunction::DEREncode(CryptoPP::BufferedTransformation&) const'
dll.export.o: In function 
`ZN8CryptoPP20InvertibleRWFunction4LoadERNS_22Buffered
TransformationE':
E:\cryptopp-github\cryptopp/rw.h:67: undefined reference to 
`CryptoPP::Invertibl
eRWFunction::BERDecode(CryptoPP::BufferedTransformation&)'
dll.export.o: In function `CMAC_Base':
E:\cryptopp-github\cryptopp/cmac.h:19: undefined reference to `vtable for 
Crypto
PP::CMAC_Base'
E:\cryptopp-github\cryptopp/cmac.h:19: undefined reference to `vtable for 
Crypto
PP::CMAC_Base'
E:\cryptopp-github\cryptopp/cmac.h:19: undefined reference to `vtable for 
Crypto
PP::CMAC_Base'
E:\cryptopp-github\cryptopp/cmac.h:19: undefined reference to `vtable for 
Crypto
PP::CMAC_Base'
dll.export.o: In function `CCM_Base':
E:\cryptopp-github\cryptopp/ccm.h:19: undefined reference to `vtable for 
CryptoP
P::CCM_Base'
E:\cryptopp-github\cryptopp/ccm.h:19: undefined reference to `vtable for 
CryptoP
P::CCM_Base'
E:\cryptopp-github\cryptopp/ccm.h:19: undefined reference to `vtable for 
CryptoP
P::CCM_Base'
E:\cryptopp-github\cryptopp/ccm.h:19: undefined reference to `vtable for 
CryptoP
P::CCM_Base'
E:\cryptopp-github\cryptopp/ccm.h:19: undefined reference to `vtable for 
CryptoP
P::CCM_Base'
dll.export.o:E:\cryptopp-github\cryptopp/ccm.h:19: more undefined 
references to
`vtable for CryptoPP::CCM_Base' follow
fipstest.export.o: In function `EMSA2Pad':
E:\cryptopp-github\cryptopp/emsa2.h:61: undefined reference to `vtable for 
Crypt
oPP::EMSA2Pad'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP23PSSR_MEM_BaseWithHashIdIL
b0EEE[vtable for CryptoPP::PSSR_MEM_BaseWithHashId<false>]+0x10): undefined 
refe
rence to `CryptoPP::PSSR_MEM_Base::MinRepresentativeBitLength(unsigned int, 
unsi
gned int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP23PSSR_MEM_BaseWithHashIdIL
b0EEE[vtable for CryptoPP::PSSR_MEM_BaseWithHashId<false>]+0x14): undefined 
refe
rence to `CryptoPP::PSSR_MEM_Base::MaxRecoverableLength(unsigned int, 
unsigned i
nt, unsigned int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP23PSSR_MEM_BaseWithHashIdIL
b0EEE[vtable for CryptoPP::PSSR_MEM_BaseWithHashId<false>]+0x18): undefined 
refe
rence to `CryptoPP::PSSR_MEM_Base::RecoverablePartFirst() const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP23PSSR_MEM_BaseWithHashIdIL
b0EEE[vtable for CryptoPP::PSSR_MEM_BaseWithHashId<false>]+0x24): undefined 
refe
rence to 
`CryptoPP::PSSR_MEM_Base::ComputeMessageRepresentative(CryptoPP::Random
NumberGenerator&, unsigned char const*, unsigned int, 
CryptoPP::HashTransformati
on&, std::pair<unsigned char const*, unsigned int>, bool, unsigned char*, 
unsign
ed int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP23PSSR_MEM_BaseWithHashIdIL
b0EEE[vtable for CryptoPP::PSSR_MEM_BaseWithHashId<false>]+0x2c): undefined 
refe
rence to 
`CryptoPP::PSSR_MEM_Base::RecoverMessageFromRepresentative(CryptoPP::Ha
shTransformation&, std::pair<unsigned char const*, unsigned int>, bool, 
unsigned
 char*, unsigned int, unsigned char*) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP8PSSR_MEMILb0ENS_10P1363_MG
F1ELin1ELi0ELb0EEE[vtable for CryptoPP::PSSR_MEM<false, 
CryptoPP::P1363_MGF1, -1
, 0, false>]+0x10): undefined reference to 
`CryptoPP::PSSR_MEM_Base::MinRepresen
tativeBitLength(unsigned int, unsigned int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP8PSSR_MEMILb0ENS_10P1363_MG
F1ELin1ELi0ELb0EEE[vtable for CryptoPP::PSSR_MEM<false, 
CryptoPP::P1363_MGF1, -1
, 0, false>]+0x14): undefined reference to 
`CryptoPP::PSSR_MEM_Base::MaxRecovera
bleLength(unsigned int, unsigned int, unsigned int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP8PSSR_MEMILb0ENS_10P1363_MG
F1ELin1ELi0ELb0EEE[vtable for CryptoPP::PSSR_MEM<false, 
CryptoPP::P1363_MGF1, -1
, 0, false>]+0x18): undefined reference to 
`CryptoPP::PSSR_MEM_Base::Recoverable
PartFirst() const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP8PSSR_MEMILb0ENS_10P1363_MG
F1ELin1ELi0ELb0EEE[vtable for CryptoPP::PSSR_MEM<false, 
CryptoPP::P1363_MGF1, -1
, 0, false>]+0x24): undefined reference to 
`CryptoPP::PSSR_MEM_Base::ComputeMess
ageRepresentative(CryptoPP::RandomNumberGenerator&, unsigned char const*, 
unsign
ed int, CryptoPP::HashTransformation&, std::pair<unsigned char const*, 
unsigned
int>, bool, unsigned char*, unsigned int) const'
fipstest.export.o:fipstest.cpp:(.rdata$_ZTVN8CryptoPP8PSSR_MEMILb0ENS_10P1363_MG
F1ELin1ELi0ELb0EEE[vtable for CryptoPP::PSSR_MEM<false, 
CryptoPP::P1363_MGF1, -1
, 0, false>]+0x2c): undefined reference to 
`CryptoPP::PSSR_MEM_Base::RecoverMess
ageFromRepresentative(CryptoPP::HashTransformation&, std::pair<unsigned 
char con
st*, unsigned int>, bool, unsigned char*, unsigned int, unsigned char*) 
const'
integer.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
integer.export.o: In function `SetFunctionPointers':
E:\cryptopp-github\cryptopp/integer.cpp:2015: undefined reference to 
`CryptoPP::
g_hasSSE2'
integer.export.o: In function `IsP4':
E:\cryptopp-github\cryptopp/cpu.h:187: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
integer.export.o: In function `SetFunctionPointers':
E:\cryptopp-github\cryptopp/integer.cpp:2018: undefined reference to 
`CryptoPP::
g_isP4'
integer.export.o: In function `IsP4':
E:\cryptopp-github\cryptopp/cpu.h:188: undefined reference to 
`CryptoPP::DetectX
86Features()'
integer.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
randpool.export.o: In function 
`ZN8CryptoPP10RandomPool34GenerateIntoBufferedTra
nsformationERNS_22BufferedTransformationERKSsy':
E:\cryptopp-github\cryptopp/randpool.cpp:43: undefined reference to 
`CryptoPP::T
imer::GetCurrentTimerValue()'
randpool.export.o: In function `Timer':
E:\cryptopp-github\cryptopp/hrtimer.h:56: undefined reference to `vtable 
for Cry
ptoPP::Timer'
E:\cryptopp-github\cryptopp/hrtimer.h:56: undefined reference to `vtable 
for Cry
ptoPP::Timer'
rijndael.export.o: In function `GetCacheLineSize':
E:\cryptopp-github\cryptopp/cpu.h:208: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:210: undefined reference to 
`CryptoPP::g_cache
LineSize'
E:\cryptopp-github\cryptopp/cpu.h:209: undefined reference to 
`CryptoPP::DetectX
86Features()'
rijndael.export.o: In function 
`@_ZN8CryptoPP34Rijndael_Enc_AdvancedProcessBlock
sEPvPKj@8':
E:\cryptopp-github\cryptopp/rijndael.cpp:1000: undefined reference to 
`CryptoPP:
:g_cacheLineSize'
rijndael.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
rijndael.export.o: In function 
`ZNK8CryptoPP8Rijndael3Enc21AdvancedProcessBlocks
EPKhS3_Phjj':
E:\cryptopp-github\cryptopp/rijndael.cpp:1215: undefined reference to 
`CryptoPP:
:g_hasSSE2'
rijndael.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
rijndael.export.o: In function 
`ZNK8CryptoPP8Rijndael3Enc18ProcessAndXorBlockEPK
hS3_Ph':
E:\cryptopp-github\cryptopp/rijndael.cpp:360: undefined reference to 
`CryptoPP::
g_hasSSE2'
rijndael.export.o: In function `GetCacheLineSize':
E:\cryptopp-github\cryptopp/cpu.h:208: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:210: undefined reference to 
`CryptoPP::g_cache
LineSize'
rijndael.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
rijndael.export.o: In function 
`ZNK8CryptoPP8Rijndael3Enc18ProcessAndXorBlockEPK
hS3_Ph':
E:\cryptopp-github\cryptopp/rijndael.cpp:360: undefined reference to 
`CryptoPP::
g_hasSSE2'
rijndael.export.o: In function `GetCacheLineSize':
E:\cryptopp-github\cryptopp/cpu.h:209: undefined reference to 
`CryptoPP::DetectX
86Features()'
sha.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
sha.export.o: In function `ZN8CryptoPP6SHA22418HashMultipleBlocksEPKjj':
E:\cryptopp-github\cryptopp/sha.cpp:478: undefined reference to 
`CryptoPP::g_has
SSE2'
sha.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
sha.export.o: In function `ZN8CryptoPP6SHA25618HashMultipleBlocksEPKjj':
E:\cryptopp-github\cryptopp/sha.cpp:472: undefined reference to 
`CryptoPP::g_has
SSE2'
sha.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
sha.export.o: In function `ZN8CryptoPP6SHA2569TransformEPjPKj':
E:\cryptopp-github\cryptopp/sha.cpp:513: undefined reference to 
`CryptoPP::g_has
SSE2'
sha.export.o: In function `HasSSE2':
E:\cryptopp-github\cryptopp/cpu.h:158: undefined reference to 
`CryptoPP::g_x86De
tectionDone'
E:\cryptopp-github\cryptopp/cpu.h:159: undefined reference to 
`CryptoPP::DetectX
86Features()'
sha.export.o: In function `ZN8CryptoPP6SHA5129TransformEPyPKy':
E:\cryptopp-github\cryptopp/sha.cpp:888: undefined reference to 
`CryptoPP::g_has
SSE2'

Regards

On Thursday, January 14, 2016 at 11:25:02 AM UTC-3, Andrés Garagiola wrote:
>
> A particular thing with this file is that I have this file "modexppc.h" 
> but I don't have any file called "modexppc.cpp". 
>
> Regards
>
> On Thursday, January 14, 2016 at 11:20:08 AM UTC-3, Andrés Garagiola wrote:
>>
>> Thanks Jeff
>>
>> I tried with:
>>      
>>      make clean && make cryptopp.dll
>>
>> And the same error was raised:
>>
>> make: *** No rule to make target `modexppc.export.o', needed by 
>> `cryptopp.dll'.
>>  Stop.
>>
>>
>> Regards    
>>
>>
>> On Wednesday, January 13, 2016 at 11:48:05 PM UTC-3, Jeffrey Walton wrote:
>>>
>>>
>>>
>>> On Wednesday, January 13, 2016 at 3:58:46 PM UTC-5, Andrés Garagiola 
>>> wrote:
>>>>
>>>> I'm trying of compile Crypto++ in  Windows with MinGW.
>>>>
>>>> The command "make clean cryptopp.dll" show the following error:
>>>>
>>>> make: *** No rule to make target `modexppc.export.o', needed by 
>>>> `cryptopp.dll'.
>>>>  Stop.
>>>>
>>>> I'm using now gcc versión 4.6.2 (GCC) and previously I use the latest 
>>>> version of GCC (4.8.1 I think) and the same errors occurs. 
>>>>
>>>> Anyone knows what could be happen?
>>>>
>>>
>>> 'clean' and 'cryptopp.dll' are both targets, there's no guarantee of the 
>>> order of them. I think what is happening is you are cleaning and building, 
>>> and make just gets confused. On one hand, it see dependencies and knows 
>>> they are up to date; on the other hand it deletes those dependencies and 
>>> the output artifacts.
>>>
>>> The following should work:
>>>
>>>     make clean && make cryptopp.dll
>>>
>>> Jeff
>>>
>>

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to