Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-15 Thread seb l
Run "make clean" then rebuild... Le 15 juil. 2013 01:12, "Thomas Arouge" a écrit : > indeed we do =), > But now... You guessed it, I have another error. > > bootable/recovery/minui/../../../device/htc/m7-common/recovery/graphics.c:60:31: > error: 'OVERSCAN_PERCENT' undeclared here (not in a funct

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-15 Thread András Mamenyák
This is new. Well, I don't have any direct fix for this, you need to dig around a little. First thing, you should grep for that undeclared thing in you croot ( ubuntu_touch_porting/): $ grep -r "OVERSCAN_PERCENT" * (takes some time) If you can find the #define, than just write it's value there. I

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-14 Thread Thomas Arouge
indeed we do =), But now... You guessed it, I have another error. bootable/recovery/minui/../../../device/htc/m7-common/recovery/graphics.c:60:31: error: 'OVERSCAN_PERCENT' undeclared here (not in a function) make: *** [/home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-14 Thread Thomas Arouge
I replaced both display and display-caf with cm-10.1 versions, but now I get this error: In file included from hardware/qcom/display-caf/libexternal/external.cpp:31:0: /home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/KERNEL_OBJ/usr/include/video/msm_hdmi_modes.h:

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-14 Thread András Mamenyák
This is great, I had the same error and was talking about it here on the mailing list. When you have this kind of error (Error 1), you need to look a little bit into the output, because the real error is some lines before. Look: hardware/qcom/display-caf/libexternal/external.cpp: In member functio

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-13 Thread Thomas Arouge
When I comment out the parts you told me too. I still had the same error but when I commented out "frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \" (under Permissions) the error no longer appears. But now... I have another error. make: *** [

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-13 Thread András Mamenyák
In m7-common/m7-common.mk comment out: # NFC PRODUCT_PACKAGES += \ nfc.msm8960 \ libnfc \ libnfc_ndef \ libnfc_jni \ <-remove "\" Nfc \ <-this Tag \ <-this com.android.nfc_extras <-this and all of this: # Misc Packages PRODUCT_PACKAGES += \ DeviceSettings \

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-13 Thread Thomas Arouge
I realized that I had openjdk-7 installed. Opps... I double checked and I believe I have all the dependent projects. (m7-common, msm8960-common, and the htc kernel) On Fri, Jul 12, 2013 at 10:10 PM, David Hacker wrote: > You should read up here https://wiki.ubuntu.com/Touch/Porting > > Additiona

Re: [Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-13 Thread András Mamenyák
In device/htc/m7tmo/BoardConfig.mk please comment out this line # RIL BOARD_PROVIDES_LIBRIL := true On Sat, Jul 13, 2013 at 5:32 AM, Thomas Arouge wrote: > When I try to build the file, I always get this error and the build stops: > > make: *** No rule to make target > `/home/thomasjohnarouge/D

[Ubuntu-phone] Fail to build m7tmo (T-Mobile HTC One)

2013-07-12 Thread Thomas Arouge
When I try to build the file, I always get this error and the build stops: make: *** No rule to make target `/home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/thomasjohnarouge/Documents/ubuntu