Compile error

Michael Stahl mstahl at redhat.com
Wed Sep 24 06:28:53 PDT 2014


On 24/09/14 09:20, Miklos Vajna wrote:
> On Tue, Sep 23, 2014 at 06:28:59PM +0200, Mihály Palenik <palenik.mihaly at gmail.com> wrote:
>> workdir/UnpackedTarball/langtag/liblangtag/.libs/liblangtag.a(liblangtag_la-lt-utils.o):
>> In function `lt_getenv':
>> workdir/UnpackedTarball/langtag/liblangtag/lt-utils.c:57: undefined
>> reference to `__secure_getenv'

apparently glibc 2.17 changed this function from __secure_getenv to
secure_getenv; liblangtag has a configure check for both of these; if
you upgraded your glibc and then do an incremental build it will
probably use the "wrong" symbol because liblangtag is not rebuilt, and
fail...

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708061
https://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv

> Does it happen if you do 'make clean && make', not just 'make'?

actually "make liblangtag.clean" should be enough to fix it.




More information about the LibreOffice mailing list