i was compile rom for my device Htc Pico /Explorer A310e ...and have this is error and im unable to fix it ..no matter what sources or Toolchain i use ...i use more than 10 different source and toolchains ...i even gone through toturial about compiling roms and kernels ..but unbale to fix this error ...getting same error everytime !!:crying:
little help will appreciated..!!:fingers-crossed:
CC net/ipv6/netfilter.o
CC net/ipv4/xfrm4_state.o
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_ifidx':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:439:31: error: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memcpy(index, getbuf, sizeof(index));
^
cc1: all warnings being treated as errors
make[4]: *** [drivers/net/wireless/bcmdhd/wl_cfgp2p.o] Error 1
make[3]: *** [drivers/net/wireless/bcmdhd] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC net/ipv4/xfrm4_input.o
CC net/ipv6/fib6_rules.o
Click to expand...
Click to collapse
akshay4 said:
i was compile rom for my device Htc Pico /Explorer A310e ...and have this is error and im unable to fix it ..no matter what sources or Toolchain i use ...i use more than 10 different source and toolchains ...i even gone through toturial about compiling roms and kernels ..but unbale to fix this error ...getting same error everytime !!:crying:
little help will appreciated..!!:fingers-crossed:
Click to expand...
Click to collapse
i know old, but in case anyone else googles this error the answer is
replace sizeof(index) with sizeof(s32)
Related
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
Hey guys, I am trying to port Ubuntu Touch for my i9100G. All was going well but this error occurred when compiling. It seems there's a problem about mmu.c. I ve searched about it but no luck. Need your help!
Note: I opened the thread here and not Ubuntu Touch section because I think the problem is about compiling CM 10.1 kernel, not about porting Ubuntu.
HTML:
CC [M] /media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/sgxtransfer.o
CC [M] /media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/mmu.o
/media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/mmu.c: In function 'MMU_Alloc':
/media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/mmu.c:1487:11: error: 'sDevPAddr.uiAddr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
/media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/mmu.c:1427:20: note: 'sDevPAddr.uiAddr' was declared here
cc1: all warnings being treated as errors
make[6]: *** [/media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild/services4/srvkm/devices/sgx/mmu.o] Error 1
make[5]: *** [_module_/media/Yeni_Birim/ubuntu-i9100g/out/target/product/i9100g/target/kbuild] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[2]: *** [kbuild] Error 2
make[1]: *** [build] Error 2
make[1]: INTERNAL: Exiting with 9 jobserver tokens available; should be 8!
make[1]: `/media/Yeni_Birim/ubuntu-i9100g/device/samsung/omap4-common/pvr-source/eurasiacon/build/linux2/omap4430_android' dizininden çıkılıyor (that means leaving that directory)
make: *** [SGX_MODULES] Error 2
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 !!!
hi...
i am trying to build my own custom kernel for mido
Im beginner
first i used kud kernel source and now im using lineage os stock kernel source
i got same error while compiling both of the kernel
pls help for this
In file included from drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c:24:0:
include/trace/events/msm_cam.h:19:21: fatal error: msm_isp.h: No such file or directory
#include "msm_isp.h"
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC net/ipv6/addrconf_core.o
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2/isp' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/isp] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
make[4]: *** Waiting for unfinished jobs....
https://github.com/ArbitraryFox/ker...adf80bf#diff-ddf45fe604bb6728785f6a0ff5f293e5
Thanks sir
I am trying to compile a stock kernel downloaded from the official website for my android device but getting the following error every time even after making modifications to the makefile
HTML:
scripts/Makefile.build:44: arch/arm64/boot/dts/qcom/Makefile: No such
file or directory
make[2]: *** No rule to make target
'arch/arm64/boot/dts/qcom/Makefile'. Stop.
CC drivers/md/linear.o
scripts/Makefile.build:489: recipe for target
'arch/arm64/boot/dts/qcom' failed
make[1]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:118: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
I have searched for the solution on the internet but that also not worked for me and now I am stuck at this. Please guide me to get through this! Thanks in advanced!!!