WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: zlib 1.2.5 bug  (Read 4025 times)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
zlib 1.2.5 bug
« on: June 11, 2010, 05:36:58 AM »
on TC 3.0a6, compiling qbittorent fails with following error message
( all extensions are up to date)
Code: [Select]
In file included from /usr/local/include/libtorrent/hasher.hpp:41,
                 from /usr/local/include/libtorrent/storage.hpp:59,
                 from createtorrent_imp.cpp:44:
/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

related bug report for archlinux
http://bugs.archlinux.org/task/19280
gentoo uses this patch
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch?revision=1.2&view=markup
subject at zlib-devel mail
http://mail.madler.net/pipermail/zlib-devel_madler.net/2010-May/002301.html
another proposed patch that claims gentoo patch will cause problems
http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/zlib/zlib-lfs.patch?rev=1.2
« Last Edit: June 11, 2010, 06:05:36 AM by Arslan S. »

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: zlib 1.2.5 bug
« Reply #1 on: June 11, 2010, 06:58:20 AM »
We are aware of the problem (fyi)