Hi, All:
I follow whatever is written on readme. Try to build debian image. It fails on ncurse. any clue? I also tried on ubuntu-15.10. it has the same error. Nay suggestion?
bitbake core-image-minimal
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |######################################################################################################################| ETA: 00:00:00
Loaded 1412 entries from dependency cache.
Parsing recipes: 100% |####################################################################################################################| ETA: 00:00:00
Parsing of 1396 .bb files complete (948 cached, 448 parsed). 2101 targets, 294 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "x86_64-debian-linux"
MACHINE = "qemux86-64"
DISTRO = "debian"
DISTRO_VERSION = "8.0"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta = "jethro:f117786f2447d86810d2b8078f125363632c7662"
meta-debian = "jethro:0ea6e8ba778c8c37a171a9f4433b1622d12aea14"
gcc -DHAVE_CONFIG_H -I. -I/home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/git/ncurses -I../include -I/home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/git/ncurses/../include -I/home/shawlu/work/iosxe-oc/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/shawlu/work/iosxe-oc/build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -DNDEBUG -isystem/home/shawlu/work/iosxe-oc/build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/git/ncurses/base/lib_insch.c -o ../obj_s/lib_insch.o
| In file included from /home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/git/ncurses/curses.priv.h:325:0,
| from ../ncurses/lib_gen.c:19:
| _10713.c:843:15: error: expected ')' before 'int'
| ../include/curses.h:1631:56: note: in definition of macro 'mouse_trafo'
| #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
| ^
| Makefile:1859: recipe for target '../obj_s/lib_gen.o' failed
| make[1]: *** [../obj_s/lib_gen.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/build/narrowc/ncurses'
| Makefile:135: recipe for target 'libs' failed
| make: *** [libs] Error 2
| make: Leaving directory '/home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/build/narrowc'
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/shawlu/work/iosxe-oc/build/tmp/work/x86_64-linux/ncurses-native/git-r1/temp/log.do_compile.4466)
ERROR: Task 349 (virtual:native:/home/shawlu/work/iosxe-oc/poky/meta-debian/recipes-debian/ncurses/
ncurses_debian.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 145 tasks of which 141 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:native:/home/shawlu/work/iosxe-oc/poky/meta-debian/recipes-debian/ncurses/
ncurses_debian.bb, do_compile
Thanks,
shawn