← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 654032] Re: build error debian with gcc-4.3

 

Ok, so it is the version 4.4 needed and I guess that's what you tried to
tell me.

Please update your userguide, since it does not mention any version nor
does it refer to the appropriate debian packages.

gcc-c++       ----> g++     (version 4.4)  better even gcc-c++-4.4
openssl-dev ---> libssl-dev
readline-dev ---> libreadline-dev

and well in general provide the versions needed in the user guide, please.
Also it would be helpful to note that debian stable won't cut it, all the needed version are only provided in the testing tree of debian squeeze.

That would be helpful for people not compiling all the time and knowing where to look for build info's.
Otherwise the user-guide is pointless.

regards

-- 
build error debian with gcc-4.3
https://bugs.launchpad.net/bugs/654032
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.

Status in ADCH++: Invalid

Bug description:
debian 5
kernel 2.6.22-3-686
g++-4.3

/home/user/adchpp_2.5.2_source# scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for dlopen() in C library dl... (cached) yes
Checking for pthread_create() in C library pthread... (cached) yes
Checking for SSL_connect() in C library ssl... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/debug-default/adchpp/Bot.os (shared)
In file included from adchpp/ClientManager.h:24,
                 from adchpp/Bot.cpp:23:
adchpp/Signal.h:34: error: expected initializer before ‘<’ token
adchpp/Signal.h:65: error: expected constructor, destructor, or type conversion before ‘connect’
adchpp/Signal.h: In member function ‘void adchpp::Signal<F>::operator()(T0&&)’:
adchpp/Signal.h:45: error: ISO C++ forbids declaration of ‘i’ with no type
adchpp/Signal.h:45: error: ISO C++ forbids declaration of ‘iend’ with no type
adchpp/Signal.h:46: error: invalid type argument of ‘unary *’
adchpp/Signal.h: In member function ‘void adchpp::Signal<F>::operator()(T0&&, T1&&)’:
adchpp/Signal.h:52: error: ISO C++ forbids declaration of ‘i’ with no type
adchpp/Signal.h:52: error: ISO C++ forbids declaration of ‘iend’ with no type
adchpp/Signal.h:53: error: invalid type argument of ‘unary *’
adchpp/Signal.h: In member function ‘void adchpp::Signal<F>::operator()(T0&&, T1&&, T2&&)’:
adchpp/Signal.h:59: error: ISO C++ forbids declaration of ‘i’ with no type
adchpp/Signal.h:59: error: ISO C++ forbids declaration of ‘iend’ with no type
adchpp/Signal.h:60: error: invalid type argument of ‘unary *’
adchpp/Signal.h: At global scope:
adchpp/Signal.h:85: error: expected `)' before ‘&&’ token
adchpp/Signal.h:103: error: ‘ConnectionPtr’ does not name a type
adchpp/Signal.h: In member function ‘void adchpp::ManagedConnection::disconnect()’:
adchpp/Signal.h:89: error: ‘conn’ was not declared in this scope
adchpp/Signal.h: In member function ‘void adchpp::ManagedConnection::release()’:
adchpp/Signal.h:96: error: ‘conn’ was not declared in this scope
adchpp/Signal.h: At global scope:
adchpp/Signal.h:116: error: ‘ConnectionPtr’ in namespace ‘adchpp’ does not name a type
boost/boost/system/error_code.hpp:208: warning: ‘boost::system::system_category’ defined but not used
boost/boost/system/error_code.hpp:209: warning: ‘boost::system::generic_category’ defined but not used
boost/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
boost/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
boost/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
scons: *** [build/debug-default/adchpp/Bot.os] Error 1
scons: building terminated because of errors.







References