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
Related
Hey guys!
I'm working on a project that includes a task to achieve a real-time Android. Did anyone of you guys already tried that?
I patched the kernel with the Preempt-rt patch and tried to compile it but I got this error:
CC kernel/user.o
CC kernel/signal.o
kernel/signal.c: In function 'complete_signal':
kernel/signal.c:1018:6: warning: 't' is used uninitialized in this function [-Wuninitialized]
error, forbidden warning: signal.c:1018
scripts/Makefile.build:307: recipe for target 'kernel/signal.o' failed
make[1]: *** [kernel/signal.o] Error 1
Makefile:949: recipe for target 'kernel' failed
make: *** [kernel] Error 2
Can someone help me with this please? I looked for solutions but I couldn't find anything. Thanks in advance
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
Hi everyone I have been wanting to try to compile the kernel for my device from source so that I can add some features to it. first time trying this..
I have fixed all errors up till now but this one has been bothering for a few days:
Code:
In file included from drivers/usb/gadget/android.c:62:0:
./drivers/usb/gadget/function/f_rndis.c: In function 'rndis_alloc_inst':
./drivers/usb/gadget/function/f_rndis.c:1115:10: error: implicit declaration of function 'usb_os_desc_prepare_interf_dir' [-Werror=implicit-function-declaration]
usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target 'drivers/usb/gadget/android.o' failed
make[3]: *** [drivers/usb/gadget/android.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/usb/gadget' failed
make[2]: *** [drivers/usb/gadget] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
Makefile:945: recipe for target 'drivers' failed
make: *** [drivers] Error 2
I'm using linaro 4.9 as crosscompiler btw.
thanks guys, i'm really at my wits ends right now
Hi everyone,
I just purchased this pre-paid phone for its 5.5" screen and cheap price ($50). It's from Cricket Wireless. There are also similar models for Metro PCS and T-Mobile under One Touch Fierce XL (5054N), and Pop 3 5.5" 4G (5054X, 5054S).
The phone can be rooted easily though the Alcatel App, 'System Updates', then SuperSU can be installed, followed by TWRP and Xposed. I have done this before and it's fairly easy based on posts on XDA.
I want to add USB OTG features since it is hardware supported. I looked on SourceForge for the Alcatel 5054O kernel, but only found one called 'OT_5054_20160504'. Under kernel/arch/arm/configs I only found 'pop3_defconfig' so I used this as a start .config hoping it would work.
Did make menuconfig, loaded default values, found USB settings, added support for OTG, then save.
cross-compile on Ubuntu 16.04 with arm-eabi-4.6.
I have gcc version 5.4.0
after make, I get errors related to the touchscreen:
drivers/input/touchscreen/synaptics_rmi_dev.c: In function 'rmidev_init_device':
drivers/input/touchscreen/synaptics_rmi_dev.c:582:39: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/synaptics_rmi_dev.c:589:29: error: dereferencing pointer to incomplete type
drivers/input/touchscreen/synaptics_rmi_dev.c:595:4: error: dereferencing pointer to incomplete type
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/synaptics_rmi_dev.o' failed
make[3]: *** [drivers/input/touchscreen/synaptics_rmi_dev.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:832: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Not sure how to proceed from here. Is this an error because I just have the wrong kernel, or wrong defconfig, or wrong gcc version? I remember seeing somewhere that the stock kernel was compiled with gcc 4.8 (I used gcc 5.4.0).
I did a factory reset on the phone, rooted, added SuperSU, TWRP (to backup) and nothing changed. I thought maybe Xposed was interfering.
Any help would be appreciated!
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!!!