Ticket #1495 (closed defect: worksforme)

Opened 16 months ago

Last modified 9 months ago

rtorrent-0.8.3 fails to compile on nslu2

Reported by: curian@curian.hu Owned by: rakshasa
Priority: normal Milestone:
Component: rtorrent Version:
Severity: blocker Keywords:
Cc:

Description

armeb-softfloat-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=armv5t -mtune=xscale -O2 -fno-strict-aliasing -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include  -c -o window_file_list.o window_file_list.cc
window_file_list.cc:63: error: expected constructor, destructor, or type conversion before "wstring_width"
window_file_list.cc:63: error: expected `,' or `;' before "wstring_width"
window_file_list.cc: In member function `virtual void display::WindowFileList::redraw()':
window_file_list.cc:174: error: `wstring_width' undeclared (first use this function)
window_file_list.cc:174: error: (Each undeclared identifier is reported only once for each function it appears in.)

the compiler is a gcc-3.4.4 do you need any other information regarding the system?

Attachments

Change History

Changed 16 months ago by anonymous

Apparently your C++ library does not define std::wstring. If it needs a specific include file to support that, add it and post here. If it simply does not support it... lobby the library devs to support it.

Changed 16 months ago by hlidea.gm@gmail.com

add below code can temporarily solve this problem namespace std { typedef std::basic_string <wchar_t> wstring; };

Changed 16 months ago by anonymous

sorry for the delay. the temporary fix works.

Changed 9 months ago by rakshasa

  • status changed from new to closed
  • resolution set to worksforme

Add/Change #1495 (rtorrent-0.8.3 fails to compile on nslu2)

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.