Originally posted by Madsnail
Well, I managed to install crypto and wxMac alright, but I get a bunch of errors installing aMule. Errors of this kind :
/usr/include/cryptopp/rsa.h:113: error: template with C linkage
/usr/include/cryptopp/rsa.h:120: error: template with C linkage
BaseClient.cpp:976:26: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1564:10: warning: #warning ADDME - Import needed
make[2]: *** [amule-BaseClient.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I get a lot of "template with C linkage" errors, any ideas how I could work it out?
Forgot to say I've got an uptodate version of Fink installed...
I'm new to amule and I cannot get past this same problem Madsnail has. This happens when you type "make" for the install part of amule.
I am trying to install amule-2.0.0rc5
I have installed following the wiki how to page
Crypto and WXMac are installed (crypto-5.1 and wxmac-2.5.2)
Fink and the gtk files are installed (gtk+-1.2.10-26 and the shlibs are the same version)
I haven't installed gettext seperatly, but it is listed in fink as being installed (version 0.10-40-17)
This is what Terminal says:
/usr/include/gcc/darwin/3.3/c++/bits/stl_algo.h:4601: error: template with C
linkage
In file included from /usr/include/gcc/darwin/3.3/c++/string:57,
from /usr/include/cryptopp/cryptlib.h:61,
from /usr/include/cryptopp/pkcspad.h:4,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.tcc:52: error: template with
C linkage
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.tcc:57: error: template with
C linkage
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.tcc:632: error: template with
C linkage
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.tcc:650: error: template with
C linkage
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.tcc:1003: error: template
with C linkage
In file included from /usr/include/cryptopp/pkcspad.h:4,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/cryptlib.h:79: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:225: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:232: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:239: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:246: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:271: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:559: error: template with C linkage
/usr/include/cryptopp/cryptlib.h:611: error: template with C linkage
In file included from /usr/include/cryptopp/secblock.h:7,
from /usr/include/cryptopp/integer.h:7,
from /usr/include/cryptopp/pubkey.h:35,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/misc.h:21: error: template with C linkage
/usr/include/cryptopp/misc.h:37: error: template with C linkage
/usr/include/cryptopp/misc.h:42: error: template with C linkage
/usr/include/cryptopp/misc.h:48: error: template with C linkage
/usr/include/cryptopp/misc.h:66: error: template with C linkage
/usr/include/cryptopp/misc.h:71: error: template with C linkage
/usr/include/cryptopp/misc.h:104: error: declaration of C function `void
CryptoPP::xorbuf(unsigned char*, const unsigned char*, const unsigned char*,
unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:103: error: previous declaration `void
CryptoPP::xorbuf(unsigned char*, const unsigned char*, unsigned int)' here
/usr/include/cryptopp/misc.h:108: error: template with C linkage
/usr/include/cryptopp/misc.h:114: error: template with C linkage
/usr/include/cryptopp/misc.h:121: error: template with C linkage
/usr/include/cryptopp/misc.h:127: error: template with C linkage
/usr/include/cryptopp/misc.h:133: error: template with C linkage
/usr/include/cryptopp/misc.h:150: error: template with C linkage
/usr/include/cryptopp/misc.h:172: error: template with C linkage
/usr/include/cryptopp/misc.h:195: error: template with C linkage
/usr/include/cryptopp/misc.h:203: error: template with C linkage
/usr/include/cryptopp/misc.h:210: error: template with C linkage
/usr/include/cryptopp/misc.h:216: error: template with C linkage
/usr/include/cryptopp/misc.h:222: error: template with C linkage
/usr/include/cryptopp/misc.h:228: error: template with C linkage
/usr/include/cryptopp/misc.h:234: error: template with C linkage
/usr/include/cryptopp/misc.h:240: error: template with C linkage
/usr/include/cryptopp/misc.h:327: error: template with C linkage
/usr/include/cryptopp/misc.h: In function `word16 CryptoPP::ByteReverse(short
unsigned int)':
/usr/include/cryptopp/misc.h:340: error: declaration of C function `word16
CryptoPP::ByteReverse(short unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:335: error: previous declaration `unsigned char
CryptoPP::ByteReverse(unsigned char)' here
/usr/include/cryptopp/misc.h: In function `word32 CryptoPP::ByteReverse(long
unsigned int)':
/usr/include/cryptopp/misc.h:345: error: declaration of C function `word32
CryptoPP::ByteReverse(long unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:340: error: previous declaration `word16
CryptoPP::ByteReverse(short unsigned int)' here
/usr/include/cryptopp/misc.h: In function `word64 CryptoPP::ByteReverse(long
long unsigned int)':
/usr/include/cryptopp/misc.h:361: error: declaration of C function `word64
CryptoPP::ByteReverse(long long unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:345: error: previous declaration `word32
CryptoPP::ByteReverse(long unsigned int)' here
/usr/include/cryptopp/misc.h: In function `word16 CryptoPP::BitReverse(short
unsigned int)':
/usr/include/cryptopp/misc.h:380: error: declaration of C function `word16
CryptoPP::BitReverse(short unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:373: error: previous declaration `unsigned char
CryptoPP::BitReverse(unsigned char)' here
/usr/include/cryptopp/misc.h: In function `word32 CryptoPP::BitReverse(long
unsigned int)':
/usr/include/cryptopp/misc.h:388: error: declaration of C function `word32
CryptoPP::BitReverse(long unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:380: error: previous declaration `word16
CryptoPP::BitReverse(short unsigned int)' here
/usr/include/cryptopp/misc.h: In function `word64 CryptoPP::BitReverse(long
long unsigned int)':
/usr/include/cryptopp/misc.h:397: error: declaration of C function `word64
CryptoPP::BitReverse(long long unsigned int)' conflicts with
/usr/include/cryptopp/misc.h:388: error: previous declaration `word32
CryptoPP::BitReverse(long unsigned int)' here
/usr/include/cryptopp/misc.h: At global scope:
/usr/include/cryptopp/misc.h:411: error: template with C linkage
/usr/include/cryptopp/misc.h:432: error: template with C linkage
/usr/include/cryptopp/misc.h:438: error: template with C linkage
/usr/include/cryptopp/misc.h:447: error: template with C linkage
/usr/include/cryptopp/misc.h:456: error: template with C linkage
/usr/include/cryptopp/misc.h: In function `word16
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, word16*)':
/usr/include/cryptopp/misc.h:470: error: declaration of C function `word16
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, word16*)' conflicts with
/usr/include/cryptopp/misc.h:465: error: previous declaration `unsigned char
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, unsigned char*)' here
/usr/include/cryptopp/misc.h: In function `word32
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, word32*)':
/usr/include/cryptopp/misc.h:477: error: declaration of C function `word32
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, word32*)' conflicts with
/usr/include/cryptopp/misc.h:470: error: previous declaration `word16
CryptoPP::UnalignedGetWordNonTemplate(CryptoPP::ByteOrder, const unsigned
char*, word16*)' here
/usr/include/cryptopp/misc.h: At global scope:
/usr/include/cryptopp/misc.h:485: error: template with C linkage
/usr/include/cryptopp/misc.h: In function `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, short
unsigned int, const unsigned char*)':
/usr/include/cryptopp/misc.h:495: error: declaration of C function `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, short
unsigned int, const unsigned char* = 0)' conflicts with
/usr/include/cryptopp/misc.h:490: error: previous declaration `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, unsigned
char, const unsigned char* = 0)' here
/usr/include/cryptopp/misc.h: In function `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, long
unsigned int, const unsigned char*)':
/usr/include/cryptopp/misc.h:515: error: declaration of C function `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, long
unsigned int, const unsigned char* = 0)' conflicts with
/usr/include/cryptopp/misc.h:495: error: previous declaration `void
CryptoPP::UnalignedPutWord(CryptoPP::ByteOrder, unsigned char*, short
unsigned int, const unsigned char* = 0)' here
/usr/include/cryptopp/misc.h: At global scope:
/usr/include/cryptopp/misc.h:542: error: template with C linkage
/usr/include/cryptopp/misc.h:554: error: template with C linkage
/usr/include/cryptopp/misc.h:560: error: template with C linkage
/usr/include/cryptopp/misc.h:575: error: template with C linkage
/usr/include/cryptopp/misc.h:582: error: template with C linkage
/usr/include/cryptopp/misc.h:595: error: template with C linkage
/usr/include/cryptopp/misc.h:602: error: template with C linkage
/usr/include/cryptopp/misc.h:617: error: template with C linkage
/usr/include/cryptopp/misc.h:625: error: template with C linkage
/usr/include/cryptopp/misc.h:634: error: template with C linkage
/usr/include/cryptopp/misc.h:642: error: template with C linkage
/usr/include/cryptopp/misc.h:648: error: template with C linkage
/usr/include/cryptopp/misc.h:654: error: template with C linkage
/usr/include/cryptopp/misc.h:663: error: template with C linkage
/usr/include/cryptopp/misc.h:669: error: template with C linkage
/usr/include/cryptopp/misc.h:676: error: template with C linkage
/usr/include/cryptopp/misc.h:682: error: template with C linkage
In file included from /usr/include/cryptopp/integer.h:7,
from /usr/include/cryptopp/pubkey.h:35,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/secblock.h:17: error: template with C linkage
/usr/include/cryptopp/secblock.h:49: error: template with C linkage
/usr/include/cryptopp/secblock.h:68: error: template with C linkage
/usr/include/cryptopp/secblock.h:94: error: template with C linkage
/usr/include/cryptopp/secblock.h:98: error: template with C linkage
/usr/include/cryptopp/secblock.h:117: error: template with C linkage
/usr/include/cryptopp/secblock.h:189: error: template with C linkage
/usr/include/cryptopp/secblock.h:230: error: template with C linkage
/usr/include/cryptopp/secblock.h:234: error: template with C linkage
/usr/include/cryptopp/secblock.h:238: error: template with C linkage
/usr/include/cryptopp/secblock.h:242: error: template with C linkage
/usr/include/cryptopp/secblock.h:347: error: template with C linkage
/usr/include/cryptopp/secblock.h:354: error: template with C linkage
/usr/include/cryptopp/secblock.h:361: error: template with C linkage
/usr/include/cryptopp/secblock.h:363: error: template with C linkage
/usr/include/cryptopp/secblock.h:370: error: template with C linkage
In file included from /usr/include/cryptopp/pubkey.h:35,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/integer.h: In function `CryptoPP::Integer
CryptoPP::operator/(const CryptoPP::Integer&, long unsigned int)':
/usr/include/cryptopp/integer.h:426: error: declaration of C function `
CryptoPP::Integer CryptoPP::operator/(const CryptoPP::Integer&, long
unsigned int)' conflicts with
/usr/include/cryptopp/integer.h:422: error: previous declaration `
CryptoPP::Integer CryptoPP::operator/(const CryptoPP::Integer&, const
CryptoPP::Integer&)' here
/usr/include/cryptopp/integer.h: In function `word CryptoPP::operator%(const
CryptoPP::Integer&, long unsigned int)':
/usr/include/cryptopp/integer.h:428: error: declaration of C function `word
CryptoPP::operator%(const CryptoPP::Integer&, long unsigned int)' conflicts
with
/usr/include/cryptopp/integer.h:424: error: previous declaration `
CryptoPP::Integer CryptoPP::operator%(const CryptoPP::Integer&, const
CryptoPP::Integer&)' here
/usr/include/cryptopp/integer.h: At global scope:
/usr/include/cryptopp/integer.h:434: error: template specialization with C
linkage
In file included from /usr/include/cryptopp/filters.h:4,
from /usr/include/cryptopp/pubkey.h:36,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/simple.h:15: error: template with C linkage
/usr/include/cryptopp/simple.h:56: error: template with C linkage
/usr/include/cryptopp/simple.h:65: error: template with C linkage
/usr/include/cryptopp/simple.h:90: error: template with C linkage
/usr/include/cryptopp/simple.h:112: error: template with C linkage
/usr/include/cryptopp/simple.h:127: error: template with C linkage
/usr/include/cryptopp/simple.h:162: error: template with C linkage
In file included from /usr/include/cryptopp/filters.h:7,
from /usr/include/cryptopp/pubkey.h:36,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/smartptr.h:10: error: template with C linkage
/usr/include/cryptopp/smartptr.h:46: error: template with C linkage
/usr/include/cryptopp/smartptr.h:71: error: template with C linkage
/usr/include/cryptopp/smartptr.h:93: error: template with C linkage
/usr/include/cryptopp/smartptr.h:182: error: template with C linkage
In file included from /usr/include/cryptopp/filters.h:8,
from /usr/include/cryptopp/pubkey.h:36,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/queue.h:123: error: template specialization with C
linkage
In file included from /usr/include/cryptopp/filters.h:9,
from /usr/include/cryptopp/pubkey.h:36,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/algparam.h:25: error: template with C linkage
/usr/include/cryptopp/algparam.h:89: error: template with C linkage
/usr/include/cryptopp/algparam.h:124: error: template with C linkage
/usr/include/cryptopp/algparam.h:159: error: template with C linkage
/usr/include/cryptopp/algparam.h:165: error: template with C linkage
/usr/include/cryptopp/algparam.h:173: error: template with C linkage
/usr/include/cryptopp/algparam.h:179: error: template with C linkage
/usr/include/cryptopp/algparam.h:185: error: template with C linkage
/usr/include/cryptopp/algparam.h:198: error: template with C linkage
/usr/include/cryptopp/algparam.h:211: error: template with C linkage
/usr/include/cryptopp/algparam.h:233: error: template with C linkage
/usr/include/cryptopp/algparam.h:239: error: template with C linkage
/usr/include/cryptopp/algparam.h:251: error: template with C linkage
/usr/include/cryptopp/algparam.h:274: error: template with C linkage
/usr/include/cryptopp/algparam.h:315: error: template with C linkage
In file included from /usr/include/cryptopp/pubkey.h:36,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/filters.h:483: error: template with C linkage
/usr/include/cryptopp/filters.h:554: error: template with C linkage
/usr/include/cryptopp/filters.h:633: error: template with C linkage
/usr/include/cryptopp/filters.h:675: error: template with C linkage
In file included from /usr/include/cryptopp/eprecomp.h:5,
from /usr/include/cryptopp/pubkey.h:37,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/algebra.h:20: error: template with C linkage
/usr/include/cryptopp/algebra.h:44: error: template with C linkage
/usr/include/cryptopp/algebra.h:120: error: template with C linkage
/usr/include/cryptopp/algebra.h:131: error: template with C linkage
/usr/include/cryptopp/algebra.h:133: error: template with C linkage
/usr/include/cryptopp/algebra.h:138: error: template with C linkage
/usr/include/cryptopp/algebra.h:155: error: template with C linkage
/usr/include/cryptopp/algebra.h:215: error: template with C linkage
In file included from /usr/include/cryptopp/pubkey.h:37,
from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/eprecomp.h:12: error: template with C linkage
/usr/include/cryptopp/eprecomp.h:26: error: template with C linkage
/usr/include/cryptopp/eprecomp.h:41: error: template with C linkage
In file included from /usr/include/cryptopp/pkcspad.h:5,
from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/pubkey.h:127: error: template with C linkage
/usr/include/cryptopp/pubkey.h:142: error: template with C linkage
/usr/include/cryptopp/pubkey.h:226: error: template with C linkage
/usr/include/cryptopp/pubkey.h:288: error: template with C linkage
/usr/include/cryptopp/pubkey.h:296: error: template with C linkage
/usr/include/cryptopp/pubkey.h:342: error: template with C linkage
/usr/include/cryptopp/pubkey.h:352: error: template with C linkage
/usr/include/cryptopp/pubkey.h:360: error: template with C linkage
/usr/include/cryptopp/pubkey.h:368: error: template with C linkage
/usr/include/cryptopp/pubkey.h:376: error: template with C linkage
/usr/include/cryptopp/pubkey.h:416: error: template with C linkage
/usr/include/cryptopp/pubkey.h:434: error: template with C linkage
/usr/include/cryptopp/pubkey.h:446: error: template with C linkage
/usr/include/cryptopp/pubkey.h:454: error: template with C linkage
/usr/include/cryptopp/pubkey.h:463: error: template with C linkage
/usr/include/cryptopp/pubkey.h:469: error: template with C linkage
/usr/include/cryptopp/pubkey.h:475: error: template with C linkage
/usr/include/cryptopp/pubkey.h:485: error: template with C linkage
/usr/include/cryptopp/pubkey.h:529: error: template with C linkage
/usr/include/cryptopp/pubkey.h:549: error: template with C linkage
/usr/include/cryptopp/pubkey.h:641: error: template with C linkage
/usr/include/cryptopp/pubkey.h:660: error: template with C linkage
/usr/include/cryptopp/pubkey.h:668: error: template with C linkage
/usr/include/cryptopp/pubkey.h:703: error: template with C linkage
/usr/include/cryptopp/pubkey.h:751: error: template with C linkage
/usr/include/cryptopp/pubkey.h:778: error: template with C linkage
/usr/include/cryptopp/pubkey.h:849: error: template with C linkage
/usr/include/cryptopp/pubkey.h:867: error: template with C linkage
/usr/include/cryptopp/pubkey.h:929: error: template with C linkage
/usr/include/cryptopp/pubkey.h:945: error: template with C linkage
/usr/include/cryptopp/pubkey.h:956: error: template with C linkage
/usr/include/cryptopp/pubkey.h:975: error: template with C linkage
/usr/include/cryptopp/pubkey.h:989: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1021: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1094: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1162: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1187: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1223: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1254: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1262: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1271: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1280: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1289: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1325: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1347: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1356: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1367: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1379: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1389: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1395: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1403: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1461: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1515: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1527: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1531: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1569: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1573: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1577: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1581: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1585: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1589: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1593: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1597: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1601: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1605: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1609: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1613: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1617: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1621: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1633: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1655: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1676: error: template with C linkage
/usr/include/cryptopp/pubkey.h:1695: error: template with C linkage
In file included from /usr/include/cryptopp/rsa.h:9,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/pkcspad.h:21: error: template with C linkage
/usr/include/cryptopp/pkcspad.h:40: error: template with C linkage
In file included from /usr/include/cryptopp/rsa.h:10,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/oaep.h:12: error: template with C linkage
In file included from /usr/include/cryptopp/rsa.h:12,
from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/asn.h:67: error: declaration of C function `unsigned int
CryptoPP::DEREncodeOctetString(CryptoPP::BufferedTransformation&, const
CryptoPP::SecByteBlock&)' conflicts with
/usr/include/cryptopp/asn.h:66: error: previous declaration `unsigned int
CryptoPP::DEREncodeOctetString(CryptoPP::BufferedTransformation&, const
unsigned char*, unsigned int)' here
/usr/include/cryptopp/asn.h:69: error: declaration of C function `unsigned int
CryptoPP::BERDecodeOctetString(CryptoPP::BufferedTransformation&,
CryptoPP::BufferedTransformation&)' conflicts with
/usr/include/cryptopp/asn.h:68: error: previous declaration `unsigned int
CryptoPP::BERDecodeOctetString(CryptoPP::BufferedTransformation&,
CryptoPP::SecByteBlock&)' here
/usr/include/cryptopp/asn.h:213: error: template with C linkage
/usr/include/cryptopp/asn.h:274: error: template with C linkage
/usr/include/cryptopp/asn.h:305: error: template with C linkage
/usr/include/cryptopp/asn.h: In function `bool CryptoPP::operator==(const
CryptoPP::OID&, const CryptoPP::OID&)':
/usr/include/cryptopp/asn.h:336: error: declaration of C function `bool
CryptoPP::operator==(const CryptoPP::OID&, const CryptoPP::OID&)' conflicts
with
/usr/include/cryptopp/integer.h:404: error: previous declaration `bool
CryptoPP::operator==(const CryptoPP::Integer&, const CryptoPP::Integer&)'
here
/usr/include/cryptopp/asn.h: In function `bool CryptoPP::operator!=(const
CryptoPP::OID&, const CryptoPP::OID&)':
/usr/include/cryptopp/asn.h:338: error: declaration of C function `bool
CryptoPP::operator!=(const CryptoPP::OID&, const CryptoPP::OID&)' conflicts
with
/usr/include/cryptopp/integer.h:406: error: previous declaration `bool
CryptoPP::operator!=(const CryptoPP::Integer&, const CryptoPP::Integer&)'
here
/usr/include/cryptopp/asn.h: In function `bool CryptoPP::operator<(const
CryptoPP::OID&, const CryptoPP::OID&)':
/usr/include/cryptopp/asn.h:340: error: declaration of C function `bool
CryptoPP::operator<(const CryptoPP::OID&, const CryptoPP::OID&)' conflicts
with
/usr/include/cryptopp/integer.h:412: error: previous declaration `bool
CryptoPP::operator<(const CryptoPP::Integer&, const CryptoPP::Integer&)'
here
/usr/include/cryptopp/asn.h: In function `CryptoPP::OID
CryptoPP::operator+(const CryptoPP::OID&, long unsigned int)':
/usr/include/cryptopp/asn.h:342: error: declaration of C function `
CryptoPP::OID CryptoPP::operator+(const CryptoPP::OID&, long unsigned int)'
conflicts with
/usr/include/cryptopp/integer.h:416: error: previous declaration `
CryptoPP::Integer CryptoPP::operator+(const CryptoPP::Integer&, const
CryptoPP::Integer&)' here
In file included from ClientCredits.h:32,
from BaseClient.cpp:44:
/usr/include/cryptopp/rsa.h: At global scope:
/usr/include/cryptopp/rsa.h:113: error: template with C linkage
/usr/include/cryptopp/rsa.h:120: error: template with C linkage
BaseClient.cpp:1084:26: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1702:10: warning: #warning ADDME - Import needed
BaseClient.cpp:2258:2: warning: #warning Dont forget to remove this and the magic numbers when the bug is gone.
make[4]: *** [amule-BaseClient.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Tonys-Computer:/amule/amule-2.0.0rc5 Tony$
There was a whole lot more errors before that part also, but I had to get the post under 30000 characters. They tended to be: "/usr/include/gcc/darwin/3.3/c++/bits/basic_string" errors
Any help would be appreciated