FORUMS
Remove All Ads from XDA

COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]

1,275 posts
Thanks Meter: 1,836
 
Post Reply Email Thread
22nd February 2013, 06:33 PM |#401  
ajhavery's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 1,023
 
Donate to Me
More
I've been trying to compile Paranoid Android for HTC Vision and according to them in <device>.adds file I need to add the extra files which I need to get from github before compiling so I created the following file, but I added a lot many entries just because they were available on the Andromadus github who are maintaining cm repos for our device.
So, I'm not even sure if the modifications are needed or default PA entries will do.

I'm pasting my vision.adds file, please see and comment.

Code:
[
    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "htc7x30-3.0",
        "target_path":  "kernel/htc/msm7x30-3.0",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_native",
        "target_path":  "frameworks/native",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_av",
        "target_path":  "frameworks/av",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_build",
        "target_path":  "build",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_base",
        "target_path":  "frameworks/base",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_Camera",
        "target_path":  "packages/apps/Camera",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_libhardware",
        "target_path":  "hardware/libhardware",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_system_core",
        "target_path":  "system/core",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_libhardware_legacy",
        "target_path":  "hardware/libhardware_legacy",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_ril",
        "target_path":  "hardware/ril",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_msm7x30-common",
        "target_path":  "device/htc/msm7x30-common",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_common",
        "target_path":  "device/htc/common",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_vision",
        "target_path":  "device/htc/vision",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_opt_telephony",
        "target_path":  "frameworks/opt/telephony",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_external_bluetooth_bluez",
        "target_path":  "external/bluetooth/bluez",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_external_wpa_supplicant_8",
        "target_path":  "external/wpa_supplicant_8",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_FM",
        "target_path":  "packages/apps/FM",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_Torch",
        "target_path":  "packages/apps/Torch",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_prebuilt",
        "target_path":  "prebuilt",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_prebuilts_gcc_linux-x86_arm_arm-eabi-linaro-4.7",
        "target_path":  "prebuilts/gcc/linux-x86/arm/arm-eabi-linaro-4.7",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_display",
        "target_path":  "hardware/qcom/display",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_media",
        "target_path":  "hardware/qcom/media",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_audio",
        "target_path":  "hardware/qcom/audio",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_camera",
        "target_path":  "hardware/qcom/camera",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_librpc",
        "target_path":  "hardware/qcom/librpc",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_gps",
        "target_path":  "hardware/qcom/gps",
        "revision":     "gingerbread"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_msm7k",
        "target_path":  "hardware/msm7k",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "proprietary_htc_vision",
        "target_path":  "vendor/htc/vision",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_omx_mm-video",
        "target_path":  "vendor/qcom/opensource/omx/mm-video",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_omx_mm-core",
        "target_path":  "vendor/qcom/opensource/omx/mm-core",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_v8",
        "target_path":  "vendor/qcom/opensource/v8",
        "revision":     "master"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_proprietary",
        "target_path":  "vendor/qcom",
        "revision":     "jellybean"
    }
   
]
 
 
22nd February 2013, 06:55 PM |#402  
just1nsama's Avatar
Senior Member
Flag Quebec
Thanks Meter: 260
 
More
Post Need help with OTA
Hi,

After completing this tutorial, i decided to start compiling AOKP builds for my builds for my TF101, succeeded with AOKP41, but now struggling compiling AOKP42 since there are no device tree for the TF101 as of yet.

Using a custom kernel from another DEV as well as his CM10.1 device tree, after editing some scripts, its compiling, its able to create all the .img needed, but it fails when trying to create the .zip files so at the begining of the OTA Package part in the MakeFile.mk and i get this error:

** option --no_assert not recognized **
make: *** [/root/aokp-jb-mr1/out/target/product/tf101/aokp_tf101-ota-eng.root.zip] Error 2


I verified in the AOKP41 device tree for the TF101 and in the MakeFile.mk, i can see the same exact structure to build the OTA Package and the ---no_assert command is present but not giving me the error when building since i was able to get .zip working ROM from compiling.

Here is the code from both MakeFile.mk:

# OTA update package

name := $(TARGET_PRODUCT)
ifeq ($(TARGET_BUILD_TYPE),debug)
name := $(name)_debug
endif
name := $(name)-ota-$(FILE_NAME_TAG)

INTERNAL_OTA_PACKAGE_TARGET := $(PRODUCT_OUT)/$(name).zip

$(INTERNAL_OTA_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)

ifeq ($(TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT),)
OTA_FROM_TARGET_SCRIPT := ./build/tools/releasetools/ota_from_target_files
else
OTA_FROM_TARGET_SCRIPT := $(TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT)
endif

ifeq ($(TARGET_OTA_ASSERT_DEVICE),)
$(INTERNAL_OTA_PACKAGE_TARGET): override_device := auto
else
$(INTERNAL_OTA_PACKAGE_TARGET): override_device := $(TARGET_OTA_ASSERT_DEVICE)
endif

ifeq ($(TARGET_OTA_ASSERT_SKIP),true)
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := true
else
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := false
endif

$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
@echo "Package OTA: $@"
$(OTA_FROM_TARGET_SCRIPT) -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
--no_assert=$(skip_assert) \
--override_device=$(override_device) \
$(BUILT_TARGET_FILES_PACKAGE) $@

.PHONY: otapackage bacon
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
bacon: otapackage
ifneq ($(TARGET_CUSTOM_RELEASETOOL),)
@echo "Running releasetool"
$(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) $(TARGET_CUSTOM_RELEASETOOL)
else
$(hide) ./vendor/aokp/tools/squisher
endif


Tried to put this section in comments as well as the --no_assert=$(skip_assert) command but it would be another error or Permission Denied if also putting override_device in comments:

ifeq ($(TARGET_OTA_ASSERT_SKIP),true)
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := true
else
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := false
endif


I need to get past this section to get a flashable .zip, so if anyone can help or tell me where i can get the help, i could finish compiling this wh**e.

Thanks
23rd February 2013, 10:43 AM |#403  
mithun46's Avatar
OP Senior Member
Flag ▒▅|▆|█|▆|▅▒
Thanks Meter: 1,836
 
Donate to Me
More
Quote:
Originally Posted by ajhavery

I've been trying to compile Paranoid Android for HTC Vision and according to them in <device>.adds file I need to add the extra files which I need to get from github before compiling so I created the following file, but I added a lot many entries just because they were available on the Andromadus github who are maintaining cm repos for our device.
So, I'm not even sure if the modifications are needed or default PA entries will do.

I'm pasting my vision.adds file, please see and comment.

Code:
[
    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "htc7x30-3.0",
        "target_path":  "kernel/htc/msm7x30-3.0",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_native",
        "target_path":  "frameworks/native",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_av",
        "target_path":  "frameworks/av",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_build",
        "target_path":  "build",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_base",
        "target_path":  "frameworks/base",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_Camera",
        "target_path":  "packages/apps/Camera",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_libhardware",
        "target_path":  "hardware/libhardware",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_system_core",
        "target_path":  "system/core",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_libhardware_legacy",
        "target_path":  "hardware/libhardware_legacy",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_ril",
        "target_path":  "hardware/ril",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_msm7x30-common",
        "target_path":  "device/htc/msm7x30-common",
        "revision":     "cm10.1"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_common",
        "target_path":  "device/htc/common",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_device_htc_vision",
        "target_path":  "device/htc/vision",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_frameworks_opt_telephony",
        "target_path":  "frameworks/opt/telephony",
        "revision":     "jb4.2"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_external_bluetooth_bluez",
        "target_path":  "external/bluetooth/bluez",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_external_wpa_supplicant_8",
        "target_path":  "external/wpa_supplicant_8",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_FM",
        "target_path":  "packages/apps/FM",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_packages_apps_Torch",
        "target_path":  "packages/apps/Torch",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_prebuilt",
        "target_path":  "prebuilt",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_prebuilts_gcc_linux-x86_arm_arm-eabi-linaro-4.7",
        "target_path":  "prebuilts/gcc/linux-x86/arm/arm-eabi-linaro-4.7",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_display",
        "target_path":  "hardware/qcom/display",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_media",
        "target_path":  "hardware/qcom/media",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_audio",
        "target_path":  "hardware/qcom/audio",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_camera",
        "target_path":  "hardware/qcom/camera",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_librpc",
        "target_path":  "hardware/qcom/librpc",
        "revision":     "jellybean"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_qcom_gps",
        "target_path":  "hardware/qcom/gps",
        "revision":     "gingerbread"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_hardware_msm7k",
        "target_path":  "hardware/msm7k",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "proprietary_htc_vision",
        "target_path":  "vendor/htc/vision",
        "revision":     "jb"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_omx_mm-video",
        "target_path":  "vendor/qcom/opensource/omx/mm-video",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_omx_mm-core",
        "target_path":  "vendor/qcom/opensource/omx/mm-core",
        "revision":     "ics"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_opensource_v8",
        "target_path":  "vendor/qcom/opensource/v8",
        "revision":     "master"
    },

    {
        "remote":       "github",
        "account":      "Andromadus",
        "repository":   "android_vendor_qcom_proprietary",
        "target_path":  "vendor/qcom",
        "revision":     "jellybean"
    }
   
]

Quote:
Originally Posted by just1nsama

Hi,

After completing this tutorial, i decided to start compiling AOKP builds for my builds for my TF101, succeeded with AOKP41, but now struggling compiling AOKP42 since there are no device tree for the TF101 as of yet.

Using a custom kernel from another DEV as well as his CM10.1 device tree, after editing some scripts, its compiling, its able to create all the .img needed, but it fails when trying to create the .zip files so at the begining of the OTA Package part in the MakeFile.mk and i get this error:

** option --no_assert not recognized **
make: *** [/root/aokp-jb-mr1/out/target/product/tf101/aokp_tf101-ota-eng.root.zip] Error 2


I verified in the AOKP41 device tree for the TF101 and in the MakeFile.mk, i can see the same exact structure to build the OTA Package and the ---no_assert command is present but not giving me the error when building since i was able to get .zip working ROM from compiling.

Here is the code from both MakeFile.mk:

# OTA update package

name := $(TARGET_PRODUCT)
ifeq ($(TARGET_BUILD_TYPE),debug)
name := $(name)_debug
endif
name := $(name)-ota-$(FILE_NAME_TAG)

INTERNAL_OTA_PACKAGE_TARGET := $(PRODUCT_OUT)/$(name).zip

$(INTERNAL_OTA_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)

ifeq ($(TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT),)
OTA_FROM_TARGET_SCRIPT := ./build/tools/releasetools/ota_from_target_files
else
OTA_FROM_TARGET_SCRIPT := $(TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT)
endif

ifeq ($(TARGET_OTA_ASSERT_DEVICE),)
$(INTERNAL_OTA_PACKAGE_TARGET): override_device := auto
else
$(INTERNAL_OTA_PACKAGE_TARGET): override_device := $(TARGET_OTA_ASSERT_DEVICE)
endif

ifeq ($(TARGET_OTA_ASSERT_SKIP),true)
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := true
else
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := false
endif

$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
@echo "Package OTA: $@"
$(OTA_FROM_TARGET_SCRIPT) -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
--no_assert=$(skip_assert) \
--override_device=$(override_device) \
$(BUILT_TARGET_FILES_PACKAGE) $@

.PHONY: otapackage bacon
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
bacon: otapackage
ifneq ($(TARGET_CUSTOM_RELEASETOOL),)
@echo "Running releasetool"
$(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) $(TARGET_CUSTOM_RELEASETOOL)
else
$(hide) ./vendor/aokp/tools/squisher
endif


Tried to put this section in comments as well as the --no_assert=$(skip_assert) command but it would be another error or Permission Denied if also putting override_device in comments:

ifeq ($(TARGET_OTA_ASSERT_SKIP),true)
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := true
else
$(INTERNAL_OTA_PACKAGE_TARGET): skip_assert := false
endif


I need to get past this section to get a flashable .zip, so if anyone can help or tell me where i can get the help, i could finish compiling this wh**e.

Thanks

No idea . im a cm compiler
23rd February 2013, 12:06 PM |#404  
AndyFox2011's Avatar
Senior Member
Thanks Meter: 544
 
Donate to Me
More
Re: COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
Used your guide again to setup my PC for building! Worked like a charm on 11.04, hopefully it'll build like s charm too!


Oh and its BeerGang CM10.1 I'm syncing

Sent from my Desire HD using xda app-developers app
23rd February 2013, 12:29 PM |#405  
mithun46's Avatar
OP Senior Member
Flag ▒▅|▆|█|▆|▅▒
Thanks Meter: 1,836
 
Donate to Me
More
Re: COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
Guys The Developer Comitee said me to apply for RC title. Don't know what to do.
If I get more than ten thanks on this post I will apply

Sent from my GT-P7300 using xda premium
The Following 6 Users Say Thank You to mithun46 For This Useful Post: [ View ] Gift mithun46 Ad-Free
23rd February 2013, 02:03 PM |#406  
ktempleton's Avatar
Senior Member
Flag Lebanon
Thanks Meter: 5,979
 
Donate to Me
More
Re: COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
Hey my man you shouldn't make that dependent on what other people do or do not do if you were asked by the committee then there is a reason they asked you. Just remember that sometimes other people have to point things out to us because we can't see it in ourselves get that application and fill it out my man... Not hitting the thanks button on purpose

Sent from my SPH-D710 using xda premium
23rd February 2013, 02:06 PM |#407  
AndyFox2011's Avatar
Senior Member
Thanks Meter: 544
 
Donate to Me
More
Re: COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
Quote:
Originally Posted by mithun46

Guys The Developer Comitee said me to apply for RC title. Don't know what to do.
If I get more than ten thanks on this post I will apply

Sent from my GT-P7300 using xda premium

Just do it! Your guides are good! I keep referring people to them when they ask me for help!

Sent from my Desire HD using xda app-developers app
23rd February 2013, 02:32 PM |#408  
mithun46's Avatar
OP Senior Member
Flag ▒▅|▆|█|▆|▅▒
Thanks Meter: 1,836
 
Donate to Me
More
Quote:
Originally Posted by ktempleton

Hey my man you shouldn't make that dependent on what other people do or do not do if you were asked by the committee then there is a reason they asked you. Just remember that sometimes other people have to point things out to us because we can't see it in ourselves get that application and fill it out my man... Not hitting the thanks button on purpose

Sent from my SPH-D710 using xda premium

Quote:
Originally Posted by AndyFox2011

Just do it! Your guides are good! I keep referring people to them when they ask me for help!

Sent from my Desire HD using xda app-developers app

will apply . thnx ppl
23rd February 2013, 02:43 PM |#409  
Ryuinferno's Avatar
Senior Member
Thanks Meter: 7,204
 
Donate to Me
More
Re: COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE]
Not to be a wet blanket, but a RC needs to be in XDA for at least 9 months...But who knows, exceptions may be given...
23rd February 2013, 03:25 PM |#410  
mithun46's Avatar
OP Senior Member
Flag ▒▅|▆|█|▆|▅▒
Thanks Meter: 1,836
 
Donate to Me
More
Quote:
Originally Posted by Ryuinferno

Not to be a wet blanket, but a RC needs to be in XDA for at least 9 months...But who knows, exceptions may be given...

u r right but Developer comitee said me to ask them
23rd February 2013, 08:33 PM |#411  
ajhavery's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 1,023
 
Donate to Me
More
I'm getting this error:

Code:
target thumb C: sshd <= external/openssh/monitor.c
target thumb C: sshd <= external/openssh/monitor_wrap.c
target thumb C: sshd <= external/openssh/kexdhs.c
target thumb C: sshd <= external/openssh/kexgexs.c
target thumb C: sshd <= external/openssh/kexecdhs.c
target thumb C: sshd <= external/openssh/auth-krb5.c
target thumb C: sshd <= external/openssh/auth2-gss.c
target thumb C: sshd <= external/openssh/gss-serv.c
target thumb C: sshd <= external/openssh/gss-serv-krb5.c
target thumb C: sshd <= external/openssh/loginrec.c
target thumb C: sshd <= external/openssh/auth-pam.c
target thumb C: sshd <= external/openssh/auth-shadow.c
target thumb C: sshd <= external/openssh/auth-sia.c
target thumb C: sshd <= external/openssh/md5crypt.c
target thumb C: sshd <= external/openssh/sftp-server.c
target thumb C: sshd <= external/openssh/sftp-common.c
external/openssh/sftp-common.c: In function 'ls_file':
external/openssh/sftp-common.c:193:9: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness [-Wpointer-sign]
bionic/libc/include/time.h:73:20: note: expected 'time_t const *' but argument is of type 'long unsigned int const *'
target thumb C: sshd <= external/openssh/roaming_common.c
external/openssh/roaming_common.c: In function 'calculate_new_key':
external/openssh/roaming_common.c:238:2: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign]
external/openssl/include/openssl/evp.h:566:5: note: expected 'unsigned char *' but argument is of type 'char *'
target thumb C: sshd <= external/openssh/roaming_serv.c
target thumb C: sshd <= external/openssh/sandbox-null.c
target thumb C: sshd <= external/openssh/sandbox-rlimit.c
target thumb C: sshd <= external/openssh/sandbox-systrace.c
target thumb C++: stagefright <= frameworks/av/cmds/stagefright/stagefright.cpp
target thumb C++: stagefright <= frameworks/av/cmds/stagefright/jpeg.cpp
target thumb C++: stagefright <= frameworks/av/cmds/stagefright/SineSource.cpp
target thumb C++: stream <= frameworks/av/cmds/stagefright/stream.cpp
Import includes file: /home/ajhavery/android/paranoid/out/target/product/vision/obj/EXECUTABLES/surfaceflinger_intermediates/import_includes
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/Client.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/DisplayDevice.cpp
In file included from frameworks/native/services/surfaceflinger/LayerBase.h:37:0,
                 from frameworks/native/services/surfaceflinger/Layer.h:37,
                 from frameworks/native/services/surfaceflinger/Client.cpp:25:
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:65:24: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
In file included from frameworks/native/services/surfaceflinger/DisplayDevice.cpp:42:0:
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.h:65:24: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
In file included from frameworks/native/services/surfaceflinger/DisplayDevice.cpp:45:0:
frameworks/native/services/surfaceflinger/DisplayDevice.h:57:31: error: 'HWC_DISPLAY_PRIMARY' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:58:31: error: 'HWC_DISPLAY_EXTERNAL' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:59:31: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:60:31: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
In file included from frameworks/native/services/surfaceflinger/SurfaceFlinger.h:49:0,
                 from frameworks/native/services/surfaceflinger/Client.cpp:27:
frameworks/native/services/surfaceflinger/DisplayDevice.h:57:31: error: 'HWC_DISPLAY_PRIMARY' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:58:31: error: 'HWC_DISPLAY_EXTERNAL' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:59:31: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
frameworks/native/services/surfaceflinger/DisplayDevice.h:60:31: error: 'HWC_NUM_DISPLAY_TYPES' was not declared in this scope
make: *** [/home/ajhavery/android/paranoid/out/target/product/vision/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Client.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/ajhavery/android/paranoid/out/target/product/vision/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayDevice.o] Error 1
Please suggest.

Compiling for htc vision on ubuntu 12.10.
Post Reply Subscribe to Thread

Tags
*abhi boomed here*, compile android from source, easy, ubuntu 12.10

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes