On 3 October 2017 at 10:40, Ricardo Ribalda Delgado < [email protected]> wrote:
> Without this patch bitbake cannot find sdl-config > > ERROR: OE-core's config sanity checker detected a potential > misconfiguration. > Either fix the cause of this error or at your own risk disable the checker > (see sanity.conf). > Following is the list of potential problems / advisories: > > libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found > in PATH. Please either install it, or configure qemu not to require sdl. > First, wrong list, this should go to openembedded-core@ instead of -devel@. qemu's configure prefers pkg-config instead of sdl-config, so why doesn't that work for you? Also note that we don't recommend using host libsdl via ASSUME_PROVIDED because it's a nightmare to link when we've a sysroot full of ABI-incompatible libraries. For example if I try to build on Debian 9 qemu-native with the host SDL it fails at configure time: | ERROR: User requested feature sdl | configure was not able to find it. | Install SDL devel That's a lie, it found it but it wouldn't link: //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `resize_term@NCURSESW_5.3.20021019' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `COLORS@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `raw@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `ESCDELAY@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `nodelay@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `initscr@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `nonl@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `wrefresh@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `wmove@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `getmouse@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `curs_set@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `newterm@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `waddnstr@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `mouseinterval@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `wgetch@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `LINES@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `curscr@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `init_pair@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `start_color@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `stdscr@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `noraw@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `wattr_on@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `COLS@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `noecho@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `keypad@NCURSES_TINFO_5.0.19991023' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `ungetch@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `mousemask@NCURSESW_5.1.20000708' //usr/lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `endwin@NCURSESW_5.1.20000708' The host libcaca is linking to the sysroot libncurses, and they're not compatible. This is why we moved away from using ASSUME_PROVIDED=libsdl-native in December 2015. Ross -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
