Re: Raspberry Pi
- Posted by ghaberek (admin) Mar 28, 2017
- 2082 views
irv said...
irv@Mint17 ~ $ locate cdefs.h /usr/include/x86_64-linux-gnu/sys/cdefs.h /usr/src/virtualbox-guest-4.3.36/include/VBox/cdefs.h /usr/src/virtualbox-guest-4.3.36/include/iprt/cdefs.h /var/lib/dkms/virtualbox-guest/4.3.36/build/include/VBox/cdefs.h /var/lib/dkms/virtualbox-guest/4.3.36/build/include/iprt/cdefs.h
Interesting. Linux Mint 17 is based on Ubuntu 14.04, so there are probably some packaging differences between the two versions.
It looks like you need to install libc6-dev-armhf-cross, which I probably got automatically and you did not.
This is what I show on my system:
$ locate cdefs.h /usr/arm-linux-gnueabihf/include/sys/cdefs.h /usr/include/x86_64-linux-gnu/sys/cdefs.h $ dpkg -l | grep armhf ii cpp-arm-linux-gnueabihf 4:5.3.1-1ubuntu1 amd64 GNU C preprocessor (cpp) for the armhf architecture ii gcc-arm-linux-gnueabihf 4:5.3.1-1ubuntu1 amd64 GNU C compiler for the armhf architecture ii libasan2-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all AddressSanitizer -- a fast memory error detector ii libatomic1-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all support library providing __atomic built-in functions ii libc6-armhf-cross 2.23-0ubuntu3cross1 all GNU C Library: Shared libraries (for cross-compiling) ii libc6-dev-armhf-cross 2.23-0ubuntu3cross1 all GNU C Library: Development Libraries and Header Files (for cross-compiling) ii libgcc-5-dev-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all GCC support library (development files) ii libgcc1-armhf-cross 1:5.4.0-6ubuntu1~16.04.4cross1 all GCC support library ii libgomp1-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all GCC OpenMP (GOMP) support library ii libstdc++6-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all GNU Standard C++ Library v3 ii libubsan0-armhf-cross 5.4.0-6ubuntu1~16.04.4cross1 all UBSan -- undefined behaviour sanitizer (runtime) ii linux-libc-dev-armhf-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)
-Greg