Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,778 Members 51,304 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [Compiling PA] Troubleshooting

Tip us?
 
levis_ap
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: Apr 2011
Default [Q] [Compiling PA] Troubleshooting

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.
 
h2o64
Old
(Last edited by h2o64; 29th June 2014 at 12:49 PM.)
#2  
h2o64's Avatar
Senior Member
Thanks Meter 157
Posts: 192
Join Date: Aug 2012
Location: Paris
- 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 !
If I helped you, click Thanks
Sorry for my bad english
The Following User Says Thank You to h2o64 For This Useful Post: [ Click to Expand ]
 
levis_ap
Old
#3  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: 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: [ Click to Expand ]
 
levis_ap
Old
#4  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: Apr 2011
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
 
h2o64
Old
#5  
h2o64's Avatar
Senior Member
Thanks Meter 157
Posts: 192
Join Date: Aug 2012
Location: Paris
Quote:
Originally Posted by levis_ap View Post
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
If I helped you, click Thanks
Sorry for my bad english
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes