[Top][All Lists]

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

Re: Problematic redefinition of 'stat' and 'fstat'

From: Paul Eggert
Subject: Re: Problematic redefinition of 'stat' and 'fstat'
Date: Wed, 25 Dec 2019 12:13:54 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 12/24/19 7:34 PM, Eli Zaretskii wrote:
> I will have to hack Gnulib
> by hand in each project I'll need to compile.

'./configure --disable-largefile' should suffice, so you shouldn't need to
change the source. I just tried that on Ubuntu 18.04.3 when configuring a 32-bit
Emacs, and it built an Emacs with 32-bit off_t that worked fine (except it
failed on large files of course).

Or you can do what Bruno suggested, and use gnulib-tool with
'--avoid=largefile'. This will omit m4/largefile.m4 so that even plain
'./configure' should work the way you want.

reply via email to

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