[MacPorts] #13945: devel/libcryptopp 5.1: compile error -
'NULL_CHANNEL' was not declared in this scope
MacPorts
trac at macosforge.org
Tue Jan 15 21:11:52 PST 2008
#13945: devel/libcryptopp 5.1: compile error - 'NULL_CHANNEL' was not declared in
this scope
----------------------------------+-----------------------------------------
Reporter: cilly at cilly.mine.nu | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
----------------------------------+-----------------------------------------
Changes (by jmpp at macports.org):
* milestone: => Port Bugs
Old description:
> 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.
New description:
{{{
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.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13945#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list