This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BEagleBoardXM - Aptina's Camera Driver

Hi,

I've been trying to install the Aptina's driver for the BeagleBoard, but i've had some troubles.

As the instructions say, I downloaded the toolchain from the Angstrom distribution's page.

http://www.angstrom-distribution.org/toolchains/

angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

*-qte-4.6.3.tar.bz version because with the other file (without -qte-4.6.3), the qmake2 instructions wasn't recognized by the system

   I untar the file as told, source the direction and ran "qmake2", it was ok, until I ran the commands from the instructions for the driver's installation (https://github.com/Aptina/BeagleBoard-xM/blob/master/MT9P031/Angstrom/README_MT9P031.txt):

        $make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- distclean

        $make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_cam_defconfig

        $make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- menuconfig

The first one worked fine, but when i typed the second instruction, I received this message:

root@te52:/home/adair/Descargas/beagleboard-validation-linux# make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- distclean


root@te52:/home/adair/Descargas/beagleboard-validation-linux# make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_cam_defconfig


  HOSTCC  scripts/basic/fixdep
In file included from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/string.h:428:0,
                 from scripts/basic/fixdep.c:111:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/bits/string3.h:133:1: aviso: no hay un prototipo previo para ‘stpncpy’ [-Wmissing-prototypes]
In file included from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/stdlib.h:882:0,
                 from scripts/basic/fixdep.c:112:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/bits/stdlib.h:65:1: aviso: no hay un prototipo previo para ‘ptsname_r’ [-Wmissing-prototypes]
In file included from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/netinet/in.h:24:0,
                 from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/stdint.h:153:0: aviso: se redefinió "__INT64_C" [activado por defecto]
<interno>:0:0: nota: esta es la ubicación de la definición previa
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/stdint.h:154:0: aviso: se redefinió "__UINT64_C" [activado por defecto]
<interno>:0:0: nota: esta es la ubicación de la definición previa
fixdep: /us: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 2
make: *** [scripts_basic] Error 2


root@te52:/home/adair/Descargas/beagleboard-validation-linux#

At first, I though it was the toolchain's version i installed, so i downloaded the recommended by the instructions: angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

After i downloaded and untar this file, I sourced it, and ran QMAKE2 but an error appear telling me that couln't find QMAKE2 on /usr/local/angstrom/arm/bin   ... But I reached for this file and it do was there

That's the reason I went back with the x86_64 toolchain's version. But as I told before, an error appeared.

Any idea??

Thanks