Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi All,

When i tried a build with debugging then I ran into the error as is in the file build-error. The attached patch solved the error.

--
Greetings,
Rob Snelders

[ build CUT ] i18npool_test_breakiterator
[ build CUT ] i18npool_test_characterclassification
[ build CUT ] o3tl_tests
[ build CUT ] sax_cppunit
[ build CUT ] sot_test_sot
[ build CUT ] svl_lngmisc
[ build CUT ] tools_test
[ build LNK ] Library/libvcllo.so
[ build MOD ] connectivity
[ build MOD ] lingucomponent
[ build JAR ] OOoRunnerLight
[ build JAR ] commonwizards
[ build MOD ] xmloff
[ build CHK ] basebmp
[ build CHK ] basegfx
[ build CHK ] binaryurp
[ build CHK ] i18npool
[ build CHK ] o3tl
[ build CHK ] sax
[ build CHK ] sot
[ build CHK ] svl
[ build CHK ] tools
[ build CXX ] dbaccess/source/core/api/BookmarkSet.cxx
[ build CXX ] dbaccess/source/core/api/CacheSet.cxx
/home/projecten/libo_20120610/workdir/unxlngx6/CxxObject/vcl/generic/glyphs/gcach_layout.o: In 
function `IcuFontFromServerFont::getFontTable(unsigned int) const':
/home/projecten/libo_20120610/vcl/generic/glyphs/gcach_layout.cxx:237: undefined reference to 
`ServerFont::GetFontFileName() const'
collect2: ld gaf exit-status 1 terug
make[2]: *** [/home/projecten/libo_20120610/workdir/unxlngx6/LinkTarget/Library/libvcllo.so] Fout 1
make[2]: *** Wachten op onvoltooide taken...

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 512 occurred while making /home/projecten/libo_20120610/tail_build/prj

 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error and/or test your fix:

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

make tail_build.clean # not recommended, this will re-build almost everything
make tail_build

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Fout 1
make[1]: Map '/home/projecten/libo_20120610' wordt verlaten
make: *** [dev-install] Fout 2
From 23e04f1d5c6cf642a2abf41fbe13d107004a9a76 Mon Sep 17 00:00:00 2001
From: Rob Snelders <programming@ertai.nl>
Date: Mon, 11 Jun 2012 08:19:37 +0200
Subject: [PATCH] fix build error

Change-Id: Ie43fb139af5cfd3a4386fb21ad71d1adeb85bd82
---
 vcl/generic/glyphs/gcach_layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index 40c7a33..5326299 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -234,7 +234,7 @@ const void* IcuFontFromServerFont::getFontTable( LETag nICUTableTag ) const
 #if OSL_DEBUG_LEVEL > 1
     fprintf(stderr,"IcuGetTable(\"%s\") => %p\n", pTagName, pBuffer);
     int mnHeight = mrServerFont.GetFontSelData().mnHeight;
-    const char* pName = mrServerFont.GetFontFileName()->getStr();
+    const char* pName = mrServerFont.GetFontFileName().getStr();
     fprintf(stderr,"font( h=%d, \"%s\" )\n", mnHeight, pName );
 #endif
     return (const void*)pBuffer;
-- 
1.7.9.5


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.