AnsweredAssumed Answered

Uclinux build fail

Question asked by Rishi on Jun 27, 2012
Latest reply on Jul 6, 2012 by Aaronwu

Hi,

   I am trying to build the kernel image using "make BF527-EZKIT_defconfig" after successfully installing tool chain and building u boot.but the following errors are coming

 

[root@Naidu bf527-linux]# make BF527-EZKIT_defconfig

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

/home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: syntax error near unexpected token `$'\r''

'home/drfm/Naidu_blackfin/bf527-linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 4: `ldflags()

#

# configuration written to .config

#

 

the balckfin toolchain i've installed is blackfin-toolchain-2010R1-RC4.i386.rpm

the gcc version iam using is 4.6.3(fedora 16)

kernel is linux 3.1.0

 

Any advice guys!

Thanks.

Outcomes