ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #02905
Re: Fail to build m7tmo (T-Mobile HTC One)
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.
If not, than you can try to comment it out
from m7-common/BoardConfigCommon.mk, and just hope it works:
# Custom Recovery
ifneq ($(filter m7att m7tmo m7ul,$(TARGET_DEVICE)),)
TARGET_RECOVERY_FSTAB := device/htc/m7-common/recovery/recovery.fstab.gsm
else
TARGET_RECOVERY_FSTAB := device/htc/m7-common/recovery/recovery.fstab.cdma
endif
BOARD_CUSTOM_GRAPHICS := ../../../device/htc/m7-common/recovery/graphics.c
<- this
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\"
BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_USERIMAGES_USE_EXT4 := true
On Mon, Jul 15, 2013 at 1:11 AM, Thomas Arouge <thomasjohnarouge@xxxxxxxxx>
wrote:
> 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
>
>>
References