make error v3.1.10
Posted: Sun Oct 19, 2014 10:02 am
Hi,
I'm trying to build Qbittorrent (v3.1.10) in scratchbox (qemu) to run on a Nokia N810 internet tablet (Maemo Diablo) This is based on Debian/Gnome.
I have built the boost libraries (v1.42.0) libtorrent-rasterbar (v0.15.5) and qt (v4.8.4)
Configure runs without error but when I run make I get the following:
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.10\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=10 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/DIABLO_ARMEL/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/DIABLO_ARMEL/usr/include/qt4/QtCore -I/targets/DIABLO_ARMEL/usr/include/qt4/QtNetwork -I/targets/DIABLO_ARMEL/usr/include/qt4/QtGui -I/targets/DIABLO_ARMEL/usr/include/qt4/QtXml -I/targets/DIABLO_ARMEL/usr/include/qt4/QtDBus -I/targets/DIABLO_ARMEL/usr/include/qt4 -I/targets/DIABLO_ARMEL/usr/include/libtorrent -I/targets/DIABLO_ARMEL/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o torrentcreatordlg.o torrentcreator/torrentcreatordlg.cpp
torrentcreator/torrentcreatordlg.cpp: In member function `void TorrentCreatorDlg::updateOptimalPieceSize()':
torrentcreator/torrentcreatordlg.cpp:234: warning: converting to `qulonglong' from `double'
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.10\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=10 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/DIABLO_ARMEL/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/DIABLO_ARMEL/usr/include/qt4/QtCore -I/targets/DIABLO_ARMEL/usr/include/qt4/QtNetwork -I/targets/DIABLO_ARMEL/usr/include/qt4/QtGui -I/targets/DIABLO_ARMEL/usr/include/qt4/QtXml -I/targets/DIABLO_ARMEL/usr/include/qt4/QtDBus -I/targets/DIABLO_ARMEL/usr/include/qt4 -I/targets/DIABLO_ARMEL/usr/include/libtorrent -I/targets/DIABLO_ARMEL/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o torrentcreatorthread.o torrentcreator/torrentcreatorthread.cpp
torrentcreator/torrentcreatorthread.cpp: In member function `virtual void TorrentCreatorThread::run()':
torrentcreator/torrentcreatorthread.cpp:133: error: call of overloaded `bind(void (*)(int, int, TorrentCreatorThread*), boost::arg<1> (&)(), int, TorrentCreatorThread* const)' is ambiguous
/usr/include/boost/bind/bind.hpp
note: candidates are: boost::_bi::bind_t<R, F, typename boost::_bi::list_av_3<A1, A2, A3>::type> boost::bind(F, A1, A2, A3) [with R = void, F = void (*)(int, int, TorrentCreatorThread*), A1 = boost::arg<1> (*)(), A2 = int, A3 = TorrentCreatorThread*]
/usr/include/boost/bind/bind_cc.hpp:47: note: boost::_bi::bind_t<R, R (*)(B1, B2, B3), typename boost::_bi::list_av_3<A1, A2, A3>::type> boost::bind(R (*)(B1, B2, B3), A1, A2, A3) [with R = void, B1 = int, B2 = int, B3 = TorrentCreatorThread*, A1 = boost::arg<1> (*)(), A2 = int, A3 = TorrentCreatorThread*]
make[1]: *** [torrentcreatorthread.o] Error 1
make[1]: Leaving directory `/home/phil/source_extracted/qbittorrent-3.1.10/src'
make: *** [sub-src-make_default] Error 2
Hope somebody can help
I'm trying to build Qbittorrent (v3.1.10) in scratchbox (qemu) to run on a Nokia N810 internet tablet (Maemo Diablo) This is based on Debian/Gnome.
I have built the boost libraries (v1.42.0) libtorrent-rasterbar (v0.15.5) and qt (v4.8.4)
Configure runs without error but when I run make I get the following:
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.10\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=10 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/DIABLO_ARMEL/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/DIABLO_ARMEL/usr/include/qt4/QtCore -I/targets/DIABLO_ARMEL/usr/include/qt4/QtNetwork -I/targets/DIABLO_ARMEL/usr/include/qt4/QtGui -I/targets/DIABLO_ARMEL/usr/include/qt4/QtXml -I/targets/DIABLO_ARMEL/usr/include/qt4/QtDBus -I/targets/DIABLO_ARMEL/usr/include/qt4 -I/targets/DIABLO_ARMEL/usr/include/libtorrent -I/targets/DIABLO_ARMEL/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o torrentcreatordlg.o torrentcreator/torrentcreatordlg.cpp
torrentcreator/torrentcreatordlg.cpp: In member function `void TorrentCreatorDlg::updateOptimalPieceSize()':
torrentcreator/torrentcreatordlg.cpp:234: warning: converting to `qulonglong' from `double'
g++ -c -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.10\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=10 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/DIABLO_ARMEL/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/DIABLO_ARMEL/usr/include/qt4/QtCore -I/targets/DIABLO_ARMEL/usr/include/qt4/QtNetwork -I/targets/DIABLO_ARMEL/usr/include/qt4/QtGui -I/targets/DIABLO_ARMEL/usr/include/qt4/QtXml -I/targets/DIABLO_ARMEL/usr/include/qt4/QtDBus -I/targets/DIABLO_ARMEL/usr/include/qt4 -I/targets/DIABLO_ARMEL/usr/include/libtorrent -I/targets/DIABLO_ARMEL/usr/include -Iqtnotify -I. -Iqtsingleapp -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o torrentcreatorthread.o torrentcreator/torrentcreatorthread.cpp
torrentcreator/torrentcreatorthread.cpp: In member function `virtual void TorrentCreatorThread::run()':
torrentcreator/torrentcreatorthread.cpp:133: error: call of overloaded `bind(void (*)(int, int, TorrentCreatorThread*), boost::arg<1> (&)(), int, TorrentCreatorThread* const)' is ambiguous
/usr/include/boost/bind/bind.hpp
/usr/include/boost/bind/bind_cc.hpp:47: note: boost::_bi::bind_t<R, R (*)(B1, B2, B3), typename boost::_bi::list_av_3<A1, A2, A3>::type> boost::bind(R (*)(B1, B2, B3), A1, A2, A3) [with R = void, B1 = int, B2 = int, B3 = TorrentCreatorThread*, A1 = boost::arg<1> (*)(), A2 = int, A3 = TorrentCreatorThread*]
make[1]: *** [torrentcreatorthread.o] Error 1
make[1]: Leaving directory `/home/phil/source_extracted/qbittorrent-3.1.10/src'
make: *** [sub-src-make_default] Error 2
Hope somebody can help
