bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NCURSES_CH_T definition and ncurses.h in toolchain sys-root include


From: Florian Fainelli
Subject: Re: NCURSES_CH_T definition and ncurses.h in toolchain sys-root include path
Date: Mon, 19 Sep 2016 12:52:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/17/2016 01:50 PM, Thomas Dickey wrote:
> On Tue, Sep 13, 2016 at 05:31:14PM -0700, Florian Fainelli wrote:
>> Hi all,
>>
>> While debugging the following build failure encountered with building
>> libncursesw:
>>
>> arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I../ncurses -I.
>> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/usr/include
>> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/include
>> -I/opt/toolchains/stbgcc-4.8-1.5//usr/include
>> -I/opt/toolchains/stbgcc-4.8-1.5//include  -D_GNU_SOURCE
>> -D_FILE_OFFSET_BITS=64  -DNDEBUG -I. -I../include -Os -pipe
>> -march=armv7-a -mtune=cortex-a15 -fno-caller-saves -mfloat-abi=hard
>> -fpic   --param max-inline-insns-single=1200 -fPIC -c
>> ../ncurses/./tty/hashmap.c -o ../obj_s/hashmap.o
> 
> I am puzzled by this: in the scenarios that I have considered, none of
> them insert these options between "-I." and "I../include":
> 
>       
> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/usr/include
>       
> -I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/include
>       -I/opt/toolchains/stbgcc-4.8-1.5//usr/include
>       -I/opt/toolchains/stbgcc-4.8-1.5//include  -D_GNU_SOURCE
>       -D_FILE_OFFSET_BITS=64  -DNDEBUG
> 
> rather, the options fall after the "-I../include".
> 
> Which patchlevel of ncurses are you building, and what environment and
> command-line options are you using?


patchlevel: 5.9 w/ the following patches applied:

http://git.openwrt.org/?p=15.05/openwrt.git;a=tree;f=package/libs/ncurses/patches;h=044ac197cc84d079b3df5dab43984553e5c3e8f6;hb=HEAD

environment: this is the OpenWrt/LEDE build system

command-line:
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I../ncurses -I.
-I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/usr/include
-I/exp00/fainelli/openwrt/trunk/staging_dir/target-arm-linux-gnueabihf/include
-I/opt/toolchains/stbgcc-4.8-1.5//usr/include
-I/opt/toolchains/stbgcc-4.8-1.5//include  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64  -DNDEBUG -I. -I../include
-I/usr/include/ncursesw -Os -pipe -march=armv7-a -mtune=cortex-a15
-fno-caller-saves -mfloat-abi=hard -fpic   --param
max-inline-insns-single=1200 -fPIC -c ../ncurses/./tty/hashmap.c -o
../obj_s/hashmap.o


> 
> (a copy of config.status and config.log would be helpful)

Of course, attached.

> 


-- 
Florian

Attachment: config.log
Description: Text Data

Attachment: config.status
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]