Kernel Compilation Error - Android Q&A, Help & Troubleshooting

Hi all,
I've been compiling many kernels, but this error is bugging me. I'm compiling a custom kernel for grand 2, using linaro 4.9.2 and I get this error:
Code:
drivers/built-in.o:(.data+0xdbc8): undefined reference to `gpio_event_input_func'
make: *** [.tmp_vmlinux1] Error 1
How can I solve the above error, please help me. Here is my source code:
http://github.com/Ateekujjawal/android_kernel_samsung_ms013g/tree/master

Related

Problem while compiling android source

When i'm compiling i get this error:
Code:
make: *** [out/target/product/galaxysl/obj/SHARED_LIBRARIES/audio.primary.omap3_intermediates/AudioHardware.o] Error 1
I don't know to how to fix it.
Any ideas ?

Please Help with building error

hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
ficko_98 said:
hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
Click to expand...
Click to collapse
Well......Are you using the original toolchain or is that LINARO?
because it looks like the error is being effected by the toolchain atleast thats what i see ....An error in RILD
Try a different toolchain and let me know if the error occurs again
And by different toolchain i mean the stock toolchain

[Q] Error trying to build kernel for Xperia U

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 !!!

[Q] Help needed with compiling an A31 kernel

EDIT3: I was sorta' right about the source package being somewhat temperamental. Managed to build the modules sans kernel, but doing both at the same time leads to the errors below. Also, renaming uImage to vmlinux and then shoving it in boot.img along with the compiled modules resulted in the tab being stuck on the boot logo.
EDIT2: I dunno if the build package was being temperamental or something, but ticking out the tvp5150 module seems to have done the trick.
EDIT: Managed to get further with building, but while I get a vmlinux image, it still ends with a mismatch error with modules. Coud this have something to do with the source tarball being stripped and not the full one?
Code:
Building modules, stage 2.
MODPOST 67 modules
WARNING: could not find drivers/input/touchscreen/.libAW5306.cmd for drivers/input/touchscreen/libAW5306
ERROR: "vfe_gpio_write" [drivers/media/video/tvp5150.ko] undefined!
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
So, I kinda' figured out on how to cobble up a kernel for the A31s, but upon attempting to build one based on the source taken from http://dl.linux-sunxi.org/SDK/A31/a31_hummbingbird_V3.3_v2_kfb_0k.tar.gz
While I managed to load up the default config and stuff, building it using the command make ARCH=arm CROSS_COMPILE=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- results in this:
Code:
In file included from drivers/media/video/sunxi-vfe/camera_detector/camera_detector.h:4:0,
from drivers/media/video/sunxi-vfe/config.c:10:
drivers/media/video/sunxi-vfe/camera_detector/camera_includes.h:41:25: error: redefinition of typedef '__hdle'
drivers/media/video/sunxi-vfe/flash_light/../vfe_os.h:29:22: note: previous declaration of '__hdle' was here
make[4]: *** [drivers/media/video/sunxi-vfe/config.o] Error 1
make[3]: *** [drivers/media/video/sunxi-vfe] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
ANy thoughts or advice on how to make this work, let alone boot?

[Q] Error While Compiling Kernel

Hi everyone guys,Today i tried to compile Alcatel One Touch 4033 kernel from Alcatel sources (www.sourceforge.net/projects/alcatel/files , Device OT_4033X)
i keep getting this error:
Code:
fs/file_table.c: In function 'get_empty_filp':
fs/file_table.c:36:20: error: inlining failed in call to always_inline 'fd_show_open_files': function body not available
fs/file_table.c:160:36: error: called from here
scripts/Makefile.build:307: recipe for target 'fs/file_table.o' failed
make[1]: *** [fs/file_table.o] Error 1
Makefile:967: recipe for target 'fs' failed
make: *** [fs] Error 2
i've tried various toolchains and the commands described in the README,same results.
Please i really need help ,
Thank you

Categories

Resources