* Package: net-p2p/rtorrent-0.9.3  * Repository: gentoo  * Maintainer: net-p2p@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU xmlrpc  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rtorrent-0.9.3.tar.gz to /var/tmp/portage/net-p2p/rtorrent-0.9.3/work >>> Source unpacked in /var/tmp/portage/net-p2p/rtorrent-0.9.3/work >>> Preparing source in /var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3 ... * Applying rtorrent-0.9.1-ncurses.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3 ... * econf: updating rtorrent-0.9.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating rtorrent-0.9.3/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-dependency-tracking --disable-debug --enable-ipv6 --with-xmlrpc-c configure: loading site script /usr/share/config.site checking for a BSD-compatible install... install-xattr: setxattr() failed: Operation not permitted /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for cppunit-config... /usr/bin/cppunit-config checking for Cppunit - version >= 1.9.6... 1.13.2 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-g++... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for user-defined CXXFLAGS... default "-O2 -Wall" checking for TR1 support... yes checking for C++11 support... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for execinfo.h... yes checking for proper overloaded template function disambiguation... yes checking for sysroot... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statvfs... ok checking whether pthreads work without any flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for NcursesW wide-character library... yes checking for working ncursesw/curses.h... no checking for working ncursesw.h... no checking for working ncurses.h... no configure: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h checking if curses tinfo library is linked properly... no adding libtinfo checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for sigc... yes checking for libcurl... yes checking for libtorrent... yes checking for XMLRPC-C... ok checking for posix_memalign... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/core/Makefile config.status: creating src/display/Makefile config.status: creating src/input/Makefile config.status: creating src/rpc/Makefile config.status: creating src/ui/Makefile config.status: creating src/utils/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3 ... make -j3 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3' Making all in doc make[2]: Entering directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/doc' Making all in src make[2]: Entering directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src' Making all in core make[3]: Entering directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src/core' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o curl_get.o curl_get.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o curl_socket.o curl_socket.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o curl_stack.o curl_stack.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o dht_manager.o dht_manager.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o download.o download.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o download_factory.o download_factory.cc In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from dht_manager.cc:47: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from download.cc:50: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from download_factory.cc:53: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o download_list.o download_list.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o download_store.o download_store.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o http_queue.o http_queue.cc In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from download_list.cc:55: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o manager.o manager.cc In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from manager.cc:62: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o poll_manager.o poll_manager.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o view.o view.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o view_manager.o view_manager.cc In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from view.cc:47: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ In file included from ./../rpc/command_map.h:45:0, from ./../rpc/parse_commands.h:43, from view_manager.cc:46: ./../rpc/command.h: In instantiation of 'tmpl& rpc::command_base::_pod() [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:165:46: required from here ./../rpc/command.h:195:79: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template tmpl& _pod() { return reinterpret_cast(t_pod); }  ^ ./../rpc/command.h: In instantiation of 'const tmpl& rpc::command_base::_pod() const [with tmpl = std::tr1::function, const torrent::Object&)>]': ./../rpc/command.h:166:110: required from here ./../rpc/command.h:196:97: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] template const tmpl& _pod() const { return reinterpret_cast(t_pod); }  ^ rm -f libsub_core.a x86_64-pc-linux-gnu-ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o manager.o poll_manager.o view.o view_manager.o x86_64-pc-linux-gnu-ranlib libsub_core.a make[3]: Leaving directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src/core' Making all in display make[3]: Entering directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src/display' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o canvas.o canvas.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o frame.o frame.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -O2 -Wall -DNDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include -c -o manager.o manager.cc In file included from canvas.h:43:0, from manager.cc:43: attributes.h:54:2: error: #error "SysV or X/Open-compatible Curses header file required" #error "SysV or X/Open-compatible Curses header file required"  ^ In file included from canvas.h:43:0, from canvas.cc:44: attributes.h:54:2: error: #error "SysV or X/Open-compatible Curses header file required" #error "SysV or X/Open-compatible Curses header file required"  ^ In file included from canvas.h:43:0, from window.h:43, from frame.cc:46: attributes.h:54:2: error: #error "SysV or X/Open-compatible Curses header file required" #error "SysV or X/Open-compatible Curses header file required"  ^ In file included from canvas.h:43:0, from manager.cc:43: attributes.h:67:32: error: 'A_NORMAL' was not declared in this scope static const int a_normal = A_NORMAL;  ^ attributes.h:68:32: error: 'A_BOLD' was not declared in this scope static const int a_bold = A_BOLD;  ^ attributes.h:69:32: error: 'A_REVERSE' was not declared in this scope static const int a_reverse = A_REVERSE;  ^ In file included from manager.cc:43:0: canvas.h:73:3: error: 'chtype' does not name a type chtype get_background() { return getbkgd(m_window); }  ^ canvas.h:74:38: error: 'chtype' has not been declared void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:79:36: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:79:47: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:80:36: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:80:47: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:81:36: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:81:47: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:82:36: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:47: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:93:40: error: 'chtype' does not name a type void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:94:72: error: 'chtype' does not name a type void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:117:3: error: 'WINDOW' does not name a type WINDOW* m_window;  ^ In file included from manager.cc:43:0: canvas.h: In destructor 'display::Canvas::~Canvas()': canvas.h:52:22: error: 'm_window' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h:52:30: error: 'delwin' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h: In member function 'void display::Canvas::refresh()': canvas.h:54:94: error: 'm_window' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h:54:102: error: 'wnoutrefresh' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::refresh_std()': canvas.h:55:94: error: 'stdscr' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h:55:100: error: 'wnoutrefresh' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::redraw()': canvas.h:56:91: error: 'm_window' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h:56:99: error: 'redrawwin' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::redraw_std()': canvas.h:57:91: error: 'stdscr' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h:57:97: error: 'redrawwin' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::resize(int, int)': canvas.h:59:89: error: 'm_window' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h:59:103: error: 'wresize' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h: In static member function 'static void display::Canvas::resize_term(int, int)': canvas.h:62:96: error: 'resizeterm' was not declared in this scope static void resize_term(int x, int y) { resizeterm(y, x); }  ^ canvas.h: In static member function 'static void display::Canvas::resize_term(std::pair)': canvas.h:63:113: error: 'resizeterm' was not declared in this scope static void resize_term(std::pair dim) { resizeterm(dim.second, dim.first); }  ^ canvas.h: In member function 'unsigned int display::Canvas::get_x()': canvas.h:65:106: error: 'm_window' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ canvas.h:65:120: error: 'getyx' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ In file included from manager.cc:43:0: canvas.h: In member function 'unsigned int display::Canvas::get_y()': canvas.h:66:97: error: 'm_window' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ canvas.h:66:111: error: 'getyx' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ canvas.h: In member function 'unsigned int display::Canvas::width()': canvas.h:68:109: error: 'm_window' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h:68:123: error: 'getmaxyx' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h: In member function 'unsigned int display::Canvas::height()': canvas.h:69:100: error: 'm_window' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h:69:114: error: 'getmaxyx' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h: In member function 'void display::Canvas::move(unsigned int, unsigned int)': canvas.h:71:87: error: 'm_window' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h:71:101: error: 'wmove' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h: In member function 'void display::Canvas::set_background(int)': canvas.h:74:97: error: 'm_window' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: 'wbkgdset' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: return-statement with a value, in function returning 'void' [-fpermissive] canvas.h: In member function 'void display::Canvas::erase()': canvas.h:76:88: error: 'm_window' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h:76:96: error: 'werase' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::erase_std()': canvas.h:77:88: error: 'stdscr' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h:77:94: error: 'werase' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::print_border(int, int, int, int, int, int, int, int)': canvas.h:82:89: error: 'm_window' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:129: error: 'wborder' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h: In member function 'void display::Canvas::print_char(int)': canvas.h:93:92: error: 'm_window' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:93:104: error: 'waddch' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h: In member function 'void display::Canvas::print_char(unsigned int, unsigned int, int)': canvas.h:94:94: error: 'm_window' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:94:112: error: 'mvwaddch' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h: In member function 'void display::Canvas::set_attr(unsigned int, unsigned int, unsigned int, int, int)': canvas.h:96:112: error: 'm_window' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h:96:148: error: 'mvwchgat' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h: In member function 'void display::Canvas::set_default_attributes(int)': canvas.h:98:100: error: 'm_window' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h:98:114: error: 'wattrset' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_width()': canvas.h:104:109: error: 'stdscr' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h:104:121: error: 'getmaxyx' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_height()': canvas.h:105:100: error: 'stdscr' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h:105:112: error: 'getmaxyx' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h: In static member function 'static void display::Canvas::do_update()': canvas.h:109:90: error: 'doupdate' was not declared in this scope static void do_update() { doupdate(); }  ^ canvas.h: In member function 'void display::Canvas::print(const char*, ...)': canvas.h:122:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:124:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:124:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:125:13: error: 'm_window' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:125:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:126:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ canvas.h: In member function 'void display::Canvas::print(unsigned int, unsigned int, const char*, ...)': canvas.h:131:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:133:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:133:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:134:9: error: 'm_window' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:134:23: error: 'wmove' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:135:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:136:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ attributes.h:67:32: error: 'A_NORMAL' was not declared in this scope static const int a_normal = A_NORMAL;  ^ attributes.h:68:32: error: 'A_BOLD' was not declared in this scope static const int a_bold = A_BOLD;  ^ attributes.h:69:32: error: 'A_REVERSE' was not declared in this scope static const int a_reverse = A_REVERSE;  ^ In file included from canvas.cc:44:0: canvas.h:73:3: error: 'chtype' does not name a type chtype get_background() { return getbkgd(m_window); }  ^ canvas.h:74:38: error: 'chtype' has not been declared void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:79:36: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:79:47: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:80:36: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:80:47: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:81:36: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:81:47: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:82:36: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:47: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:93:40: error: 'chtype' does not name a type void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:94:72: error: 'chtype' does not name a type void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:117:3: error: 'WINDOW' does not name a type WINDOW* m_window;  ^ In file included from canvas.cc:44:0: canvas.h: In destructor 'display::Canvas::~Canvas()': canvas.h:52:22: error: 'm_window' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h:52:30: error: 'delwin' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h: In member function 'void display::Canvas::refresh()': canvas.h:54:94: error: 'm_window' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h:54:102: error: 'wnoutrefresh' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::refresh_std()': canvas.h:55:94: error: 'stdscr' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h:55:100: error: 'wnoutrefresh' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::redraw()': canvas.h:56:91: error: 'm_window' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h:56:99: error: 'redrawwin' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::redraw_std()': canvas.h:57:91: error: 'stdscr' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h:57:97: error: 'redrawwin' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::resize(int, int)': canvas.h:59:89: error: 'm_window' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h:59:103: error: 'wresize' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h: In static member function 'static void display::Canvas::resize_term(int, int)': canvas.h:62:96: error: 'resizeterm' was not declared in this scope static void resize_term(int x, int y) { resizeterm(y, x); }  ^ canvas.h: In static member function 'static void display::Canvas::resize_term(std::pair)': canvas.h:63:113: error: 'resizeterm' was not declared in this scope static void resize_term(std::pair dim) { resizeterm(dim.second, dim.first); }  ^ canvas.h: In member function 'unsigned int display::Canvas::get_x()': canvas.h:65:106: error: 'm_window' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ canvas.h:65:120: error: 'getyx' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ In file included from canvas.cc:44:0: canvas.h: In member function 'unsigned int display::Canvas::get_y()': canvas.h:66:97: error: 'm_window' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ canvas.h:66:111: error: 'getyx' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ canvas.h: In member function 'unsigned int display::Canvas::width()': canvas.h:68:109: error: 'm_window' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h:68:123: error: 'getmaxyx' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h: In member function 'unsigned int display::Canvas::height()': canvas.h:69:100: error: 'm_window' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h:69:114: error: 'getmaxyx' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h: In member function 'void display::Canvas::move(unsigned int, unsigned int)': canvas.h:71:87: error: 'm_window' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h:71:101: error: 'wmove' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h: In member function 'void display::Canvas::set_background(int)': canvas.h:74:97: error: 'm_window' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: 'wbkgdset' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: return-statement with a value, in function returning 'void' [-fpermissive] canvas.h: In member function 'void display::Canvas::erase()': canvas.h:76:88: error: 'm_window' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h:76:96: error: 'werase' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::erase_std()': canvas.h:77:88: error: 'stdscr' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h:77:94: error: 'werase' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::print_border(int, int, int, int, int, int, int, int)': canvas.h:82:89: error: 'm_window' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:129: error: 'wborder' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h: In member function 'void display::Canvas::print_char(int)': canvas.h:93:92: error: 'm_window' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:93:104: error: 'waddch' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h: In member function 'void display::Canvas::print_char(unsigned int, unsigned int, int)': canvas.h:94:94: error: 'm_window' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:94:112: error: 'mvwaddch' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h: In member function 'void display::Canvas::set_attr(unsigned int, unsigned int, unsigned int, int, int)': canvas.h:96:112: error: 'm_window' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h:96:148: error: 'mvwchgat' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h: In member function 'void display::Canvas::set_default_attributes(int)': canvas.h:98:100: error: 'm_window' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h:98:114: error: 'wattrset' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_width()': canvas.h:104:109: error: 'stdscr' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h:104:121: error: 'getmaxyx' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_height()': canvas.h:105:100: error: 'stdscr' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h:105:112: error: 'getmaxyx' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h: In static member function 'static void display::Canvas::do_update()': canvas.h:109:90: error: 'doupdate' was not declared in this scope static void do_update() { doupdate(); }  ^ canvas.h: In member function 'void display::Canvas::print(const char*, ...)': canvas.h:122:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:124:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:124:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:125:13: error: 'm_window' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:125:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:126:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ canvas.h: In member function 'void display::Canvas::print(unsigned int, unsigned int, const char*, ...)': canvas.h:131:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:133:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:133:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:134:9: error: 'm_window' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:134:23: error: 'wmove' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:135:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:136:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ canvas.cc: In constructor 'display::Canvas::Canvas(int, int, int, int)': canvas.cc:51:3: error: class 'display::Canvas' does not have any field named 'm_window' m_window(newwin(height, width, y, x)) {  ^ canvas.cc:51:38: error: 'newwin' was not declared in this scope m_window(newwin(height, width, y, x)) {  ^ canvas.cc:53:7: error: 'm_window' was not declared in this scope if (m_window == NULL)  ^ canvas.cc: In member function 'void display::Canvas::resize(int, int, int, int)': canvas.cc:59:11: error: 'm_window' was not declared in this scope wresize(m_window, h, w);  ^ canvas.cc:59:25: error: 'wresize' was not declared in this scope wresize(m_window, h, w);  ^ canvas.cc:60:23: error: 'mvwin' was not declared in this scope mvwin(m_window, y, x);  ^ canvas.cc: In member function 'void display::Canvas::print_attributes(unsigned int, unsigned int, const char*, const char*, const attributes_list*)': canvas.cc:67:3: error: 'attr_t' was not declared in this scope attr_t org_attr;  ^ canvas.cc:69:13: error: 'm_window' was not declared in this scope wattr_get(m_window, &org_attr, &org_pair, NULL);  ^ canvas.cc:69:24: error: 'org_attr' was not declared in this scope wattr_get(m_window, &org_attr, &org_pair, NULL);  ^ canvas.cc:69:49: error: 'wattr_get' was not declared in this scope wattr_get(m_window, &org_attr, &org_pair, NULL);  ^ canvas.cc:72:76: error: 'wattr_set' was not declared in this scope wattr_set(m_window, Attributes::a_normal, Attributes::color_default, NULL);  ^ canvas.cc: In static member function 'static void display::Canvas::initialize()': canvas.cc:101:11: error: 'initscr' was not declared in this scope initscr();  ^ canvas.cc:102:7: error: 'raw' was not declared in this scope raw();  ^ canvas.cc:103:10: error: 'noecho' was not declared in this scope noecho();  ^ canvas.cc:104:11: error: 'stdscr' was not declared in this scope nodelay(stdscr, TRUE);  ^ canvas.cc:104:19: error: 'TRUE' was not declared in this scope nodelay(stdscr, TRUE);  ^ In file included from canvas.h:43:0, from window.h:43, from frame.cc:46: attributes.h:67:32: error: 'A_NORMAL' was not declared in this scope static const int a_normal = A_NORMAL;  ^ attributes.h:68:32: error: 'A_BOLD' was not declared in this scope static const int a_bold = A_BOLD;  ^ attributes.h:69:32: error: 'A_REVERSE' was not declared in this scope static const int a_reverse = A_REVERSE;  ^ In file included from window.h:43:0, from frame.cc:46: canvas.h:73:3: error: 'chtype' does not name a type chtype get_background() { return getbkgd(m_window); }  ^ canvas.h:74:38: error: 'chtype' has not been declared void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:79:36: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:79:47: error: 'chtype' has not been declared void print_border(chtype ls, chtype rs,  ^ canvas.h:80:36: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:80:47: error: 'chtype' has not been declared chtype ts, chtype bs,  ^ canvas.h:81:36: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:81:47: error: 'chtype' has not been declared chtype tl, chtype tr,  ^ canvas.h:82:36: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:47: error: 'chtype' has not been declared chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:93:40: error: 'chtype' does not name a type void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:94:72: error: 'chtype' does not name a type void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:117:3: error: 'WINDOW' does not name a type WINDOW* m_window;  ^ In file included from window.h:43:0, from frame.cc:46: canvas.h: In destructor 'display::Canvas::~Canvas()': canvas.h:52:22: error: 'm_window' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h:52:30: error: 'delwin' was not declared in this scope ~Canvas() { delwin(m_window); }  ^ canvas.h: In member function 'void display::Canvas::refresh()': canvas.h:54:94: error: 'm_window' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h:54:102: error: 'wnoutrefresh' was not declared in this scope void refresh() { wnoutrefresh(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::refresh_std()': canvas.h:55:94: error: 'stdscr' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h:55:100: error: 'wnoutrefresh' was not declared in this scope static void refresh_std() { wnoutrefresh(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::redraw()': canvas.h:56:91: error: 'm_window' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h:56:99: error: 'redrawwin' was not declared in this scope void redraw() { redrawwin(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::redraw_std()': canvas.h:57:91: error: 'stdscr' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h:57:97: error: 'redrawwin' was not declared in this scope static void redraw_std() { redrawwin(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::resize(int, int)': canvas.h:59:89: error: 'm_window' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h:59:103: error: 'wresize' was not declared in this scope void resize(int w, int h) { wresize(m_window, h, w); }  ^ canvas.h: In static member function 'static void display::Canvas::resize_term(int, int)': canvas.h:62:96: error: 'resizeterm' was not declared in this scope static void resize_term(int x, int y) { resizeterm(y, x); }  ^ canvas.cc:104:23: error: 'nodelay' was not declared in this scope nodelay(stdscr, TRUE);  ^ canvas.cc:105:22: error: 'keypad' was not declared in this scope keypad(stdscr, TRUE);  ^ canvas.cc:106:13: error: 'curs_set' was not declared in this scope curs_set(0);  ^ canvas.cc: In static member function 'static void display::Canvas::cleanup()': canvas.cc:116:9: error: 'noraw' was not declared in this scope noraw();  ^ canvas.cc:117:10: error: 'endwin' was not declared in this scope endwin();  ^ Makefile:388: recipe for target 'manager.o' failed make[3]: *** [manager.o] Error 1 make[3]: *** Waiting for unfinished jobs.... canvas.h: In static member function 'static void display::Canvas::resize_term(std::pair)': canvas.h:63:113: error: 'resizeterm' was not declared in this scope static void resize_term(std::pair dim) { resizeterm(dim.second, dim.first); }  ^ canvas.h: In member function 'unsigned int display::Canvas::get_x()': canvas.h:65:106: error: 'm_window' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ canvas.h:65:120: error: 'getyx' was not declared in this scope unsigned int get_x() { int x, __UNUSED y; getyx(m_window, y, x); return x; }  ^ In file included from window.h:43:0, from frame.cc:46: canvas.h: In member function 'unsigned int display::Canvas::get_y()': canvas.h:66:97: error: 'm_window' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ canvas.h:66:111: error: 'getyx' was not declared in this scope unsigned int get_y() { int x, y; getyx(m_window, y, x); return y; }  ^ Makefile:388: recipe for target 'canvas.o' failed make[3]: *** [canvas.o] Error 1 canvas.h: In member function 'unsigned int display::Canvas::width()': canvas.h:68:109: error: 'm_window' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h:68:123: error: 'getmaxyx' was not declared in this scope unsigned int width() { int x, __UNUSED y; getmaxyx(m_window, y, x); return x; }  ^ canvas.h: In member function 'unsigned int display::Canvas::height()': canvas.h:69:100: error: 'm_window' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h:69:114: error: 'getmaxyx' was not declared in this scope unsigned int height() { int x, y; getmaxyx(m_window, y, x); return y; }  ^ canvas.h: In member function 'void display::Canvas::move(unsigned int, unsigned int)': canvas.h:71:87: error: 'm_window' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h:71:101: error: 'wmove' was not declared in this scope void move(unsigned int x, unsigned int y) { wmove(m_window, y, x); }  ^ canvas.h: In member function 'void display::Canvas::set_background(int)': canvas.h:74:97: error: 'm_window' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: 'wbkgdset' was not declared in this scope void set_background(chtype c) { return wbkgdset(m_window, c); }  ^ canvas.h:74:108: error: return-statement with a value, in function returning 'void' [-fpermissive] canvas.h: In member function 'void display::Canvas::erase()': canvas.h:76:88: error: 'm_window' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h:76:96: error: 'werase' was not declared in this scope void erase() { werase(m_window); }  ^ canvas.h: In static member function 'static void display::Canvas::erase_std()': canvas.h:77:88: error: 'stdscr' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h:77:94: error: 'werase' was not declared in this scope static void erase_std() { werase(stdscr); }  ^ canvas.h: In member function 'void display::Canvas::print_border(int, int, int, int, int, int, int, int)': canvas.h:82:89: error: 'm_window' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h:82:129: error: 'wborder' was not declared in this scope chtype bl, chtype br) { wborder(m_window, ls, rs, ts, bs, tl, tr, bl, br); }  ^ canvas.h: In member function 'void display::Canvas::print_char(int)': canvas.h:93:92: error: 'm_window' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h:93:104: error: 'waddch' was not declared in this scope void print_char(const chtype ch) { waddch(m_window, ch); }  ^ canvas.h: In member function 'void display::Canvas::print_char(unsigned int, unsigned int, int)': canvas.h:94:94: error: 'm_window' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h:94:112: error: 'mvwaddch' was not declared in this scope void print_char(unsigned int x, unsigned int y, const chtype ch) { mvwaddch(m_window, y, x, ch); }  ^ canvas.h: In member function 'void display::Canvas::set_attr(unsigned int, unsigned int, unsigned int, int, int)': canvas.h:96:112: error: 'm_window' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h:96:148: error: 'mvwchgat' was not declared in this scope void set_attr(unsigned int x, unsigned int y, unsigned int n, int attr, int color) { mvwchgat(m_window, y, x, n, attr, color, NULL); }  ^ canvas.h: In member function 'void display::Canvas::set_default_attributes(int)': canvas.h:98:100: error: 'm_window' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h:98:114: error: 'wattrset' was not declared in this scope void set_default_attributes(int attr) { (void)wattrset(m_window, attr); }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_width()': canvas.h:104:109: error: 'stdscr' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h:104:121: error: 'getmaxyx' was not declared in this scope static int get_screen_width() { int x, __UNUSED y; getmaxyx(stdscr, y, x); return x; }  ^ canvas.h: In static member function 'static int display::Canvas::get_screen_height()': canvas.h:105:100: error: 'stdscr' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h:105:112: error: 'getmaxyx' was not declared in this scope static int get_screen_height() { int x, y; getmaxyx(stdscr, y, x); return y; }  ^ canvas.h: In static member function 'static void display::Canvas::do_update()': canvas.h:109:90: error: 'doupdate' was not declared in this scope static void do_update() { doupdate(); }  ^ canvas.h: In member function 'void display::Canvas::print(const char*, ...)': canvas.h:122:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:124:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:124:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:125:13: error: 'm_window' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:125:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:126:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ canvas.h: In member function 'void display::Canvas::print(unsigned int, unsigned int, const char*, ...)': canvas.h:131:3: error: 'va_list' was not declared in this scope va_list arglist;  ^ canvas.h:133:12: error: 'arglist' was not declared in this scope va_start(arglist, str);  ^ canvas.h:133:24: error: 'va_start' was not declared in this scope va_start(arglist, str);  ^ canvas.h:134:9: error: 'm_window' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:134:23: error: 'wmove' was not declared in this scope wmove(m_window, y, x);  ^ canvas.h:135:54: error: 'vw_printw' was not declared in this scope vw_printw(m_window, const_cast(str), arglist);  ^ canvas.h:136:17: error: 'va_end' was not declared in this scope va_end(arglist);  ^ Makefile:388: recipe for target 'frame.o' failed make[3]: *** [frame.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src/display' Makefile:508: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3/src' Makefile:376: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3' Makefile:307: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-p2p/rtorrent-0.9.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/rtorrent-0.9.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/rtorrent-0.9.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-p2p/rtorrent-0.9.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/rtorrent-0.9.3/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3' * S: '/var/tmp/portage/net-p2p/rtorrent-0.9.3/work/rtorrent-0.9.3'