u-boot compilation issue

737 views
Skip to first unread message

Pradeep Dayama

unread,
Jun 27, 2018, 7:59:11 AM6/27/18
to SysPlay's Inside Linux
Hello all,

i m trying to build the u-boot, stuck at a point. please find the screen shot of the error.

downloaded u-boot git repository
git clone git://git.denx.de/u-boot.git

building it using command
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_boneblack_defconfig

This might be a very silly issue, since i ma newbie to linux porting

Thanks,
Pradeep
Screenshot from 2018-06-27 17-23-30.png

Sajith Kumar

unread,
Jun 27, 2018, 8:00:57 AM6/27/18
to inside...@googlegroups.com
You need to install bison

--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pradeep Dayama

unread,
Jun 27, 2018, 8:32:59 AM6/27/18
to SysPlay's Inside Linux
Hello Sajith,

Thanks for reply

i have installed bison and again built the u-boot. still getting issue.
please find attachment

thanks
pradeep
Screenshot from 2018-06-27 18-02-32.png

Sajith Kumar

unread,
Jun 27, 2018, 9:16:39 AM6/27/18
to inside...@googlegroups.com
Now its failing for flex package...you have to install it also

Pradeep Dayama

unread,
Jun 27, 2018, 9:34:24 AM6/27/18
to SysPlay's Inside Linux
GCC cross compiler version seems to be less than 6

got this issue

*** Your GCC is older than 6.0 and is not supported
arch/arm/config.mk:66: recipe for target 'checkgcc6' failed
make: *** [checkgcc6] Error 1


also when i check the arm-linux-gnueabihf --version. it doesn't work

Regards,
Pradeep

Anil Kumar Pugalia

unread,
Jun 28, 2018, 1:51:49 AM6/28/18
to inside...@googlegroups.com

You have to check for arm-linux-gnueabihf-gcc --version

Regards
Anil
Passion: http://sysplay.in (Playing with Systems)

Pradeep Dayama

unread,
Jun 28, 2018, 11:08:28 AM6/28/18
to SysPlay's Inside Linux
Hello anil,

thanks for reply

by checking the version using arm-linux-gnueabihf-gcc --version, seems like i have 5.4

tried upating the version but seems like stuck into a issue. install using following command

tar xf gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz
export CC=`pwd`/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

but while confirming the installation of gcc-6-arm cross compiler using

$ ${CC}gcc --version

getting error as {CC}gcc command not found

seems like there is some issue in
export CC=`pwd`/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

Regards,
Pradeep

Anil Kumar Pugalia

unread,
Jun 29, 2018, 5:43:43 AM6/29/18
to inside...@googlegroups.com

Just do: echo ${CC}. What does it print?

Regards
Anil
Passion: http://sysplay.in (Playing with Systems)
Reply all
Reply to author
Forward
0 new messages