Segmentation fault during building android on ppc

by an...@android » Tue, 03 Mar 2009 07:10:58 GMT


Sponsored Links
 i all,
I am trying to port android on ppc.
after few changes in some make files , i ran into the following error
---------------------------
out/host/linux-ppc64/bin/acp -fpt out/host/linux-ppc64/obj/EXECUTABLES/
aidl_intermediates/aidl out/host/linux-ppc64/bin/aidl
Aidl: framework <= frameworks/base/core/java/android/accounts/
IAccountsService.aidl
out/host/linux-ppc64/bin/aidl -dout/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/accounts/
IAccountsService.P -b -Iframeworks/base -Iframeworks/base/src -
Iframeworks/base/core/java -Iframeworks/base/graphics/java -
Iframeworks/base/location/java -Iframeworks/base/media/java -
Iframeworks/base/opengl/java -Iframeworks/base/sax/java -Iframeworks/
base/services/java -Iframeworks/base/telephony/java -Iframeworks/base/
wifi/java frameworks/base/core/java/android/accounts/
IAccountsService.aidl out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/accounts/
IAccountsService.java
Aidl: framework <= frameworks/base/core/java/android/app/
IActivityPendingResult.aidl
out/host/linux-ppc64/bin/aidl -dout/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/
IActivityPendingResult.P -b -Iframeworks/base -Iframeworks/base/src -
Iframeworks/base/core/java -Iframeworks/base/graphics/java -
Iframeworks/base/location/java -Iframeworks/base/media/java -
Iframeworks/base/opengl/java -Iframeworks/base/sax/java -Iframeworks/
base/services/java -Iframeworks/base/telephony/java -Iframeworks/base/
wifi/java frameworks/base/core/java/android/app/
IActivityPendingResult.aidl out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/
IActivityPendingResult.java
Aidl: framework <= frameworks/base/core/java/android/app/
IActivityWatcher.aidl
out/host/linux-ppc64/bin/aidl -dout/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/IActivityWatcher.P -
b -Iframeworks/base -Iframeworks/base/src -Iframeworks/base/core/java -
Iframeworks/base/graphics/java -Iframeworks/base/location/java -
Iframeworks/base/media/java -Iframeworks/base/opengl/java -Iframeworks/
base/sax/java -Iframeworks/base/services/java -Iframeworks/base/
telephony/java -Iframeworks/base/wifi/java frameworks/base/core/java/
android/app/IActivityWatcher.aidl out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/
IActivityWatcher.java
Aidl: framework <= frameworks/base/core/java/android/app/
IAlarmManager.aidl
out/host/linux-ppc64/bin/aidl -dout/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/IAlarmManager.P -b -
Iframeworks/base -Iframeworks/base/src -Iframeworks/base/core/java -
Iframeworks/base/graphics/java -Iframeworks/base/location/java -
Iframeworks/base/media/java -Iframeworks/base/opengl/java -Iframeworks/
base/sax/java -Iframeworks/base/services/java -Iframeworks/base/
telephony/java -Iframeworks/base/wifi/java frameworks/base/core/java/
android/app/IAlarmManager.aidl out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/IAlarmManager.java
Aidl: framework <= frameworks/base/core/java/android/app/
IInstrumentationWatcher.aidl
out/host/linux-ppc64/bin/aidl -dout/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/src/core/java/android/app/
IInstrumentationWatcher.P -b -Iframeworks/base -Iframeworks/base/src -
Iframe



Segmentation fault during building android on ppc

by an...@android » Fri, 13 Mar 2009 10:46:02 GMT


 hello guys ,
I'm trying to build android for ppc platform .
I'm gettting segmentation fault when the build process is tries to
execute 'aapt' binary.


here is the error log.
---------------------------
out/debug/host/linux-ppc64/bin/aapt package -z -u -x  -M frameworks/
base/core/res/AndroidManifest.xml -S frameworks/base/core/res/res -A
frameworks/base/core/res/assets  -F out/target/common/obj/APPS/
framework-res_intermediates/package-export.apk
target R.java/Manifest.java: framework-res (out/target/common/obj/APPS/
framework-res_intermediates/src/R.stamp)
out/debug/host/linux-ppc64/bin/aapt package -x -m -z  -J out/target/
common/obj/APPS/framework-res_intermediates/src -M frameworks/base/
core/res/AndroidManifest.xml -P out/target/common/obj/APPS/framework-
res_intermediates/public_resources.xml -S frameworks/base/core/res/res
-A frameworks/base/core/res/assets
frameworks/base/core/res/AndroidManifest.xml:723: WARNING No comment
for public symbol android:permission/FOTA_UPDATE
frameworks/base/core/res/AndroidManifest.xml:878: WARNING No comment
for public symbol android:permission/MASTER_CLEAR
|
|
|
|
|
frameworks/base/core/res/res/values/public.xml:657: WARNING No comment
for public symbol android:style/Widget.TabWidget
frameworks/base/core/res/res/values/public.xml:639: WARNING No comment
for public symbol android:style/Widget.TextView
frameworks/base/core/res/res/values/public.xml:646: WARNING No comment
for public symbol android:style/Widget.TextView.PopupMenu
frameworks/base/core/res/res/values/public.xml:647: WARNING No comment
for public symbol android:style/Widget.TextView.SpinnerItem
frameworks/base/core/res/res/values/public.xml:656: WARNING No comment
for public symbol android:style/Widget.WebView
make: *** [out/target/common/obj/APPS/framework-res_intermediates/src/
R.stamp] Segmentation fault

---------------------------

can anyone help me out with problem?


Thanks in advance

Ananda




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. Sim toolkit

Prends,

Nongolin sim toolkit di android gimana sih?
Supaya bisa buat mobile banking gituw. 
Dah cari ngga nemu dimana euy. 

Pake Magic, rom CaSense 1.1.1. 
Kartu TelkomSel. 

Thanks 
--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

2. Different behaviour between SDK 1.6 and SDK 2.0 - bug? Please help.

Hi!

I got infinit loop when trying to run tab activity which creating
dialog.
Before I'm pressing the dialog button OK or Cancel button the system
is
starting my tab main activity again.
It worked fine in all previouse versions.
 The log report:
*11-28 16:59:38.607: WARN/UsageStats(59): Something wrong here,
didn't
expect evgeny.converter to be resumed
11-28 17:12:06.498: ERROR/WindowManager(269):
android.view.WindowLeaked:
Activity evgeny.converter.TabMain has leaked window
com.android.internal.policy.impl.phonewindow$decorv...@43cfd4f0 that
was
originally added here
*

Thanks in advance,
Evgeny


The code is as following:
Launcher code:
  SharedPreferences _State;
     @Override
     protected void onCreate(Bundle savedInstanceState) {


      super.onCreate(savedInstanceState);


         final TabHost tabHost = getTabHost();


         tabHost.addTab(tabHost.newTabSpec("tabMeasures")
                 .setIndicator(res.getString
(R.string.tab_measures_title),
                 res.getDrawable(R.drawable.measures_tab_32))
                 .setContent(new Intent(this, MeasuresMain.class)));


         tabHost.addTab(tabHost.newTabSpec("tabClothes")
                 .setIndicator(res.getString
(R.string.tab_clothes_title),
                 res.getDrawable(R.drawable.clothes_tab_40))
                 .setContent(new Intent(this, ClothesMain.class)));
         tabHost.addTab(tabHost.newTabSpec("tabSettings")
                 .setIndicator(res.getString
(R.string.tab_settings_title),
                 res.getDrawable(R.drawable.settings_tab_40))
                 .setContent(new Intent(this,
ConverterViewSettings.class)));


         tabHost.setBackgroundResource(R.drawable.background_main);


         _State = getSharedPreferences("Settings", MODE_WORLD_READABLE
|
MODE_WORLD_WRITEABLE );
         if(_State.getBoolean
(ConverterUtil.EVG_IS_SHOW_LICENSE_AGREEMENT,
true))
          showDialog(1);


     }


@Override
     protected Dialog onCreateDialog(int id)
     {
      AlertDialog.Builder builder = new AlertDialog.Builder(this);
      builder.setPositiveButton(R.string.lblButtonAgree, new
DialogInterface.OnClickListener()
      {
       public void onClick(DialogInterface dialog, int whichButton)
       {
              try
              {
               SharedPreferences.Editor editor = _State.edit();


editor.putBoolean(ConverterUtil.EVG_IS_SHOW_LICENSE_AGREEMENT,
false);
               editor.commit();
              }
              catch (Exception e)
              {
         e.printStackTrace();
        }
       }
      });
      builder.setNegativeButton(R.string.lblButtonExit, new
DialogInterface.OnClickListener()
      {
       public void onClick(DialogInterface dialog, int whichButton)
       {
        finish();
       }
      });


      LayoutInflater inflater = LayoutInflater.from(this);
            builder.setTitle(R.string.lblLicenseCaption);
            builder.setIcon(R.drawable.my_converter_32);
      ScrollView layout = (ScrollView) inflater.inflate
(R.layout.about,
null);


  ((TextView)layout.findViewById(R.id.txtAbout)).setText
(R.string.lblLicenseText);


  ((TextView)layout.findViewById(R.id.txtMyEmail)).setVisibility
(LinearLayout.GONE);
      builder.setView(layout);
      return builder.create();
     }


-- 

3. Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

4. Video Player Sample pls

5. Android on HTC Tattoo and FM receiver

6. splash is not displaying sometimes

7. Android.mk rule to build .ko's