AnsweredAssumed Answered

buildroot

Question asked by dlh on Jun 26, 2012
Latest reply on Jun 26, 2012 by sonic

Hi,

 

I am having some trouble with buildroot. I tried following the instructions on:

http://docs.blackfin.uclinux.org/doku.php?id=buildroot:build-system:build_a_target

 

but they appear to be outdated, e.g.:

 

dan@laptop:~/git/buildroot2$ git checkout -b 2012R1-BETA1-BF60X remotes/origin/2012R1-BETA1-BF60X

fatal: git checkout: updating paths is incompatible with switching branches.

Did you intend to checkout 'remotes/origin/2012R1-BETA1-BF60X' which can not be resolved as commit?

 

So, as a test, I tried to build the bf537 deconf, but got this error:

 

PATH="/home/dan/git/buildroot/output/host/bin:/home/dan/git/buildroot/output/host/usr/bin:/home/dan/git/buildroot/output/host/usr/sbin/:/opt/ros/diamondback/ros/bin:/opt/itpp/bin:/opt/jack2/bin:/opt/ffado/bin:/opt/ogre/bin:/opt/fftw/bin:/opt/cuda/bin:/opt/cruise/bin:/opt/gearbox/bin:/opt/orca/bin:/opt/stage/bin:/opt/player/bin:/opt/opencv/bin:/opt/vosm/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/qt/bin:/opt/qtcreator/bin:/opt/plplot/bin:/home/dan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" PERLLIB="/home/dan/git/buildroot/output/host/usr/lib/perl"  /usr/bin/make -j2  -C /home/dan/git/buildroot/output/build/bonnie-1.94/

make[1]: Entering directory `/home/dan/git/buildroot/output/build/bonnie-1.94'

/home/dan/git/buildroot/output/host/usr/bin/bfin-linux-uclibc-g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope   -c bon_csv2html.cpp

/home/dan/git/buildroot/output/host/usr/bin/bfin-linux-uclibc-g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope   -c generate_randfile.cpp

In file included from generate_randfile.cpp:2:

/usr/include/stdlib.h:424: error: ISO C++ 1998 does not support ‘long long’

make[1]: *** [generate_randfile.o] Error 1

make[1]: *** Waiting for unfinished jobs....

In file included from /usr/include/math.h:71,

                 from bon_csv2html.cpp:6:

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

In file included from /usr/include/math.h:94,

                 from bon_csv2html.cpp:6:

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

In file included from /usr/include/math.h:145,

                 from bon_csv2html.cpp:6:

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:327: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

/usr/include/bits/mathcalls.h:332: error: ISO C++ 1998 does not support ‘long long’

make[1]: *** [bon_csv2html.o] Error 1

make[1]: Leaving directory `/home/dan/git/buildroot/output/build/bonnie-1.94'

make: *** [/home/dan/git/buildroot/output/build/bonnie-1.94/.stamp_built] Error 2

Outcomes