Jump to content

[HELP]Problems while trying to compile kernel


Recommended Posts

Guest Dario93
Posted (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 by Dario93
Guest gnufabio
Posted

Have you already tried to compile the new Chocolate kernel? :D

Guest Dario93
Posted
Have you already tried to compile the new Chocolate kernel? :D

Nop,why?

Guest gnufabio
Posted
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
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

Posted
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
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 :/

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.