libvisio compile on Red Hat Enterprise 6.3 (CentOS 6)

Leon Kofman leon.kofman at gmail.com
Thu Feb 7 21:08:03 PST 2013


Thank you for your reply.

By using CPPFLAGS="Wno-strict-aliasing" I got much further, but still
getting stuck but in a different spot:

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
  CXX    VSDFieldList.lo
  CXX    VSDGeometryList.lo
  CXX    VSDOutputElementList.lo
  CXX    VSDPages.lo
  CXX    VSDParagraphList.lo
  CXX    VSDParser.lo
  CXX    VSDShapeList.lo
  CXX    VSDStencils.lo
  CXX    VSDStringVector.lo
  CXX    VSDStyles.lo
  CXX    VSDStylesCollector.lo
  CXX    VSDXMLHelper.lo
  CXX    VSDZipStream.lo
  CXX    VDXParser.lo
  CXX    VSDXMLParserBase.lo
  CXX    VSDXMLTokenMap.lo
  CXX    VSDXParser.lo
  CXXLD  libtokenmap.la
  CXXLD  libvisio-0.0.la
make[3]: Leaving directory `/var/depot/libvisio-0.0.24/src/lib'
Making all in conv
make[3]: Entering directory `/var/depot/libvisio-0.0.24/src/conv'
Making all in raw
make[4]: Entering directory `/var/depot/libvisio-0.0.24/src/conv/raw'
  CXX    vsd2raw.o
  CXXLD  vsd2raw
vsd2raw.o: In function `main':
/var/depot/libvisio-0.0.24/src/conv/raw/vsd2raw.cpp:251: undefined
reference to `WPXFileStream::WPXFileStream(char const*)'
/var/depot/libvisio-0.0.24/src/conv/raw/vsd2raw.cpp:266: undefined
reference to `WPXFileStream::~WPXFileStream()'
/var/depot/libvisio-0.0.24/src/conv/raw/vsd2raw.cpp:266: undefined
reference to `WPXFileStream::~WPXFileStream()'
collect2: ld returned 1 exit status
make[4]: *** [vsd2raw] Error 1
make[4]: Leaving directory `/var/depot/libvisio-0.0.24/src/conv/raw'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/depot/libvisio-0.0.24/src/conv'
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

Any additional advice you can offer?

Again, much appreciated.

Thanks,
Leon.


On Thu, Feb 7, 2013 at 12:12 PM, Caolán McNamara <caolanm at redhat.com> wrote:

> On Thu, 2013-02-07 at 10:50 -0800, Leon Kofman wrote:
> > Hello,
> >
> >
> > I am trying to compile libvisio on Red Hat Enterprise 6.3, which is
> > equivalent of CentOS 6
> >
> > cc1plus: warnings being treated as errors
>
> Try with a ./configure --disable-werror (and/or add some CPPFLAGS to add
> -Wno-strict-aliasing)
>
> C.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130207/c666b03b/attachment.html>


More information about the LibreOffice mailing list