You are not logged in.

#1 2013-10-27 15:16:33

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 219

KTorrent compilation error

Building CXX object libktcore/CMakeFiles/ktcore.dir/dbus/dbusgroup.o                                                                             
[ 27%] Building CXX object libktcore/CMakeFiles/ktcore.dir/dbus/dbussettings.o                                                                   
/tmp/yaourt-tmp/abs-ktorrent/src/ktorrent-4.3.1/libktcore/dbus/dbustorrent.cpp:496:7: warning: unused parameter ‘file_index’ [-Wunused-parameter]
  bool DBusTorrent::removeStream(uint file_index) 
       ^
[ 27%] Building CXX object libktcore/CMakeFiles/ktcore.dir/dbus/dbustorrentfilestream.o
[ 27%] Building CXX object libktcore/CMakeFiles/ktcore.dir/gui/centralwidget.o                                                                   
[ 27%] Building CXX object libktcore/CMakeFiles/ktcore.dir/gui/tabbarwidget.o                                                                    
[ 28%] Building CXX object libktcore/CMakeFiles/ktcore.dir/gui/extender.o                                                                        
[ 28%] Building CXX object libktcore/CMakeFiles/ktcore.dir/plugin/pluginmanager.o                                                                
[ 28%] Building CXX object libktcore/CMakeFiles/ktcore.dir/plugin/pluginactivity.o                                                               
[ 28%] Building CXX object libktcore/CMakeFiles/ktcore.dir/settings.o                                                                            
/tmp/yaourt-tmp/abs-ktorrent/src/ktorrent-4.3.1/libktcore/plugin/pluginmanager.cpp:131:7: warning: unused parameter ‘pi’ [-Wunused-parameter]
  void PluginManager::unload(const KPluginInfo & pi,int idx)
       ^
Linking CXX shared library ../lib/libktcore.so
[ 28%] Built target ktcore
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

x86_64

Last edited by Perfect Gentleman (2013-10-28 00:16:59)

Offline

#2 2013-10-27 17:36:54

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 5,133

Re: KTorrent compilation error

You didn't show us the error. Post more of the output.

Offline

#3 2013-10-27 23:55:48

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 219

Re: KTorrent compilation error

that's all. i replaced /libktcore/plugin/pluginmanager.cpp and /libktcore/plugin/pluginmanager.h with files from git, and package compiled fine.

Offline

Board footer

Powered by FluxBB