AnsweredAssumed Answered

yocto-poky ncurses-native build failure

Question asked by Miles Bintz on Apr 8, 2014
Latest reply on Apr 10, 2014 by Daiane Angolini

I'm trying to use the fsl-community-bsp to build an iMX28 EVK SDK but yocto/poky/OE is failing relatively early on in the host build.  ncurses-native install is failing with the following:

 

sh ../edit_man.sh normal installing /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/image/nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/sysroots/x86_64-linux/usr/share/man /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/man terminfo.5 *-config.1 /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/man/*.[0-9]*

In file included from ../include/unctrl.h:54:0,

                 from ../include/curses.h:1752,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/progs.priv.h:110,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/tic.c:41:

../include/curses.h:1865:1: error: conflicting types for 'MEVENT'

../include/curses.h:1670:1: note: previous declaration of 'MEVENT' was here

../include/curses.h:1868:32: error: conflicting types for 'getmouse'

../include/curses.h:1673:32: note: previous declaration of 'getmouse' was here

../include/curses.h:1869:32: error: conflicting types for 'ungetmouse'

../include/curses.h:1674:32: note: previous declaration of 'ungetmouse' was here

../include/curses.h:1874:32: error: expected ')' before 'int'

../include/curses.h:1915:31: error: conflicting types for '_tracemouse'

../include/curses.h:1720:31: note: previous declaration of '_tracemouse' was here

In file included from ../include/unctrl.h:54:0,

                 from ../include/curses.h:1752,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/progs.priv.h:110,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/tic.c:41:

../include/curses.h:1965:2: error: #endif without #if

In file included from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/progs.priv.h:110:0,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/tic.c:41:

../include/curses.h:1865:1: error: conflicting types for 'MEVENT'

../include/curses.h:1865:1: note: previous declaration of 'MEVENT' was here

../include/curses.h:1868:32: error: conflicting types for 'getmouse'

../include/curses.h:1673:32: note: previous declaration of 'getmouse' was here

../include/curses.h:1869:32: error: conflicting types for 'ungetmouse'

../include/curses.h:1674:32: note: previous declaration of 'ungetmouse' was here

../include/curses.h:1874:32: error: expected ')' before 'int'

../include/curses.h:1915:31: error: conflicting types for '_tracemouse'

../include/curses.h:1720:31: note: previous declaration of '_tracemouse' was here

../include/curses.h:1965:2: error: #endif without #if

In file included from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/progs.priv.h:111:0,

                 from /nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/tic.c:41:

/nfs/Project/SBT/fsl-community-bsp/build.imx28evk.mfb/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/progs/../include/term_entry.h:54:2: error: unknown type name 'TERMTYPE'


My host is Ubuntu 12.04.3.  I've searched for that error elsewhere and it seems I'm the first to come across it.  Anyone know how to coerce OE to proceed?  Or to roll back to an older ncurses?

 

Thanks!

--Miles

Outcomes