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: Wed, 5 Feb 2025 00:29:27 +0100

i had bit experience
.. i had getpwent and memfd err

i changed to std gnu89
cause it said c99 and later memfd create non working implict

so with gnu89
then there was just one getpwent error left
in complete.c line 2399

complete.c:2399:16: error: incompatible integer to pointer conversion
assigning to 'struct passwd *' from 'int'
[-Wint-conversion]                                          2399 |   while
(entry = getpwent ())                          |                ^
~~~~~~~~~~~

i changed to

while (entry = (struct passwd *) getpwent ())

and it compiled

is this valid ? whats these error/s about

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

> is isoc threads any useful
>
> On Tue, Feb 4, 2025, 5:17 PM microsuxx <fxmbsw7@gmail.com> wrote:
>
>> 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]