bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses 5.7 compile failure when crosscompiling to arm


From: Bernhard Rosenkraenzer
Subject: Re: ncurses 5.7 compile failure when crosscompiling to arm
Date: Tue, 09 Mar 2010 13:18:01 +0100
User-agent: BlankPage Webmail/0.3-beta

On Tue, 09 Mar 2010 12:56:04 +0100, Bernhard Rosenkraenzer
<address@hidden> wrote:
> Hi,
> ncurses 5.7 compiles and works fine on x86_64, but when I try to
> crosscompile it to armv6j-unknown-linux-gnueabi, I get (while compiling
a
> tool that is run on the x86_64 build machine, not even while building
the
> arm lib):
> 
> gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -I./../include
> -I../include   ./tinfo/make_hash.c
> In file included from ./tinfo/make_hash.c:40:0:
> ../ncurses/curses.priv.h:559:2: error: expected specifier-qualifier-list
> before ‘cchar_t’

Comparing what happens when I build it for x86_64 with what happens when
building it for arm, the difference that matters is that the native build
passes -D_GNU_SOURCE while the crosscompiler build doesn't. If I force
-D_GNU_SOURCE into BUILD_CCFLAGS, the problem goes away.

ttyl
bero




reply via email to

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