libvisio compile on Red Hat Enterprise 6.3 (CentOS 6)

Leon Kofman leon.kofman at gmail.com
Thu Feb 7 10:50:08 PST 2013


Hello,

I am trying to compile libvisio on Red Hat Enterprise 6.3, which is
equivalent of CentOS 6, and I am running into a problem.  I found some
rpm's with compiled versions of the software, but it requires a newer
version of glibc then what's offered by Red Hat.

Compile errors are below.

I would appreciate any help.
Leon.

[root at norenttools libvisio-0.0.24]# make
make  all-recursive
make[1]: Entering directory `/var/depot/libvisio-0.0.24'
Making all in src
make[2]: Entering directory `/var/depot/libvisio-0.0.24/src'
Making all in lib
make[3]: Entering directory `/var/depot/libvisio-0.0.24/src/lib'
  CXX    libvisio_utils.lo
  CXX    VisioDocument.lo
  CXX    VSD5Parser.lo
  CXX    VSD6Parser.lo
  CXX    VSDInternalStream.lo
  CXX    VSDSVGGenerator.lo
  CXX    VSDCharacterList.lo
  CXX    VSDContentCollector.lo
cc1plus: warnings being treated as errors
VSDStyles.h: In member function âvirtual void
libvisio::VSDContentCollector::collectShape(unsigned int, unsigned int,
unsigned int, unsigned int, unsigned int, unsigned int, unsigned int,
unsigned int)â:
VSDStyles.h:86: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
VSDStyles.h:87: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
VSDStyles.h:159: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
.
..
.
.
VSDStyles.h:416: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
VSDStyles.h:417: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
VSDStyles.h:420: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
VSDStyles.h:421: error: dereferencing pointer â<anonymous>â does break
strict-aliasing rules
/usr/include/boost/optional/optional.hpp:422: note: initialized from here
make[3]: *** [VSDContentCollector.lo] Error 1
make[3]: Leaving directory `/var/depot/libvisio-0.0.24/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/depot/libvisio-0.0.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/depot/libvisio-0.0.24'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130207/a771d73d/attachment.html>


More information about the LibreOffice mailing list