Friday, November 9, 2012

lst was unexpected at this time - Windows batch file

Try removing all the special characters from your directory names where the batch file is placed.

c:\mydir(3.6)\mybat.bat was the case with me. The ( & ) in the directory name resulted in the error in my case.

Wednesday, November 7, 2012

Building Kernel - Warning: Alignment of vdso_data_store is greater than maximum object file alignment

Do you have the following error?

CC      arch/powerpc/kernel/vdso.o
cc1: warnings being treated as errors
arch/powerpc/kernel/vdso.c:81: warning: alignment of âvdso_data_storeâ is greater than maximum object file alignment.  Using 32768
make[1]: *** [arch/powerpc/kernel/vdso.o] Error 1
make: *** [arch/powerpc/kernel] Error 2

Then you might be using an older version of GCC. Usually GCC 4.1 and 4.2 gives this error and GCC 4.3+ should work fine. You can install 'Advance Toolchain 2.1-2' or newer to resolve this issue.

Advance Toolchain Download