[Completed] Error When Compile Kernel - XDA Assist

when i compiling kernel get some error like this
Error: unknown floating point format `neon-vfpv4'
Error: unrecognized option -mfpu=neon-vfpv4
make[1]: *** [mediatek/platform/mt6572/kernel/core/mt-headsmp.o] Error 1
make: *** [mediatek/platform/mt6572/kernel/core] Error 2
can any body help me to fix it ?
i'm use gcc arm-linux-androideabi-4.6

antileled said:
when i compiling kernel get some error like this
Error: unknown floating point format `neon-vfpv4'
Error: unrecognized option -mfpu=neon-vfpv4
make[1]: *** [mediatek/platform/mt6572/kernel/core/mt-headsmp.o] Error 1
make: *** [mediatek/platform/mt6572/kernel/core] Error 2
can any body help me to fix it ?
i'm use gcc arm-linux-androideabi-4.6
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
You can post your query in Android Q&A,Help and Troubleshooting.Experts there may be able to help you
___
v7
XDA Assist

Related

CyanogenMod 11 Build issues

I get random errors here and there at times when compiling CyanogenMod 11, like
external/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp: In member function 'void llvm::SDep::setLatency(unsigned int)':
external/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:276:49: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
make: *** [/home/suyash/cm11/out/target/product/m7ul/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/ScheduleDAGInstrs.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
/home/suyash/cm11/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/include/c++/4.6.x-google/bits/locale_facets.tcc:324:1: error: '$' was not declared in this scope
/home/suyash/cm11/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/include/c++/4.6.x-google/bits/locale_facets.tcc:324:9: error: expected ';' before '{' token
make: *** [/home/suyash/cm11/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGCleanup.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
This is acceptable
then I get this error:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
make[2]: *** [modules] Error 1
make[1]: *** [sub-make] Error 2
Click to expand...
Click to collapse
I can't find a way to fix this.
Ubuntu 13.10 x64
Building for HTC One m7ul
CyanogenMod 11
OpenJDK 1.6
I fetched all the required repos btw. Can anyone help in fixing the issues?

[Q] [Compiling PA] Troubleshooting

Hello everyone,
I´m trying compile form PA4+ repos. I follow the step in this guide (http://forum.xda-developers.com/moto-g/development/4-4-4-nightlies-paranoid-4-4-motorola-t2792041)
But no matter what I do always get the following error:
Code:
host Executable: clang (/home/levis/paranoid/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
CC drivers/cpufreq/cpufreq_interactive.o
CC drivers/cpufreq/freq_table.o
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c:813:6: warning: operation on 'ret' may be undefined [-Wsequence-point]
error, forbidden warning: cpufreq_interactive.c:813
make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/cpufreq] Error 2
make[2]: *** [drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/levis/paranoid/kernel/motorola/msm8226'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 32 minutes (1937.343507123 seconds)
file does not exist or wrong directory located
Please Could you point me in the right direction.
- Solution 1
Delete the all folder (Yeah .. that's a shame ..) and resync again.
- Solution 2
Check if all the depency software is correctly installed.
- Solution 3
Use a prebuilt kernel
Code:
cd /yourpathtothesources/kernel/motorola/msm8226
make -j4 O=out
cp -R /yourpathtothesources/kernel/motorola/msm8226/out/* /yourpathtothesources/out/target/product/falcon/obj/KERNEL_OBJ
cp /yourpathtothesources/kernel/motorola/msm8226/out/arch/arm/boot/zImage /yourpathtothesources/out/target/product/falcon/kernel
Hope that's help.
Try first solution first !
thank you very much for your quick response. I will prove what you said and will post the results
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
levis_ap said:
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
Click to expand...
Click to collapse
Congrats! There is a new Linaro build toolchain! Personally I clean my entire build directory today
Sent from my Moto G using XDA Free mobile app

[Completed] Error while compiling with latest TWRP.

Hi,
I am a user of Micromax canvas HD (A116), MT6589. I have the sources of omni and from that flags I'm compiling the TWRP recovery. I'm getting an unknown error:
Code:
system/core/healthd/healthd_mode_charger.cpp:941: error: undefined reference to 'res_create_display_surface'
collect2: error: ld returned 1 exit status
make: *** [/home/preet/RR/out/target/product/a116/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd] Error 1
how to fix this?
Preet_ said:
Hi,
I am a user of Micromax canvas HD (A116), MT6589. I have the sources of omni and from that flags I'm compiling the TWRP recovery. I'm getting an unknown error:
Code:
system/core/healthd/healthd_mode_charger.cpp:941: error: undefined reference to 'res_create_display_surface'
collect2: error: ld returned 1 exit status
make: *** [/home/preet/RR/out/target/product/a116/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd] Error 1
how to fix this?
Click to expand...
Click to collapse
Hi, thanks for using XDA Assist!
Please post your question here:
http://forum.xda-developers.com/showthread.php?t=2321302
That's a friendly help thread specifically for your device.
You'll find expert advice there.
Good luck!

make[1]: *** [mm/vmscan.o] Error 1

I'm building a CM13 appeared the following error when the kernel..
CC mm/vmscan.o
mm/vmscan.c: In function 'putback_inactive_pages':
mm/vmscan.c:1336:5: error: implicit declaration of function 'SetPageWasActive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'mm/vmscan.o' failed
make[1]: *** [mm/vmscan.o] Error 1
Makefile:952: recipe for target 'mm' failed
make: *** [mm] Error 2
I got the same issue while building the CM13 kernel for the S5 (klte).
Did you manage to fix it?
newjanson said:
I got the same issue while building the CM13 kernel for the S5 (klte).
Did you manage to fix it?
Click to expand...
Click to collapse
did you manage to fix it ?
im trying to get cm14 kernel for klte working
Enable zcache

error compiling Slimmarsmallow for nexus 5

Im getting this error while compiling rom most probably in kernel,error log below
PHP:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/preshot2989/slim/kernel/lge/hammerhead/kernel/timeconst.pl line 373.
/home/preshot2989/slim/kernel/lge/hammerhead/kernel/Makefile:129: recipe for target 'kernel/timeconst.h' failed
make[3]: *** [kernel/timeconst.h] Error 255
/home/preshot2989/slim/kernel/lge/hammerhead/Makefile:950: recipe for target 'kernel' failed
make[2]: *** [kernel] Error 2
make[2]: *** Waiting for unfinished jobs....
just did a few search in xda and google found few solution but stiil the same
already installed bc ,updated perl in ubuntu 16.04LTS and switch to JDK 7.
Help would be appreciated
roshan2989 said:
Im getting this error while compiling rom most probably in kernel,error log below
PHP:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/preshot2989/slim/kernel/lge/hammerhead/kernel/timeconst.pl line 373.
/home/preshot2989/slim/kernel/lge/hammerhead/kernel/Makefile:129: recipe for target 'kernel/timeconst.h' failed
make[3]: *** [kernel/timeconst.h] Error 255
/home/preshot2989/slim/kernel/lge/hammerhead/Makefile:950: recipe for target 'kernel' failed
make[2]: *** [kernel] Error 2
make[2]: *** Waiting for unfinished jobs....
just did a few search in xda and google found few solution but stiil the same
already installed bc ,updated perl in ubuntu 16.04LTS and switch to JDK 7.
Help would be appreciated
Click to expand...
Click to collapse
You need to edit the Perl file like in this commit: https://gerrit.omnirom.org/#/c/12887/1/kernel/timeconst.pl

Categories

Resources