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


On Wed, Dec 12, 2012 at 3:04 AM, Caolán McNamara <caolanm@redhat.com> wrote:
On Tue, 2012-12-11 at 21:50 +0100, John Smith wrote:
But I still get this error message (in 'make setup_native')

undefined reference to `__gcov_init'

Does anyone have an idea of what might be going on here ?

Does
- LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage'
+ LDFLAGS+='-fprofile-arcs -lgcov' CFLAGS+='-fprofile-arcs
-ftest-coverage'

make any difference ?

Sadly, explicitly adding -glcov (-fprofile-arcs implies -lgcov) does
not make a difference. I still get this :





Making:    getuid.so
No winegcc present, not building msiinfo...
Entering /usr/local/src/libreoffice/setup_native/source/win32/wintools/msimsp

../../unxlngi6.pro/slo/getuid.o: In function `_GLOBAL__sub_I_65535_0_getuid.c':
getuid.c:(.text.startup+0x1a): undefined reference to `__gcov_init'
../../unxlngi6.pro/slo/getuid.o:(.data.rel+0x10): undefined reference
to `__gcov_merge_add'
collect2: error: ld returned 1 exit status
dmake:  Error code 1, while making '../../unxlngi6.pro/lib/getuid.so'

-----------------------------------------------------------------------
        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

No winegcc present, not building msimsp...
  internal build errors:

ERROR: error 65280 occurred while making
/usr/local/src/libreoffice/setup_native/scripts/source

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

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

make .clean # optional
make

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [setup_native] Error 1
make[1]: Leaving directory `/usr/local/src/libreoffice'
make: *** [setup_native] Error 2
[root@localhost libreoffice]#

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.