#13945 closed defect (fixed)
devel/libcryptopp 5.1: compile error - 'NULL_CHANNEL' was not declared in this scope
Reported by: | cilly@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description (last modified by jmpalacios (Juan Manuel Palacios))
sudo port install libcryptopp ---> Fetching libcryptopp ---> Verifying checksum(s) for libcryptopp ---> Extracting libcryptopp ---> Configuring libcryptopp ---> Building libcryptopp with target all Error: Target org.macports.build returned: shell command " cd "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_devel_libcryptopp/work/" && gnumake all -f GNUmakefile " returned error 2 Command output: simple.h:71: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'bool CryptoPP::Unflushable<T>::ChannelFlush(const std::string&, bool, int, bool)': simple.h:80: error: there are no arguments to 'AttachedTransformation' that depend on a template parameter, so a declaration of 'AttachedTransformation' must be available simple.h:80: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) simple.h: In member function 'void CryptoPP::Multichannel<T>::Initialize(const CryptoPP::NameValuePairs&, int)': simple.h:134: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'bool CryptoPP::Multichannel<T>::Flush(bool, int, bool)': simple.h:136: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'bool CryptoPP::Multichannel<T>::MessageSeriesEnd(int, bool)': simple.h:138: error: 'NULL_CHANNEL' was not declared in this scope simple.h:138: error: there are no arguments to 'ChannelMessageSeriesEnd' that depend on a template parameter, so a declaration of 'ChannelMessageSeriesEnd' must be available simple.h: In member function 'byte* CryptoPP::Multichannel<T>::CreatePutSpace(unsigned int&)': simple.h:140: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'unsigned int CryptoPP::Multichannel<T>::Put2(const byte*, unsigned int, int, bool)': simple.h:142: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'unsigned int CryptoPP::Multichannel<T>::PutModifiable2(byte*, unsigned int, int, bool)': simple.h:144: error: 'NULL_CHANNEL' was not declared in this scope simple.h: In member function 'bool CryptoPP::Multichannel<T>::ChannelPutModifiable(const std::string&, byte*, unsigned int)': simple.h:151: error: there are no arguments to 'ChannelPut' that depend on a template parameter, so a declaration of 'ChannelPut' must be available seckey.h: In member function 'unsigned int CryptoPP::BlockCipherBaseTemplate<INFO, INTERFACE>::BlockSize() const': seckey.h:159: error: 'BLOCKSIZE' was not declared in this scope seckey.h: In constructor 'CryptoPP::BlockCipherTemplate<DIR, BASE>::BlockCipherTemplate(const byte*)': seckey.h:169: error: 'DEFAULT_KEYLENGTH' was not declared in this scope seckey.h: In constructor 'CryptoPP::BlockCipherTemplate<DIR, BASE>::BlockCipherTemplate(const byte*, unsigned int, unsigned int)': seckey.h:173: error: there are no arguments to 'SetKeyWithRounds' that depend on a template parameter, so a declaration of 'SetKeyWithRounds' must be available seckey.h: In constructor 'CryptoPP::MessageAuthenticationCodeTemplate<BASE>::MessageAuthenticationCodeTemplate(const byte*)': seckey.h:197: error: 'DEFAULT_KEYLENGTH' was not declared in this scope seckey.h: In member function 'std::string CryptoPP::MessageAuthenticationCodeTemplate<BASE>::AlgorithmName() const': seckey.h:201: error: there are no arguments to 'StaticAlgorithmName' that depend on a template parameter, so a declaration of 'StaticAlgorithmName' must be available gnumake: *** [3way.o] Error 1 Error: Status 1 encountered during processing.
Attachments (1)
Change History (7)
comment:1 Changed 17 years ago by cilly@…
Changed 17 years ago by cilly@…
comment:2 Changed 17 years ago by cilly@…
gcc --version powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Darwin mercury.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; root:xnu-1228.0.2~1/RELEASE_PPC Power Macintosh
comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|---|
Milestone: | → Port Bugs |
comment:4 Changed 17 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to jmr@… |
---|---|
Status: | new → assigned |
comment:5 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by updating to version 5.5.2 in r34859.
Note: See
TracTickets for help on using
tickets.
Sorry, always I paste, the linefeeds are lost. It's not my fault working at paste-systems:
http://rafb.net/p/teufS283.txt