Question
I'm trying to compile Tizen IVI following the instructions from the Tizen wiki (https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project) using these commands:
$ git clone git://review.tizen.org/scm/bb/tizen-distro
$ cd tizen-distro
$ git checkout tizen-ivi
$ build_directory_name=build-modello
$ source ./tizen-ivi-init-build-env $build_directory_name
$ bitbake tizen-ivi-Modello-image
However, I'm encountering an error specifically with task 1039. The compilation fails with the following error message:
In file included from /home/sbv/tizen-distro/build-modello/tmp-glibc/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_3019.c:835:15: error: expected ')' before 'int'
../include/curses.h:1594:56: note: in definition of macro 'mouse_trafo'
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
Makefile:1682: recipe for target '../obj_s/lib_gen.o' failed
The complete build log is available in the original question. I can't locate the source of this problem.
Answer
Problem Understanding
The user is experiencing a compilation error while building Tizen IVI using Yocto Project. The error occurs during the ncurses compilation process, specifically with the mouse_trafo macro definition in the curses library.
Solution Methods
-
Check Tizen IVI Status:
- Tizen IVI has been integrated into Automotive Grade Linux (AGL). Consider checking the AGL documentation and resources for updated build instructions.
-
Alternative Support Channel:
- Post your query to the Automotive Grade Linux mailing list for more specific support: https://wiki.automotivelinux.org/start/getting-started
-
Build Environment Verification:
- Ensure your build environment meets all requirements
- Verify you're using compatible versions of all tools
- Consider starting with a clean build directory
Additional Tips
- The error suggests there might be an incompatibility between the ncurses version and the build environment
- Check if there are any known issues with the specific ncurses version (5.9-r15.1) in the Yocto Project
- Consider trying a different version of ncurses if possible