Modify

Opened 4 years ago

Closed 3 years ago

#15132 closed defect (moved_to_github)

rtorrent does not build (BCM47xx/53xx w Arm CPU)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I'm an amateur developer so bare with me if it's a simple mistake. Seems to have a ncurses related issue. Libncurses5-dev is installed.

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"
attributes.h:67:32: error: 'A_NORMAL' was not declared in this scope
attributes.h:68:32: error: 'A_BOLD' was not declared in this scope
attributes.h:69:32: error: 'A_REVERSE' was not declared in this scope
In file included from canvas.cc:44:0:
canvas.h:73:3: error: 'chtype' does not name a type
canvas.h:74:38: error: 'chtype' has not been declared
canvas.h:79:36: error: 'chtype' has not been declared
canvas.h:79:47: error: 'chtype' has not been declared
canvas.h:80:36: error: 'chtype' has not been declared
canvas.h:80:47: error: 'chtype' has not been declared
canvas.h:81:36: error: 'chtype' has not been declared
canvas.h:81:47: error: 'chtype' has not been declared
canvas.h:82:36: error: 'chtype' has not been declared
canvas.h:82:47: error: 'chtype' has not been declared
canvas.h:93:40: error: 'chtype' does not name a type
canvas.h:93:47: error: ISO C++ forbids declaration of 'ch' with no type [-fpermissive]
canvas.h:94:72: error: 'chtype' does not name a type
canvas.h:94:79: error: ISO C++ forbids declaration of 'ch' with no type [-fpermissive]
canvas.h:117:3: error: 'WINDOW' does not name a type
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.h:52:30: error: 'delwin' was not declared in this scope
canvas.h: In member function 'void display::Canvas::refresh()':
canvas.h:54:94: error: 'm_window' was not declared in this scope
canvas.h:54:102: error: 'wnoutrefresh' was not declared in this scope
canvas.h: In static member function 'static void display::Canvas::refresh_std()':
canvas.h:55:94: error: 'stdscr' was not declared in this scope
canvas.h:55:100: error: 'wnoutrefresh' was not declared in this scope
canvas.h: In member function 'void display::Canvas::redraw()':
canvas.h:56:91: error: 'm_window' was not declared in this scope
canvas.h:56:99: error: 'redrawwin' was not declared in this scope
canvas.h: In static member function 'static void display::Canvas::redraw_std()':
canvas.h:57:91: error: 'stdscr' was not declared in this scope
canvas.h:57:97: error: 'redrawwin' was not declared in this scope
canvas.h: In member function 'void display::Canvas::resize(int, int)':
canvas.h:59:89: error: 'm_window' was not declared in this scope
canvas.h:59:103: error: 'wresize' was not declared in this scope
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
canvas.h: In static member function 'static void display::Canvas::resize_term(std::pair<int, int>)':
canvas.h:63:113: error: 'resizeterm' was not declared in this scope
canvas.h: In member function 'unsigned int display::Canvas::get_x()':
canvas.h:65:106: error: 'm_window' was not declared in this scope
canvas.h:65:120: error: 'getyx' was not declared in this scope
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
canvas.h:66:111: error: 'getyx' was not declared in this scope
canvas.h: In member function 'unsigned int display::Canvas::width()':
canvas.h:68:109: error: 'm_window' was not declared in this scope
canvas.h:68:123: error: 'getmaxyx' was not declared in this scope
canvas.h: In member function 'unsigned int display::Canvas::height()':
canvas.h:69:100: error: 'm_window' was not declared in this scope
canvas.h:69:114: error: 'getmaxyx' was not declared in this scope
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
canvas.h:71:101: error: 'wmove' was not declared in this scope
canvas.h: In member function 'void display::Canvas::set_background(int)':
canvas.h:74:97: error: 'm_window' was not declared in this scope
canvas.h:74:108: error: 'wbkgdset' was not declared in this scope
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
canvas.h:76:96: error: 'werase' was not declared in this scope
canvas.h: In static member function 'static void display::Canvas::erase_std()':
canvas.h:77:88: error: 'stdscr' was not declared in this scope
canvas.h:77:94: error: 'werase' was not declared in this scope
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
canvas.h:82:129: error: 'wborder' was not declared in this scope
canvas.h: In member function 'void display::Canvas::print_char(int)':
canvas.h:93:92: error: 'm_window' was not declared in this scope
canvas.h:93:104: error: 'waddch' was not declared in this scope
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
canvas.h:94:112: error: 'mvwaddch' was not declared in this scope
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
canvas.h:96:148: error: 'mvwchgat' was not declared in this scope
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
canvas.h:98:114: error: 'wattrset' was not declared in this scope
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
canvas.h:104:121: error: 'getmaxyx' was not declared in this scope
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
canvas.h:105:112: error: 'getmaxyx' was not declared in this scope
canvas.h: In static member function 'static void display::Canvas::do_update()':
canvas.h:109:90: error: 'doupdate' was not declared in this scope
canvas.h: In member function 'void display::Canvas::print(const char*, ...)':
canvas.h:122:3: error: 'va_list' was not declared in this scope
canvas.h:122:11: error: expected ';' before 'arglist'
canvas.h:124:12: error: 'arglist' was not declared in this scope
canvas.h:124:24: error: 'va_start' was not declared in this scope
canvas.h:125:13: error: 'm_window' was not declared in this scope
canvas.h:125:54: error: 'vw_printw' was not declared in this scope
canvas.h:126:17: error: 'va_end' was not declared in this scope
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
canvas.h:131:11: error: expected ';' before 'arglist'
canvas.h:133:12: error: 'arglist' was not declared in this scope
canvas.h:133:24: error: 'va_start' was not declared in this scope
canvas.h:134:9: error: 'm_window' was not declared in this scope
canvas.h:134:23: error: 'wmove' was not declared in this scope
canvas.h:135:54: error: 'vw_printw' was not declared in this scope
canvas.h:136:17: error: 'va_end' was not declared in this scope
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'
canvas.cc:51:38: error: 'newwin' was not declared in this scope
canvas.cc:53:7: error: 'm_window' was not declared in this scope
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
canvas.cc:59:25: error: 'wresize' was not declared in this scope
canvas.cc:60:23: error: 'mvwin' was not declared in this scope
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
canvas.cc:67:10: error: expected ';' before 'org_attr'
canvas.cc:69:13: error: 'm_window' was not declared in this scope
canvas.cc:69:24: error: 'org_attr' was not declared in this scope
canvas.cc:69:49: error: 'wattr_get' was not declared in this scope
canvas.cc:72:76: error: 'wattr_set' was not declared in this scope
canvas.cc: In static member function 'static void display::Canvas::initialize()':
canvas.cc:101:11: error: 'initscr' was not declared in this scope
canvas.cc:102:7: error: 'raw' was not declared in this scope
canvas.cc:103:10: error: 'noecho' was not declared in this scope
canvas.cc:104:11: error: 'stdscr' was not declared in this scope
canvas.cc:104:19: error: 'TRUE' was not declared in this scope
canvas.cc:104:23: error: 'nodelay' was not declared in this scope
canvas.cc:105:22: error: 'keypad' was not declared in this scope
canvas.cc:106:13: error: 'curs_set' was not declared in this scope
canvas.cc: In static member function 'static void display::Canvas::cleanup()':
canvas.cc:116:9: error: 'noraw' was not declared in this scope
canvas.cc:117:10: error: 'endwin' was not declared in this scope
make[6]: *** [canvas.o] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [/home/alex/openwrt/openwrt/build_dir/target-arm_cortex-a9_uClibc-0.9.33.2_eabi/rtorrent-0.9.3-git/.built] Error 2
make[1]: *** [package/feeds/packages/rtorrent/compile] Error 2
make: *** [package/rtorrent/compile] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:2 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

rtorrent is maintained here: https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.