Dunno if I'm arriving too late ;) Anyway:

El 21/05/15 a las 05:49, Matteo Campanelli escribió:
> Hi there,
> after
>  several minutes of compilation I got the following error(s). Any ideas?
> [Manual dirty solutions like insert the related #include macros did not
> work]

Since you mention that adding the proper #include did not work and this
is a fresh Ubuntu install, I wonder if the package providing string.h is
missing. Check the presence of libc6-dev.

> 
> // beginning error message from make
> [SOMEPATH]/include/rtl/ustring.hxx:188:27: error: ‘strlen’ was not
> declared in this scope
> In file included from [SOMEPATH]/include/xmlreader/pad.hxx:27:0,
>                  from [SOMEPATH]/include/xmlreader/xmlreader.hxx:35,
>                  from [SOMEPATH]/include/vcl/builder.hxx:19,
>                  from [SOMEPATH]/include/vcl/dialog.hxx:25,
>                  from [SOMEPATH]/editeng/source/editeng/editdbg.cxx:22:
> [SOMEPATH]/include/rtl/strbuf.hxx: In instantiation of ‘typename
> rtl::internal::ConstCharArrayDetector<T, rtl::OStringBuffer&>::Type
> rtl::OStringBuffer::append(T&) [with T = const char [12]; typename
> rtl::internal::ConstCharArrayDetector<T, rtl::OStringBuffer&>::Type =
> rtl::OStringBuffer&]’:
> [SOMEPATH]/editeng/source/editeng/editdbg.cxx:70:41:   required from here
> [SOMEPATH]/include/rtl/strbuf.hxx:477:27: error: ‘strlen’ was not
> declared in this scope
>          assert( strlen( literal ) == internal::ConstCharArrayDetector<
> T >::size - 1 );
> 
> // end errors
> 

Best,
-- 
Jacobo Aragunde
Software Engineer at Igalia
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to