Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
Date:
Tue, 4 Feb 2025 17:03:13 +0100
that mate was very smart
showed i used static link opt
i removed it and it worked
thxx to them and uu all , ++
On Tue, Feb 4, 2025, 4:58 PM microsuxx <fxmbsw7@gmail.com> wrote:
> could it be -static is used
> a mate showed it shows that err then
>
> On Tue, Feb 4, 2025, 4:53 PM microsuxx <fxmbsw7@gmail.com> wrote:
>
>> On Tue, Feb 4, 2025, 4:39 PM Chet Ramey <chet.ramey@case.edu> wrote:
>>
>>> On 2/4/25 10:34 AM, microsuxx wrote:
>>> > hm both hello worked , without target and with .
>>>
>>> Make sure you run your tests using the same compiler and options as
>>> configure.
>>>
>>
>> i used just -std=gnu23
>> also i tried with target .. same errors
>> other stuff compiles
>> i mean i dont compile so much but -lc not found .. seems some ldpath or
>> so issue
>>
>> can u go thru my ./configure options , if together they are valid ?
>>
>> ./configure CFLAGS=' -std=gnu23 ' MALLOC_DEBUG= DEBUG=
>> MULTIPLE_COPROCS=1 --enable-array-variables --enable-bang-history
>> --enable-bash-source-fullpath-default --enable-brace-expansion
>> --enable-casemod-attributes --with-gnu-ld --with-bash-malloc
>> --with-curses --enable-year2038 --disable-rpath
>> --enable-threads=isoc+posix --enable-static-link
>> --enable-translatable-strings --enable-single-help-strings
>> --enable-separate-helpfiles --enable-select --enable-readline
>> --enable-prompt-string-decoding --enable-progcomp
>> --enable-process-substitution --enable-net-redirections --enable-multibyte
>> --enable-job-control --enable-history --enable-help-builtin
>> --enable-glob-asciiranges-default --enable-function-import
>> --enable-extended-glob-default --enable-extended-glob
>> --enable-dparen-arithmetic --enable-directory-stack
>> --enable-direxpand-default --enable-coprocesses --enable-cond-regexp
>> --enable-cond-command --enable-command-timing --enable-casemod-expansions
>>
>> >> configure:18508: gcc -o conftest -std=gnu23 -target
>>> >> aarch64-linux-android34 -static conftest.c >&5
>>> >> ld.lld: error: unable to find library -lc
>>>
>>> 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 small printf hello world worked , as also the configure previous lots
>> of output
>>
>> never seen that error before
>> helloworld with -lc compiles and prints to stdout
>>
>> there was a LD_PRELOAD of some termux so , i unset that , still same ..
>>
>> --
>>> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>>> ``Ars longa, vita brevis'' - Hippocrates
>>> Chet Ramey, UTech, CWRU chet@case.edu
>>> http://tiswww.cwru.edu/~chet/
>>>
>>