LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-31-2010, 07:49 AM   #1
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
Unable to build qBittorrent with libtorrent-rasterbar 0.15.2 and zlib 1.2.5


Hello, Im trying to build qBittorrent on my slack, using qBittorrent 2.4.0, with libtorrent-rasterbar 0.15.2 and zlib 1.2.5, but it fails:

Quote:
de/QtDBus -I/usr/lib/qt/include -Iqtsingleapp -Ilineedit/src -I. -I. -o createtorrent_imp.o createtorrent_imp.cpp
In file included from /usr/include/libtorrent/hasher.hpp:41,
from /usr/include/libtorrent/storage.hpp:59,
from createtorrent_imp.cpp:45:
/usr/include/zlib.h:1583: error: declaration of C function 'off_t gzseek64(void*, off_t, int)' conflicts with
/usr/include/zlib.h:1567: error: previous declaration 'off64_t gzseek64(void*, off64_t, int)' here
/usr/include/zlib.h:1584: error: declaration of C function 'off_t gztell64(void*)' conflicts with
/usr/include/zlib.h:1568: error: previous declaration 'off64_t gztell64(void*)' here
/usr/include/zlib.h:1585: error: declaration of C function 'off_t gzoffset64(void*)' conflicts with
/usr/include/zlib.h:1569: error: previous declaration 'off64_t gzoffset64(void*)' here
/usr/include/zlib.h:1586: error: declaration of C function 'uLong adler32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1570: error: previous declaration 'uLong adler32_combine64(uLong, uLong, off64_t)' here
/usr/include/zlib.h:1587: error: declaration of C function 'uLong crc32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1571: error: previous declaration 'uLong crc32_combine64(uLong, uLong, off64_t)' here
make[1]: *** [createtorrent_imp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/kng/qbittorrent-2.4.0/src'
make: *** [sub-src-make_default] Error 2
cd src/ && make -f Makefile
make[1]: Entering directory `/tmp/kng/qbittorrent-2.4.0/src'
g++ -c -O2 -march=i486 -mtune=i686 -O2 -march=i486 -mtune=i686 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -D_REENTRANT -Wall -W -DVERSION=\"v2.4.0\" -DVERSION_MAJOR=2 -DVERSION_MINOR=4 -DVERSION_BUGFIX=0 -DVERSION_TYPE=NORMAL -DQT_NO_DEBUG_OUTPUT -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/lib/qt/include/QtCore -I/usr/lib/qt/include/QtNetwork -I/usr/lib/qt/include/QtGui -I/usr/lib/qt/include/QtXml -I/usr/lib/qt/include/QtDBus -I/usr/lib/qt/include -Iqtsingleapp -Ilineedit/src -I. -I. -o main.o main.cpp
g++ -c -O2 -march=i486 -mtune=i686 -O2 -march=i486 -mtune=i686 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -D_REENTRANT -Wall -W -DVERSION=\"v2.4.0\" -DVERSION_MAJOR=2 -DVERSION_MINOR=4 -DVERSION_BUGFIX=0 -DVERSION_TYPE=NORMAL -DQT_NO_DEBUG_OUTPUT -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/lib/qt/include/QtCore -I/usr/lib/qt/include/QtNetwork -I/usr/lib/qt/include/QtGui -I/usr/lib/qt/include/QtXml -I/usr/lib/qt/include/QtDBus -I/usr/lib/qt/include -Iqtsingleapp -Ilineedit/src -I. -I. -o createtorrent_imp.o createtorrent_imp.cpp
In file included from /usr/include/libtorrent/hasher.hpp:41,
from /usr/include/libtorrent/storage.hpp:59,
from createtorrent_imp.cpp:45:
/usr/include/zlib.h:1583: error: declaration of C function 'off_t gzseek64(void*, off_t, int)' conflicts with
/usr/include/zlib.h:1567: error: previous declaration 'off64_t gzseek64(void*, off64_t, int)' here
/usr/include/zlib.h:1584: error: declaration of C function 'off_t gztell64(void*)' conflicts with
/usr/include/zlib.h:1568: error: previous declaration 'off64_t gztell64(void*)' here
/usr/include/zlib.h:1585: error: declaration of C function 'off_t gzoffset64(void*)' conflicts with
/usr/include/zlib.h:1569: error: previous declaration 'off64_t gzoffset64(void*)' here
/usr/include/zlib.h:1586: error: declaration of C function 'uLong adler32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1570: error: previous declaration 'uLong adler32_combine64(uLong, uLong, off64_t)' here
/usr/include/zlib.h:1587: error: declaration of C function 'uLong crc32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1571: error: previous declaration 'uLong crc32_combine64(uLong, uLong, off64_t)' here
make[1]: *** [createtorrent_imp.o] Error 1
make[1]: Leaving directory `/tmp/kng/qbittorrent-2.4.0/src'
make: *** [sub-src-make_default] Error 2
It also fails if I try version 2.3.1.
I do have the impression is zlib problem... but don't know for sure.
Does anyone know whats the issue?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
QBittorrent init.d script gully300 Linux - Server 1 08-17-2010 05:29 AM
unable to build compress Zlib sherimm Linux - Software 2 03-02-2009 09:20 AM
no matching comp found: client zlib none, zlib@openssh.com lost connection jorge_ivan Linux - Networking 0 08-14-2006 08:09 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 10:26 AM
Unable to find -lz (zlib). RPM is installed...???? dolvmin Linux - Software 3 12-04-2005 12:25 AM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration