Post Reply

[Q] [Compiling PA] Troubleshooting

OP levis_ap

29th June 2014, 04:37 AM   |  #1  
OP Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: Apr 2011
Hello everyone,

Im trying compile form PA4+ repos. I follow the step in this guide (http://forum.xda-developers.com/moto...orola-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.
29th June 2014, 11:41 AM   |  #2  
h2o64's Avatar
Senior Member
Flag Paris
Thanks Meter: 726
 
684 posts
Join Date:Joined: Aug 2012
More
- 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 !
Last edited by h2o64; 29th June 2014 at 12:49 PM.
The Following User Says Thank You to h2o64 For This Useful Post: [ View ]
29th June 2014, 04:42 PM   |  #3  
OP Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: Apr 2011
thank you very much for your quick response. I will prove what you said and will post the results
The Following User Says Thank You to levis_ap For This Useful Post: [ View ]
2nd July 2014, 05:30 AM   |  #4  
OP Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: Apr 2011
Thumbs up
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
2nd July 2014, 04:49 PM   |  #5  
h2o64's Avatar
Senior Member
Flag Paris
Thanks Meter: 726
 
684 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by levis_ap

Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.

Congrats! There is a new Linaro build toolchain! Personally I clean my entire build directory today :P

Sent from my Moto G using XDA Free mobile app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Moto G Q&A, Help & Troubleshooting by ThreadRank