To me it says that you haven’t installed assembler script that I posted. Or you installed it not on the path where gcc/g++ is looking for it.
On Dec 13, 2013, at 16:37 , Tim Burgess <[email protected]> wrote: > OK, that gets me further, but not all of the way, here's the output: > > macbook_pro:cryptopp tim$ make static test > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c 3way.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c adler32.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c algebra.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c algparam.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c arc4.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c asn.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c authenc.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c base32.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c base64.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c basecode.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c bfinit.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c blowfish.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c blumshub.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c camellia.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c cast.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c casts.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c cbcmac.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c ccm.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c channels.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c cmac.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c cpu.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c crc.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c cryptlib.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c > cryptlib_bds.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c default.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c des.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c dessp.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c dh.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c dh2.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c dll.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c dsa.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c eax.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c ec2n.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c eccrypto.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c ecp.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c elgamal.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c emsa2.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c eprecomp.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c esign.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c files.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c filters.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c fips140.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c fipstest.cpp > g++ -DNDEBUG -g -O2 -ansi -fPIC -ffunction-sections -fdata-sections -maes > -mpclmul -mtune=core-avx2 -arch x86_64 -DCRYPTOPP_DISABLE_ASM -c gcm.cpp > :50:no such instruction: `pclmulqdq $1, %xmm5,%xmm9' > :64:no such instruction: `pclmulqdq $1, %xmm4,%xmm8' > :69:no such instruction: `pclmulqdq $1, %xmm10,%xmm2' > :42:no such instruction: `pclmulqdq $16, %xmm5,%xmm7' > :48:no such instruction: `pclmulqdq $16, %xmm4,%xmm6' > :66:no such instruction: `pclmulqdq $16, %xmm10,%xmm3' > :52:no such instruction: `pclmulqdq $0, %xmm5,%xmm13' > :58:no such instruction: `pclmulqdq $1, %xmm4,%xmm1' > :89:no such instruction: `pclmulqdq $0, %xmm10,%xmm0' > :162:no such instruction: `pclmulqdq $16, %xmm14,%xmm2' > :195:no such instruction: `pclmulqdq $0, %xmm14,%xmm13' > :53:no such instruction: `pclmulqdq $16, %xmm5,%xmm13' > :59:no such instruction: `pclmulqdq $17, %xmm4,%xmm1' > :91:no such instruction: `pclmulqdq $16, %xmm10,%xmm0' > :63:no such instruction: `pclmulqdq $0, %xmm3,%xmm4' > :95:no such instruction: `pclmulqdq $16, %xmm3,%xmm2' > :102:no such instruction: `pclmulqdq $1, %xmm3,%xmm0' > :144:no such instruction: `pclmulqdq $16, %xmm5,%xmm6' > :169:no such instruction: `pclmulqdq $17, %xmm3,%xmm2' > :187:no such instruction: `pclmulqdq $0, %xmm5,%xmm4' > :298:no such instruction: `pclmulqdq $0, %xmm3,%xmm4' > :313:no such instruction: `pclmulqdq $16, %xmm3,%xmm1' > :319:no such instruction: `pclmulqdq $1, %xmm3,%xmm0' > :350:no such instruction: `pclmulqdq $17, %xmm3,%xmm1' > :367:no such instruction: `pclmulqdq $16, %xmm5,%xmm2' > :404:no such instruction: `pclmulqdq $0, %xmm5,%xmm2' > make: *** [gcm.o] Error 1 > > Many thanks for this help - I'll also take a look at the O'Reilly book. > > On Friday, 6 December 2013 16:21:49 UTC, Tim Burgess wrote: > Hi, > > I downloaded the latest build using SVN then got the following output when I > attempted a build: > > macbook_pro:cryptopp tim$ make static > c++ -DNDEBUG -g -O2 -arch x86_64 -arch i386 -DCRYPTOPP_DISABLE_ASM -pipe -c > 3way.cpp > In file included from /opt/local/include/gcc48/c++/bits/stl_algo.h:59:0, > from /opt/local/include/gcc48/c++/algorithm:62, > from stdcpp.h:18, > from cryptlib.h:83, > from seckey.h:8, > from 3way.h:7, > from 3way.cpp:5: > /opt/local/include/gcc48/c++/cstdlib:178:10: error: expected unqualified-id > before '__int128' > inline __int128 > ^ > make: *** [3way.o] Error 1 > > GCC4.8.1 is my default c/c++ compiler and lives in /opt/local (I installed it > from MacPorts). I'm fairly new to developing on the Mac, so can anybody > please advise me of what I might try to build the library? > > Many thanks in advance. > > Tim > > -- > -- > 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/groups/opt_out. -- -- 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/groups/opt_out.
