checking how to run the C preprocessor... /home/peko/scratch/host/usr/bin/powerpc-linux-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/peko/scratch/host/usr/bin/powerpc-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/peko/scratch/host/usr/bin/powerpc-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/peko/scratch/host/usr/bin/powerpc-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/peko/scratch/host/usr/bin/powerpc-linux-gcc static flag -static works... yes checking if /home/peko/scratch/host/usr/bin/powerpc-linux-gcc supports -c -o file.o... yes checking if /home/peko/scratch/host/usr/bin/powerpc-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/peko/scratch/host/usr/bin/powerpc-linux-gcc linker (/home/peko/scratch/host/usr/bin/powerpc-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for dlopen in -ldl... yes checking for GLIB... yes checking for DBUS... yes checking for LIBNL3... yes configure: creating ./config.status config.status: creating Makefile config.status: creating include/version.h config.status: creating neard.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-nls, --enable-ipv6, --disable-traces >>> neard 0.8 Building PATH="/home/peko/scratch/host/bin:/home/peko/scratch/host/usr/bin:/home/peko/scratch/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/peko/bin" PERLLIB="/home/peko/scratch/host/usr/lib/perl" /usr/bin/make -j16 -C /home/peko/scratch/build/neard-0.8/ make[1]: Entering directory `/home/peko/scratch/build/neard-0.8' /usr/bin/make --no-print-directory all-am GEN include/near/types.h GEN include/near/log.h GEN include/near/plugin.h GEN include/near/adapter.h GEN include/near/tag.h GEN include/near/ndef.h GEN include/near/tlv.h GEN include/near/setting.h GEN include/near/device.h GEN include/near/version.h GEN include/near/dbus.h GEN src/builtin.h CC src/netlink.o CC src/ndef.o CC src/bluetooth.o CC src/tlv.o CC src/agent.o CC gdbus/mainloop.o CC gdbus/object.o CC gdbus/polkit.o CC gdbus/watch.o CC plugins/nfctype1.o CC plugins/nfctype2.o In file included from src/tlv.c:26:0: src/near.h:26:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. plugins/nfctype2.c:32:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. In file included from src/netlink.c:37:0: src/near.h:26:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. make[2]: *** [src/netlink.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/tlv.o] Error 1 make[2]: *** [plugins/nfctype2.o] Error 1 CC plugins/mifare.o plugins/mifare.c:32:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. In file included from src/ndef.c:35:0: src/near.h:26:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. In file included from src/agent.c:35:0: src/near.h:26:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. make[2]: *** [src/ndef.o] Error 1 make[2]: *** [plugins/mifare.o] Error 1 In file included from src/bluetooth.c:32:0: src/near.h:26:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. make[2]: *** [src/agent.o] Error 1 make[2]: *** [src/bluetooth.o] Error 1 plugins/nfctype1.c:32:23: fatal error: linux/nfc.h: No such file or directory compilation terminated. make[2]: *** [plugins/nfctype1.o] Error 1 make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/peko/scratch/build/neard-0.8' make: *** [/home/peko/scratch/build/neard-0.8/.stamp_built] Error 2