I am using the buildroot from ADI (https://sourceforge.net/projects/adi-buildroot/files/2012R2/2012R2-RC5/blackfin-buildroot-2012R2-RC5.tar.bz2/download), with 2012R2-RC2 toolchain.
I run "make bf609-ezkit_defconfig"
After some time, I notice errors shown in err_log1 (attached). (p.s: I used to get more errors like error: expected ‘)’ before ‘__stat_loc’...(as shown in err_log0)., but they are gone after I write "sudo apt-get upgrade" before "make".
I then write "sudo make", and the compilation continues, but eventually reaches errors as shown in err_log2.
Any idea why the first error is bypassed after doing "make" as sudo? I think there are definitions that are not visible to ordinary user..(??)
How to get rid of such compilation errors?