On 10/20/16 4:05 AM, Burton, Ross wrote: > > On 20 October 2016 at 09:30, Koen Kooi <koen.k...@linaro.org > <mailto:koen.k...@linaro.org>> wrote: > > +BBCLASSEXTEND = "native nativesdk" > > > The native form fails on Debian stable hosts: > > | make[2]: Entering directory > '/data/poky-master/tmp-glibc/work/x86_64-linux/libbsd-native/0.8.3-r0/build/src' > | ../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H > -I.. -isystem ../../libbsd-0.8.3/include/bsd/ -include ../config.h > -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT > -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include > -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 > -pipe -c -o getentropy.lo ../../libbsd-0.8.3/src/getentropy.c > | x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I.. -isystem > ../../libbsd-0.8.3/include/bsd/ -include ../config.h -DLIBBSD_OVERLAY > -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT > -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include > -isystem/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 > -pipe -c ../../libbsd-0.8.3/src/getentropy.c -fPIC -DPIC -o > .libs/getentropy.o > | In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0, > | from ../../libbsd-0.8.3/src/getentropy_linux.c:29, > | from ../../libbsd-0.8.3/src/getentropy.c:28: > | ../../libbsd-0.8.3/src/getentropy_linux.c: In function > ‘getentropy_getrandom’: > | ../../libbsd-0.8.3/src/getentropy_linux.c:203:17: error: ‘__NR_getrandom’ > undeclared (first use in this function) > | ret = syscall(SYS_getrandom, buf, len, 0); > | ^ > | ../../libbsd-0.8.3/src/getentropy_linux.c:203:17: note: each undeclared > identifier is reported only once for each function it appears in > > It's not wrong - there's no actual definition of __NR_getrandom in > /usr/include here.
Do you have libbsd pre-installed on your build system ? > > Ross > > -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core