← Back to team overview

ubuntu-phone team mailing list archive

Re: Fail to build m7tmo (T-Mobile HTC One)

 

Run "make clean" then rebuild...
Le 15 juil. 2013 01:12, "Thomas Arouge" <thomasjohnarouge@xxxxxxxxx> 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 function)
> make: ***
> [/home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/STATIC_LIBRARIES/libminui_intermediates/../../../device/htc/m7-common/recovery/graphics.o]
> Error 1
>
> Link to log:
> https://docs.google.com/file/d/0B6WIIp8JmreZTUUzSjNhZmFrRmc/edit
>
> On Sun, Jul 14, 2013 at 11:07 AM, András Mamenyák <mamenyaka@xxxxxxxxx>wrote:
>
>> You don't need to pull cm-10.1 in qcom/display, only in qcom/display-caf.
>> To fix that error, look at my commit<https://github.com/mamenyaka/android_kernel_sony_apq8064/commit/825facdb5b67b3dfb8ea8283a777619683655f46>
>> .
>> Looks like we have common errors. :)
>>
>>
>>
>> On Sun, Jul 14, 2013 at 7:24 PM, Thomas Arouge <
>> thomasjohnarouge@xxxxxxxxx> wrote:
>>
>>> 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:
>>> In function 'void MSM_HDMI_MODES_INIT_TIMINGS(msm_hdmi_mode_timing_info*)':
>>> /home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/KERNEL_OBJ/usr/include/video/msm_hdmi_modes.h:214:43:
>>> error: narrowing conversion of 'i' from 'int' to 'uint32_t {aka unsigned
>>> int}' inside { } is ill-formed in C++11 [-Werror=narrowing]Import includes
>>> file:
>>> /home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/SHARED_LIBRARIES/copybit.msm8960_intermediates/import_includes
>>> cc1plus: all warnings being treated as errors
>>> make: ***
>>> [/home/thomasjohnarouge/Documents/ubuntu_touch_porting/out/target/product/m7tmo/obj/SHARED_LIBRARIES/libexternal_intermediates/external.o]
>>> Error 1
>>> make: *** Waiting for unfinished jobs....
>>>
>>> Link to log:
>>> https://docs.google.com/file/d/0B6WIIp8JmreZVHEwVnNRSWszSlk/edit?usp=sharing
>>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

References