Try putting this near the end of integer.cpp. template class AbstractGroup<Integer>;
On Mon, May 26, 2003 at 05:22:08PM +0200, Roberto Deandrea wrote: > Hi all, > I'm trying to compile Crypto++ 5.1 on AIX 5.1. > Any problem during .cpp source compilation, but I got strange "Unresolved Reference" > errors when linking the cryptest.exe executable. > > Here is my AIX environment: > > /home/deandrea/crypto++ #uname -a > AIX giove 1 5 00584CFA4C00 > > /home/deandrea/crypto++ #g++ -v > Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.1/specs > Configured with: ../gcc-3.1/configure --disable-nls > Thread model: aix > gcc version 3.1 > > Command issued to link the executable: > g++ -o cryptest.exe bench.o test.o validat1.o validat2.o validat3.o adhoc.o data > test.o regtest.o -L. -lcryptopp -lpthread > > This is the first of the errors I got linking: > > ld: 0711-317 ERROR: Undefined symbol: > CryptoPP::AbstractGroup<CryptoPP::Integer>::Double(CryptoPP::Integer const&) const > ld: 0711-317 ERROR: Undefined symbol: > CryptoPP::AbstractGroup<CryptoPP::Integer>::Subtract(CryptoPP::Integer const&, > CryptoPP::Integer const&) const > > > > Any suggestions? > > Thanks in advance. > > Roberto Deandrea > Primeur Group -- Security Labs. > C.so Vittorio Emanuele II n. 18 > 10123 Torino ITALY > tel. +39 011 8182511 > fax. +39 011 81825239
