Guest Dario93 Posted February 13, 2011 Report Posted February 13, 2011 (edited) Hi everyone, I'm trying since this morning to compile a new kernel for AOSP 2.2.1 ROM, but since now, the only thing I got are tons of errors :P This morning I tried to build a kernel with Acer sources,I can't even manage to get the console starting to compile -.-" Then i found an old thread here on modaco,where vache suggested to remove the Werror / string from makefile. I followed his suggestion,and the kernel started to be compiled but with lots of "format not a string literal and no format arguments" errors during the process. But after 5 minutes this error appeared and the process stopped: drivers/i2c/chips/avr.c:25:32: error: mach/msm_rpcrouter.h: Nessun file o directory drivers/i2c/chips/avr.c: In function ‘avr_ioctl’: drivers/i2c/chips/avr.c:665: warning: format ‘%02X’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ make[3]: *** [drivers/i2c/chips/avr.o] Errore 1 make[2]: *** [drivers/i2c/chips] Errore 2 make[1]: *** [drivers/i2c] Errore 2 make: *** [drivers] Errore 2 So I tried to compile from phh's sources hoping that was an Acer kernel sources fault,but the same thing happened... Is there a solution? Thanks in advance, Dario Edited February 13, 2011 by Dario93
Guest gnufabio Posted February 13, 2011 Report Posted February 13, 2011 Have you already tried to compile the new Chocolate kernel? :D
Guest Dario93 Posted February 13, 2011 Report Posted February 13, 2011 Have you already tried to compile the new Chocolate kernel? :D Nop,why?
Guest gnufabio Posted February 13, 2011 Report Posted February 13, 2011 Nop,why? It works very well, and the config file is ready to use for our kernel. Try to complie that kernel
Guest Dario93 Posted February 13, 2011 Report Posted February 13, 2011 It works very well, and the config file is ready to use for our kernel. Try to complie that kernel Thanks, I'm syncing now from CodeAurora repositories :D
Guest roggin Posted February 13, 2011 Report Posted February 13, 2011 Hi everyone, I'm trying since this morning to compile a new kernel for AOSP 2.2.1 ROM, but since now, the only thing I got are tons of errors :D This morning I tried to build a kernel with Acer sources,I can't even manage to get the console starting to compile -.-" Then i found an old thread here on modaco,where vache suggested to remove the Werror / string from makefile. I followed his suggestion,and the kernel started to be compiled but with lots of "format not a string literal and no format arguments" errors during the process. But after 5 minutes this error appeared and the process stopped: drivers/i2c/chips/avr.c:25:32: error: mach/msm_rpcrouter.h: Nessun file o directory drivers/i2c/chips/avr.c: In function 『avr_ioctl': drivers/i2c/chips/avr.c:665: warning: format 『%02X' expects type 『unsigned int', but argument 3 has type 『long unsigned int' make[3]: *** [drivers/i2c/chips/avr.o] Errore 1 make[2]: *** [drivers/i2c/chips] Errore 2 make[1]: *** [drivers/i2c] Errore 2 make: *** [drivers] Errore 2 So I tried to compile from phh's sources hoping that was an Acer kernel sources fault,but the same thing happened... Is there a solution? Thanks in advance, Dario Hi Dario, Check if msm_rpcrouter.h exist in arch/arm/mach-msm/include/mach :D Thanks
Guest Dario93 Posted February 13, 2011 Report Posted February 13, 2011 Hi Dario, Check if msm_rpcrouter.h exist in arch/arm/mach-msm/include/mach :D Thanks Hi roggin :D Checked right now, the file exists :/
Guest roggin Posted February 13, 2011 Report Posted February 13, 2011 Hi roggin :D Checked right now, the file exists :/ Hi Dario :D Maybe you forgot to make with option "arch=arm" , you can follow the steps from this article :) http://wiki.cyanogenmod.com/index.php?titl...nel_from_source Thanks
Guest roggin Posted February 13, 2011 Report Posted February 13, 2011 Hi Dario :D Maybe you forgot to make with option "arch=arm" , you can follow the steps from this article :D http://wiki.cyanogenmod.com/index.php?titl...nel_from_source Thanks Hi Dario, Or check if "CONFIG_ARCH_MSM=y" in your .config Thanks
Guest Dario93 Posted February 13, 2011 Report Posted February 13, 2011 Hi Dario :D Maybe you forgot to make with option "arch=arm" , you can follow the steps from this article :D http://wiki.cyanogenmod.com/index.php?titl...nel_from_source Thanks Thanks! I forgot to put the ARCH=ARM flag after the make command :) Thanks again, Dario
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now