
On Fri, Jan 06, 2012 at 12:35:28AM -0500, Peter Barada wrote:
On 01/06/2012 12:21 AM, Qiao.HelloWorld@gmail.com wrote:
2012/1/6 John Rigbyjohn.rigby@linaro.org
*u-boot/spl/u-boot-spl.lds:1: syntax error make[1]: *** [/home/qian/Desktop/u-boot/spl/u-boot-spl] Error 1 make[1]: Leaving directory `/home/qian/Desktop/u-boot/spl' make: *** [spl/u-boot-spl.bin] Error 2*
I’ve check the file ‘spl/u-boot-spl.lds’, the first line is a comment as below: *// add PandaTest Configuration*
Change that comment to a C style one like /* ..... */ and I think the problem will go away.
But it doesn't work...because the 'spl/u-boot-spl.lds' is automatically generated while building. Even if I modify this file, it will be replaced again when I rebuild.
However, thanks for your reply.
Then dig through the build log to find where the file is generated from and modify that file...
I've run into a problem similar to this before. You probably have a C++ style comment inside your board configuration file. Change it to a C style comment instead, and the problem goes away.
Ira