help-bash
[Top][All Lists]
Advanced

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

Re: bash devel configure error , cannot compute sizeof (size_t) , termux


From: microsuxx
Subject: Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
Date: Tue, 4 Feb 2025 17:17:49 +0100

if i do add -j to that make install
and install dir not ../../usr , just ../..

http://0x0.st/8Kts.e.2

some errors .. seems some headers missing .. ?

On Tue, Feb 4, 2025, 5:13 PM microsuxx <fxmbsw7@gmail.com> wrote:

> also why is it doing -DDEBUG
> i want that off ..
>
> On Tue, Feb 4, 2025, 5:12 PM microsuxx <fxmbsw7@gmail.com> wrote:
>
>> ah i have no idea mate , ..
>>
>> however it worked ( a bit more ) after static link opt removed
>> did make -j , was very fast
>> then i did make install DESTDIR=../../usr
>> long , without -j
>> but then i got an error :
>>
>> gcc -c   -I. -I../.. -I../.. -I../../lib -I../../include -I.
>> -I../../lib/intl -I/data/data/com.termux/files/home/bash/lib/intl
>> -DHAVE_CONFIG_H -DSHELL -DDEBUG  -std=gnu23    anonfile.c
>> anonfile.c:111:8: error: use of undeclared identifier 'memfd_create'
>>   111 |   fd = memfd_create ("anonopen",
>> MFD_NOEXEC_SEAL);
>> |        ^
>>
>> On Tue, Feb 4, 2025, 5:06 PM Greg Wooledge <greg@wooledge.org> wrote:
>>
>>> On Tue, Feb 04, 2025 at 16:53:41 +0100, microsuxx wrote:
>>> > On Tue, Feb 4, 2025, 4:39 PM Chet Ramey <chet.ramey@case.edu> wrote:
>>> > > I suspect you don't have any static libraries on your system.
>>> > >
>>> >
>>> > ~/bash $ find 2>&- / -name libc.so\*
>>> >  /system/lib64/hwasan/libc.so
>>> >  /system/lib64/libc.so
>>> > /system/lib/libc.so
>>>
>>> The static library is usually named libc.a ("a" stands for "archive",
>>> as these are traditionally produced by ar(1)).
>>>
>>>


reply via email to

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