Android marshmallow cross compilation issue

Discussion in 'UDOO NEO' started by harishsdev, Oct 21, 2016.

  1. harishsdev

    harishsdev New Member

    Joined:
    Oct 21, 2016
    Messages:
    3
    Likes Received:
    2
    hi all
    I have downloaded the android marshmallow source for udoo neo board from udoo site
    i am getting floowing issue can any body suggest the solution

    target thumb C: uim-sysfs <= hardware/ti/wpan/ti_st/uim-sysfs/uim.c
    make: *** No rule to make target `out/target/product/udooneo_6sx/obj/STATIC_LIBRARIES/liblz4-static_intermediates/export_includes', needed by `out/target/product/udooneo_6sx/obj/EXECUTABLES/updater_intermediates/import_includes'. Stop.
    make: *** Waiting for unfinished jobs....
    target thumb C++: uncrypt <= bootable/recovery/uncrypt/uncrypt.cpp
    hardware/ti/wpan/ti_st/uim-sysfs/uim.c: In function 'st_uart_config':
    hardware/ti/wpan/ti_st/uim-sysfs/uim.c:373:3: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type
    sprintf(dev_name_sysfs, "%s/dev_name", sysfs_kim_base);
    ^
    In file included from hardware/ti/wpan/ti_st/uim-sysfs/uim.c:18:0:
    bionic/libc/include/stdio.h:424:5: note: expected 'char *' but argument is of type 'const char *'
    int sprintf(char *dest, const char *format, ...)
    ^
    hardware/ti/wpan/ti_st/uim-sysfs/uim.c:389:3: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type
    sprintf(baud_rate_sysfs, "%s/baud_rate", sysfs_kim_base);
    ^
    In file included from hardware/ti/wpan/ti_st/uim-sysfs/uim.c:18:0:
    bionic/libc/include/stdio.h:424:5: note: expected 'char *' but argument is of type 'const char *'
    int sprintf(char *dest, const char *format, ...)
    ^
    hardware/ti/wpan/ti_st/uim-sysfs/uim.c:405:3: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type
    sprintf(flow_ctrl_sysfs, "%s/flow_cntrl", sysfs_kim_base);
    ^
    In file included from hardware/ti/wpan/ti_st/uim-sysfs/uim.c:18:0:
    bionic/libc/include/stdio.h:424:5: note: expected 'char *' but argument is of type 'const char *'
    int sprintf(char *dest, const char *format, ...)
    ^

    #### make failed to build some targets (52:33 (mm:ss)) ####
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  3. harishsdev

    harishsdev New Member

    Joined:
    Oct 21, 2016
    Messages:
    3
    Likes Received:
    2
    Thanks with your solution i solved that problem
     
    Andrea Rovai and waltervl like this.

Share This Page