http://bugs.openzim.org/show_bug.cgi?id=17
Summary: lzma_check is undefined in lzmastream.h Product: openZIM Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: zimlib AssignedTo: tommi@tntnet.org ReportedBy: asaf.bartov@gmail.com CC: dev-l@openzim.org Estimated Hours: 0.0
Using latest SVN zim:
In file included from cluster.cpp:41: ../include/zim/lzmastream.h:52: error: 'lzma_check' has not been declared
I have the latest liblzma-dev from the Debian repository, and lzma_check is defined in lzma/check.h, but lzma.h does not include it. lzma/check.h does not want to be included directly (there's an #error directive to prevent it).
It seems Tommi was developing against a different (older?) version of lzma and was using an internal struct. Is this exposed differently now?
http://bugs.openzim.org/show_bug.cgi?id=17
Emmanuel Engelhart emmanuel@engelhart.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |emmanuel@engelhart.org
--- Comment #1 from Emmanuel Engelhart emmanuel@engelhart.org 2010-03-25 10:27:27 CET --- I have tried to compile zimlib against the last dev. version of xz (http://tukaani.org/xz/xz-4.999.9beta.tar.bz2) and I can't reproduce the issue. lzma/check.h is always successfully included in lzma.h.
http://bugs.openzim.org/show_bug.cgi?id=17
Tommi Mäkitalo tommi@tntnet.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #2 from Tommi Mäkitalo tommi@tntnet.org 2010-03-27 10:27:00 CET --- Me too. I just tested with xz 4.999.9beta on opensuse. In lzma.h I can find #include "lzma/check.h", so it should be ok. If you can offer more information please reopen this bug.