[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 16:34:31 +0100 |
hm both hello worked , without target and with .
#include <stdio.h>
void main( ) {
printf( "hello world\n" ) ;
}
ran configure again without target , but same error no size t found
ill look in termux apt pkg libs
On Tue, Feb 4, 2025, 1:21 PM Greg Wooledge <greg@wooledge.org> wrote:
> On Tue, Feb 04, 2025 at 07:32:31 +0100, microsuxx wrote:
> > last lines of ./configure stdout
> >
> > checking for sig_atomic_t... yes
> > checking size of char... 0
> > checking size of short... 0
> > checking size of int... 0
> > checking size of long... 0
> > checking size of char *... 0
> > checking size of size_t... configure: error: in
> > '/data/data/com.termux/files/home/bash':
> > configure: error: cannot compute sizeof (size_t)
> > See 'config.log' for more details
> >
> > the full output is @ http://0x0.st/8K_c.err
>
> > the full config.log is @ http://0x0.st/8K_A.log
>
> The relevant error is up higher in the config.log, not at the end.
>
> configure:18490: result: 0
> configure:18502: checking size of size_t
> configure:18508: gcc -o conftest -std=gnu23 -target
> aarch64-linux-android34 -static conftest.c >&5
> ld.lld: error: unable to find library -lc
> gcc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> configure:18508: $? = 1
> configure: program exited with status 1
>
> > did i miss install some dev headers or smth
>
> That's a reasonable guess, but here it turns out you're missing the
> development libraries or something for your -target.
>
> In your situation, I would start out with an extremely basic "hello world"
> program, and try to compile that for your -target. Once you can do that,
> then try to ./configure again.
>
> #include <stdio.h>
> int main(int argc, char *argv[])
> {
> printf("hello world\n");
> return 0;
> }
>
>
- bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, Greg Wooledge, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list,
microsuxx <=
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, Chet Ramey, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, Greg Wooledge, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list, microsuxx, 2025/02/04
- Prev by Date:
Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
- Next by Date:
Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
- Previous by thread:
Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
- Next by thread:
Re: bash devel configure error , cannot compute sizeof (size_t) , termux , long --opts list
- Index(es):