[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs master build failing on RHEL 6.8 [image.c]

From: Paul Eggert
Subject: Re: Emacs master build failing on RHEL 6.8 [image.c]
Date: Tue, 4 Jun 2019 12:17:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/4/19 4:49 AM, Kaushal Modi wrote:
/usr/bin/ld: warning: libgmp.so.3, needed by
/cad/adi/apps/gnu/linux/x86_64/6/lib/libhogweed.so.2, may conflict with

This looks like some other glitch in your build process, something you should fix but unrelated to the GifErrorString problem.

image.o: In function `gif_load':
image.c:(.text+0xa76b): undefined reference to `GifErrorString'
image.c:(.text+0xa7d8): undefined reference to `GifErrorString'
image.c:(.text+0xaefe): undefined reference to `GifErrorString'
collect2: error: ld returned 1 exit status

It looks like your GIFLIB implementation does not match its .h files. image.c calls GifErrorString only if HAVE_GIFERRORSTRING, which is true only if (5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)). So my guess is that your GIFLIB .h files are claiming to be release 5.1 or later, but the implementation predates 5.1. Please look into that. The situation is somewhat tricky as some GIFLIB .h files apparently define incorrect values for GIFLIB_MINOR.

I don't see any recent changes to image.c that would explain your problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]