[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4-1.4.17 make error
From: |
Eric Blake |
Subject: |
Re: m4-1.4.17 make error |
Date: |
Tue, 8 Mar 2022 09:46:07 -0600 |
User-agent: |
NeoMutt/20211029-383-c6e293 |
On Tue, Mar 08, 2022 at 05:55:11PM +0300, Seniha Çelik wrote:
> Hello,
> I am facing with a problem, so I need some help.
> I am using Ubuntu 20.04 and trying to install m4-1.4.17. I need the older
> version to run a program, that's why I am using this version.
Why do you need the older version? This issue has been fixed in newer
releases.
> gcc -I. -g -O2 -MT freadahead.o -MD -MP -MF $depbase.Tpo -c -o
> freadahead.o freadahead.c &&\
> mv -f $depbase.Tpo $depbase.Po
> freadahead.c: In function 'freadahead':
> freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your
> platform! Look at the definition of fflush, fread, ungetc on your system,
> then report this to bug-gnulib."
This is a known issue with mixing old m4 builds with newer libc. The
solution is to either build with older libc, or to upgrade to a newer
build of m4, or to manually backport the fix from newer m4 on top of
your older m4 build (if you can even come up with a convincing reason
why newer m4 will not work for your needs).
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org