David Whitney wrote:
> I'm following the instructions to the CLFS-Embedded book, and after
> running the instructions to modify the .config file, I get the following
> when running make oldconfig:
>
> .config:131:warning: UCLIBC_HAS_CTYPE_CHECKED creates an inconsistent
> choice state
>
> I am then prompted to choose one of the following:
>
> 1) Do not check -- unsafe (UCLIBC_HAS_CTYPE_UNSAFE)
> 2) Detect and handle appropriately (UCLIBC_HAS_CTYPE_CHECKED)
> 3) Issue a diagnostic and abort() (UCLIBC_HAS_CTYPE_ENFORCED)
>
> I chose option 2 since that is what appears in the CLFS-Embedded
> instructions. Can someone confirm if this is the correct choice, and if
> so, then why the warning in the first place?
>
UCLIBC_HAS_CTYPE_CHECKED is correct.
Root cause::
uClibc defconfig defines the following
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
UCLIBC_HAS_CTYPE_UNSAFE=y
# UCLIBC_HAS_CTYPE_CHECKED is not set
# UCLIBC_HAS_CTYPE_ENFORCED is not set
The script sets UCLIBC_HAS_CTYPE_CHECKED=y and when you run 'make
oldconfig' it notices the dual setting as asks you to choose only one.
> Dave Whitney
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support