[Q] Error trying to build kernel for Xperia U - Sony Xperia P, U, Sola, Go

Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?

Anyone?

Error trying to build kernel for Xperia Go
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Garcia98 said:
Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?
Click to expand...
Click to collapse

f5bud said:
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Click to expand...
Click to collapse
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.

Garcia98 said:
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.
Click to expand...
Click to collapse
Yes, after reloaded a new lubuntu it's work !!!

Related

Galaxy S II source code

Hi people,
I have a problem with Update2 sourcecode, kernel.
If I do "make mrproper" then he will not clean the drivers, this error:
scripts/Makefile.clean:17: /home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile: No such file or directory
make[3]: *** No rule to make target `/home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile'. Stop.
make[2]: *** [drivers/staging/westbridge/astoria] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [_clean_drivers] Error 2
Click to expand...
Click to collapse
Thanks in advance!

[Q] Galaxy S II source code problem

Hi people,
I have a problem with Update2 sourcecode, kernel.
If I do "make mrproper" then he will not clean the drivers, this error:
scripts/Makefile.clean:17: /home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile: No such file or directory
make[3]: *** No rule to make target `/home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile'. Stop.
make[2]: *** [drivers/staging/westbridge/astoria] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [_clean_drivers] Error 2
Click to expand...
Click to collapse
Thanks in advance!

Kernel Compiling Error for Neo V

I followed the Sony Ericsson Tutorial to compile.
I didn't make any change to .config file(semc_hallon_defconfig).
i used this cmd to make
Code:
make -j2
After a long progress,it showed a error:
Code:
CC arch/arm/mach-msm/clock-7x30.o
arch/arm/mach-msm/clock-7x30.c: In function 'msm_clk_soc_init':
arch/arm/mach-msm/clock-7x30.c:1106: error: ri_list causes a section type conflict
make[1]: *** [arch/arm/mach-msm/clock-7x30.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Help me to compile.
I corrected the above problem.
Its due to compiler version problem.
now I made zimage and image .
How to converte it to sin file?
Sent from my MT11i using XDA App

Can't compile from source

I have sgp 5.0 intl.
I have no Idea why but I get such an error when compiling kernel from Ambrice's source:
Code:
In file included from drivers/gpu/pvr/osfunc.c:39:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
drivers/gpu/pvr/osfunc.c: In function 'OSAccessOK':
drivers/gpu/pvr/osfunc.c:2144:13: error: variable 'linuxType' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [drivers/gpu/pvr/osfunc.o] Error 1
make[2]: *** [drivers/gpu/pvr] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
[email protected]:~/android/kernel/AMBRICES$
any idea?
KOala888 said:
I have sgp 5.0 intl.
I have no Idea why but I get such an error when compiling kernel from Ambrice's source:
Code:
In file included from drivers/gpu/pvr/osfunc.c:39:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
drivers/gpu/pvr/osfunc.c: In function 'OSAccessOK':
drivers/gpu/pvr/osfunc.c:2144:13: error: variable 'linuxType' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [drivers/gpu/pvr/osfunc.o] Error 1
make[2]: *** [drivers/gpu/pvr] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
[email protected]:~/android/kernel/AMBRICES$
any idea?
Click to expand...
Click to collapse
Which toolchain are you using?
zaclimon said:
Which toolchain are you using?
Click to expand...
Click to collapse
arm-eabi-linaro-4.6.2
KOala888 said:
arm-eabi-linaro-4.6.2
Click to expand...
Click to collapse
Yeah.. linaro seems to give some problems with compiling, try those toolchains (the 4.4.3 one)
https://github.com/DooMLoRD/android_prebuilt_toolchains
zaclimon said:
Yeah.. linaro seems to give some problems with compiling, try those toolchains (the 4.4.3 one)
https://github.com/DooMLoRD/android_prebuilt_toolchains
Click to expand...
Click to collapse
Thanks a lot guy, successfully compiled after 2 weeks
Is it possible that 4.3.3 compiles sort of slower than 4.6.2?
It took ages. Too bad Vm doesn't seem to work on 2 cores on my PC
awesome, threat can be removed

Compiler can not find headers in compiling lolipop kernel

Hi,
I want to compile Honor 4C kernel which I downloaded the source code from huawei website, I'm running Ubuntu 15.04 and arm-linux-gnueabihf-gcc Linaro 4.7.3 when I try to compile the source I get this error:
Code:
drivers/hisi/hi6xxx/hi6xxx_sim.c:24:24: fatal error: hi6xxx_sim.h: No such file or directory
compilation terminated.
scripts/Makefile.build:316: recipe for target 'drivers/hisi/hi6xxx/hi6xxx_sim.o' failed
make[3]: *** [drivers/hisi/hi6xxx/hi6xxx_sim.o] Error 1
scripts/Makefile.build:468: recipe for target 'drivers/hisi/hi6xxx' failed
make[2]: *** [drivers/hisi/hi6xxx] Error 2
scripts/Makefile.build:468: recipe for target 'drivers/hisi' failed
make[1]: *** [drivers/hisi] Error 2

Categories

Resources