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:12:51 +0100

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]