**** BEGIN LOGGING AT Sat Nov 01 03:00:00 2014 Nov 01 08:19:57 hi, how can I include ncurses, intel which is the host in my case for arm target, so that my tool works during the make run depending on it? Nov 01 09:06:23 lpapp: you mean ncurses-native? Nov 01 09:06:53 nerdboy: sure Nov 01 09:07:05 I tried both without success. :/ Nov 01 09:08:00 tried how exactly? Nov 01 09:08:41 ah, you were not here yesterday when I was explaining it. Nov 01 09:08:50 DEPENDS += ncurses and DEPENDS += ncurses-native Nov 01 09:09:56 that pull either one into the build before your compile phase Nov 01 09:10:31 er, before the compile task runs Nov 01 09:11:43 shouldn't that be alright? Nov 01 09:12:02 but if that's in your own recipe you don't need += Nov 01 09:12:18 just set DEPEND = whatever you need Nov 01 09:12:48 alright for what? if you depend on ncurses, then it's necessary Nov 01 09:13:08 s/you/your code/ Nov 01 09:13:58 ncurses-native, yes. Nov 01 09:14:02 well, not the code, the makefile. Nov 01 09:14:16 foo: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory Nov 01 09:14:49 and it should be DEPENDS = "foo bar baz" Nov 01 09:14:52 bitbake foo -e | grep ^DEPENDS Nov 01 09:14:52 DEPENDS="icecc-create-env-native virtual/arm-polatis-linux-gnueabi-gcc virtual/arm-polatis-linux-gnueabi-compilerlibs virtual/libc busybox libpam openssl ncurses-native base-passwd shadow-native shadow-sysroot shadow" Nov 01 09:15:01 should be alright Nov 01 09:15:43 so is this a bug in Yocto or just difficult to use stuff? Either way, how to get around to it Nov 01 09:16:02 native recipes get installed in native sysroot Nov 01 09:16:21 make sure you tell the linker where to look Nov 01 09:17:46 Yocto should tell I guess since it is generic stuff. Nov 01 09:18:23 yocto does unless the makefile overrides it Nov 01 09:18:50 don't set CFLAGS/LDFLAGS/etc in your makefile Nov 01 09:19:16 you mean do not set linker path specific stuff Nov 01 09:19:53 i mean local makefile should use MYFLAGS instead Nov 01 09:20:10 or += Nov 01 09:20:13 if you do it overrides the build env Nov 01 09:22:27 += will not. Nov 01 09:23:08 actually, this is not even the linker path Nov 01 09:23:17 it is just running a tool that happens to require the library.; Nov 01 09:23:24 it is likely LD_LIBRARY_PATH instead. Nov 01 09:23:29 so instead of linking, it is loading. Nov 01 09:25:42 runtime linker needs a pointer too Nov 01 09:27:22 and we do not seem to set LD_LIBRARY_PATH, so why does Yocto not figure out? Nov 01 09:34:01 i just know it's past my bedtime... Nov 01 09:34:34 nerdboy: lol Nov 01 09:36:20 nerdboy: good night, man! Nov 01 09:36:32 and thank you for your time. Nov 01 09:37:21 np Nov 01 09:37:31 night/morning **** ENDING LOGGING AT Sun Nov 02 03:00:00 2014