Compile errors
Three changes I had to make to get kernel to compile:
1) Edit kernel/cpuset.c and change "!= task)" to "!= tsk)"
2) Edit drivers/net/wireless/bcm4329/Makefile and delete the flag -Werror. *The latest revisions to gcc force it to treat the warning as an error in dhd_linux.c.
3) Edit arch/arm/mach-tegra/board-ventana-misc.c and remove the entire if-statement that uses the instantiated-but-uninitialized variable g_NvBootArgsGPSPreemption. Remove the variable declaration, too. It's declared as an int, used as a boolean, and never given a value to begin with.
Your make should now succeed.
I'm running into an odd error when compiling the kernel. The weird part is that it only happens on one PC - on the other everything works fine. I'm using gcc 4:4.6.1-2ubuntu5 and dtc 1.3. Any ideas?
Three changes I had to make to get kernel to compile:
1) Edit kernel/cpuset.c and change "!= task)" to "!= tsk)"
2) Edit drivers/net/wireless/bcm4329/Makefile and delete the flag -Werror. *The latest revisions to gcc force it to treat the warning as an error in dhd_linux.c.
3) Edit arch/arm/mach-tegra/board-ventana-misc.c and remove the entire if-statement that uses the instantiated-but-uninitialized variable g_NvBootArgsGPSPreemption. Remove the variable declaration, too. It's declared as an int, used as a boolean, and never given a value to begin with.
Your make should now succeed.
Last edited: