g++ -Wall -Wno-deprecated -o tester test.cpp Envelope.cpp Oscillator.cpp -lstk -ljack -lasound -lpthread -lm -lasound /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h: In copy constructor ‘std::basic_ios >::basic_ios(const std::basic_ios >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h:779: error: ‘std::ios_base::ios_base(const std::ios_base&)’ is private /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55: error: within this context /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In copy constructor ‘std::basic_ostringstream, std::allocator >::basic_ostringstream(const std::basic_ostringstream, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_ios >::basic_ios(const std::basic_ios >&)’ first required here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf: In copy constructor ‘std::basic_stringbuf, std::allocator >::basic_stringbuf(const std::basic_stringbuf, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf:781: error: ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits]’ is private /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:71: error: within this context /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In copy constructor ‘std::basic_ostringstream, std::allocator >::basic_ostringstream(const std::basic_ostringstream, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_stringbuf, std::allocator >::basic_stringbuf(const std::basic_stringbuf, std::allocator >&)’ first required here /usr/include/Stk.h: In copy constructor ‘Stk::Stk(const Stk&)’: /usr/include/Stk.h:95: note: synthesized method ‘std::basic_ostringstream, std::allocator >::basic_ostringstream(const std::basic_ostringstream, std::allocator >&)’ first required here /usr/include/Generator.h: In copy constructor ‘Generator::Generator(const Generator&)’: /usr/include/Generator.h:18: note: synthesized method ‘Stk::Stk(const Stk&)’ first required here /usr/include/SineWave.h: In copy constructor ‘SineWave::SineWave(const SineWave&)’: /usr/include/SineWave.h:24: note: synthesized method ‘Generator::Generator(const Generator&)’ first required here Oscillator.h: In copy constructor ‘Oscillator::Oscillator(const Oscillator&)’: Oscillator.h:12: note: synthesized method ‘SineWave::SineWave(const SineWave&)’ first required here test.cpp: In function ‘int main()’: test.cpp:57: note: synthesized method ‘Oscillator::Oscillator(const Oscillator&)’ first required here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h: In member function ‘std::basic_ios >& std::basic_ios >::operator=(const std::basic_ios >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator]’ /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:610: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator]’ test.cpp:57: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h:782: error: ‘std::ios_base& std::ios_base::operator=(const std::ios_base&)’ is private /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55: error: within this context /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostream >& std::basic_ostream >::operator=(const std::basic_ostream >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:64: note: synthesized method ‘std::basic_ios >& std::basic_ios >::operator=(const std::basic_ios >&)’ first required here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostringstream, std::allocator >& std::basic_ostringstream, std::allocator >::operator=(const std::basic_ostringstream, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_ostream >& std::basic_ostream >::operator=(const std::basic_ostream >&)’ first required here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf: In member function ‘std::basic_stringbuf, std::allocator >& std::basic_stringbuf, std::allocator >::operator=(const std::basic_stringbuf, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf:789: error: ‘std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits]’ is private /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:71: error: within this context /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostringstream, std::allocator >& std::basic_ostringstream, std::allocator >::operator=(const std::basic_ostringstream, std::allocator >&)’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator]’ /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:610: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator]’ test.cpp:57: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_stringbuf, std::allocator >& std::basic_stringbuf, std::allocator >::operator=(const std::basic_stringbuf, std::allocator >&)’ first required here /usr/include/Stk.h: In member function ‘Stk& Stk::operator=(const Stk&)’: /usr/include/Stk.h:95: note: synthesized method ‘std::basic_ostringstream, std::allocator >& std::basic_ostringstream, std::allocator >::operator=(const std::basic_ostringstream, std::allocator >&)’ first required here /usr/include/Generator.h: In member function ‘Generator& Generator::operator=(const Generator&)’: /usr/include/Generator.h:18: note: synthesized method ‘Stk& Stk::operator=(const Stk&)’ first required here /usr/include/SineWave.h: In member function ‘SineWave& SineWave::operator=(const SineWave&)’: /usr/include/SineWave.h:24: note: synthesized method ‘Generator& Generator::operator=(const Generator&)’ first required here Oscillator.h: In member function ‘Oscillator& Oscillator::operator=(const Oscillator&)’: Oscillator.h:12: note: synthesized method ‘SineWave& SineWave::operator=(const SineWave&)’ first required here /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator]’: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vector.tcc:260: note: synthesized method ‘Oscillator& Oscillator::operator=(const Oscillator&)’ first required here make: *** [tester] Error 1