Those are not errors. Those messages are expected on Mac OS X. Did you get a cryptest.exe at the end of the make? If so, run "./cryptest.exe v" and see if the test completes. And then you can link your application with libcryptopp.a.

Also, you can just type "make" and it will use the GNUmakefile automatically.

--------------------------------------------------
From: "Matthew Aichi" <[email protected]>
Sent: Thursday, August 12, 2010 2:21 PM
To: "Crypto++ Users" <[email protected]>
Subject: Problems compiling crypto++ on OSX with GCC 4.2.1

I attempted to compile crypto++ using the standard GNUmakefile (make -
f GNUmakefile) on my Mac.
I need a 32bit build.

I've successfully compiled it on Windows 7x64 (MSVC2008SP1) and Debian
Lenny AMD64 (gcc-4.4)



(c++ -DNDEBUG -g -O2 -arch i386 -DCRYPTOPP_DISABLE_ASM -pipe -c)

The compilation succeeds, however I get the following errors
afterward:

libtool: file: algebra.o has no symbols
libtool: file: cryptlib_bds.o has no symbols
libtool: file: eccrypto.o has no symbols
libtool: file: eprecomp.o has no symbols
libtool: file: pch.o has no symbols
libtool: file: simple.o has no symbols
libtool: file: strciphr.o has no symbols
libtool: file: winpipes.o has no symbols
ranlib libcryptopp.a
ranlib: file: libcryptopp.a(algebra.o) has no symbols
ranlib: file: libcryptopp.a(cryptlib_bds.o) has no symbols
ranlib: file: libcryptopp.a(eccrypto.o) has no symbols
ranlib: file: libcryptopp.a(eprecomp.o) has no symbols
ranlib: file: libcryptopp.a(pch.o) has no symbols
ranlib: file: libcryptopp.a(simple.o) has no symbols
ranlib: file: libcryptopp.a(strciphr.o) has no symbols
ranlib: file: libcryptopp.a(winpipes.o) has no symbols



Mac:crypto root# g++ -
v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-
prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-
apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5659)

uname -a:
Darwin Mac.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23
18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386

I'd appreciate any insight you guys might have, I assume there's some
flag I need to change to get this to build properly, but I've gone
through the makefile and haven't been able to find it through trial
and error. Let me know if there is any other information you need.

--
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 "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