New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mebitek
Old
(Last edited by mebitek; 31st January 2012 at 08:02 PM.) Reason: problem solved
#1  
mebitek's Avatar
Senior Member - OP
Thanks Meter 480
Posts: 194
Join Date: Nov 2011
Location: Moguru / S'Ulumedu

 
DONATE TO ME
Default [SOLVED] Problem compiling cyanogen mod 7 with subskype tass device

Hello I'm trying to compile cyanogenmod 7 with subskyper tass device to try to mantain this project update in line with the original philosophy: keep it 100% cyanogenmod without any tweaks

When I compile I face two errors that broke my compilation:

1-

device/samsung/tass/overlay/frameworks/base/core/res/res/values/config.xml:95: error: Resource at swap_volume_keys_orientation appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"
make: *** Attesa per i processi non terminati....

This one I commented out the line reguarding swap_volume_keys_orientation in file
device/samsung/tass/overlay/frameworks/base/core/res/res/values/config.xml

but when i continue...

2-

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/tass/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/AndroidRuntime.o: in function android::gRegJNI:AndroidRuntime.cpp(.data.rel.ro+0 x148): error: undefined reference to 'register_android_hardware_fm_fmradio(_JNIEnv*)'
collect2: ld returned 1 exit status
make: *** [out/target/product/tass/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so] Errore 1
make: *** Attesa per i processi non terminati..

Someone faced same problems?
Any ideas?

thanks a lot
 
t-r-e
Old
#2  
t-r-e's Avatar
Senior Member
Thanks Meter 57
Posts: 240
Join Date: Jun 2011
Location: Port Said
Send PM With The Error To Subpsyke
The Following User Says Thank You to t-r-e For This Useful Post: [ Click to Expand ]
 
mebitek
Old
#3  
mebitek's Avatar
Senior Member - OP
Thanks Meter 480
Posts: 194
Join Date: Nov 2011
Location: Moguru / S'Ulumedu

 
DONATE TO ME
Quote:
Originally Posted by t-r-e View Post
Send PM With The Error To Subpsyke
done. I hope he will answer me cause I'm able to sync repos in a couple of hours, so it will be easy to mantain pure cyanogenmod 7 for our sgm.
 
t-r-e
Old
#4  
t-r-e's Avatar
Senior Member
Thanks Meter 57
Posts: 240
Join Date: Jun 2011
Location: Port Said
Quote:
Originally Posted by mebitek View Post
done. I hope he will answer me cause I'm able to sync repos in a couple of hours, so it will be easy to mantain pure cyanogenmod 7 for our sgm.
Best Luck Buddy Don't Give Up Early , We Look Forward To See Your Work As We Need To Keep Subpsyke Project Alive
The Following User Says Thank You to t-r-e For This Useful Post: [ Click to Expand ]
 
coolsandie
Old
#5  
coolsandie's Avatar
Recognized Contributor
Thanks Meter 710
Posts: 1,733
Join Date: Oct 2011
Location: Kochi, Kerala
Quote:
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld:
Are you using 32-bit linux system ?
If yes, then I guess 64-bit is necessary to get things compiled properly without errors.

NB: Just sharing info.
 
mebitek
Old
(Last edited by mebitek; 31st January 2012 at 07:37 PM.) Reason: update
#6  
mebitek's Avatar
Senior Member - OP
Thanks Meter 480
Posts: 194
Join Date: Nov 2011
Location: Moguru / S'Ulumedu

 
DONATE TO ME
Quote:
Originally Posted by coolsandie View Post
Are you using 32-bit linux system ?
If yes, then I guess 64-bit is necessary to get things compiled properly without errors.

NB: Just sharing info.
Thanks for the reply but I think that this kind of error is a missing reference for the function register_android_hardware_fm_fmradio that is called from AndroidRuntime.cpp
32 or 64 bit it is no differnce in compile result. just speed....

However I've checked tass configuration and I see that fm radio is set to BCM2049 chip.
I checkd into frameworks/base/core/jni/ cm source tree directory and I found only fm hardware reference for :

bcm4325
si4708
si4709
wl1271

now I'm trying to compile again setting radio to bcm4325 just to see if something appens...

P.S. should be nice to have some tecnical ideas about the code error not only if the host system is well configured

P.P.S. changed values to bcm4325 let me not face errors no more. Now I'm compiling!!!!
I have checked some github projects and I see that a lot of device as sgm with bcm2049 fm chipset set it to bcm4325. I see that just subskype change that value to bcm2049. Should be nice to have some tip and tricks from him to understand well the point of the situation
 
mebitek
Old
(Last edited by mebitek; 31st January 2012 at 07:45 PM.) Reason: errata corrige
#7  
mebitek's Avatar
Senior Member - OP
Thanks Meter 480
Posts: 194
Join Date: Nov 2011
Location: Moguru / S'Ulumedu

 
DONATE TO ME
Now I have a signed zip to flash into my sgm.
It contains subskype cm7.2 tass device configuration and latest cm 7.2 sources update at 31-01-2012.

to check changes:

http://review.cyanogenmod.com/#q,statuspen,n,z
 
mebitek
Old
#8  
mebitek's Avatar
Senior Member - OP
Thanks Meter 480
Posts: 194
Join Date: Nov 2011
Location: Moguru / S'Ulumedu

 
DONATE TO ME
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).

first at all I was thinking to add V6 supercharge by default. what do you think?
The Following 3 Users Say Thank You to mebitek For This Useful Post: [ Click to Expand ]
 
motorazrv3
Old
(Last edited by motorazrv3; 31st January 2012 at 09:49 PM.)
#9  
motorazrv3's Avatar
Senior Member
Thanks Meter 240
Posts: 866
Join Date: Dec 2011
Location: Ruhrpott
Quote:
Originally Posted by mebitek View Post
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).

first at all I was thinking to add V6 supercharge by default. what do you think?
Great news. Glückwunsch (don't know the english word at the moment).
Supercharger would be possibly good. Subpsyke said something to it but i don't rember clearly.
Keep up your work.

Sent from my GT-S5570 using xda premium
Please "Thank" my post if I helped
 
denzel09
Old
#10  
denzel09's Avatar
Senior Member
Thanks Meter 255
Posts: 2,035
Join Date: Jun 2009
Location: Venice
Quote:
Originally Posted by mebitek View Post
It works!!! finally compiled and booting successfully.
Now I'm trying to study the best way to mantain this kind of project (it's first time for me in android dev and I just have an android device by november).

first at all I was thinking to add V6 supercharge by default. what do you think?
No not add anything. It s better. Completely clean

Inviato dal mio GT-S5570 usando Tapatalk