help porting moto g titan compilation



  • ../../../../../../kernel/motorola/msm8226/drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm.c:5799:4: error: unknown field 'num_private' specified in initializer
    .num_private = sizeof(we_ftm_private) / sizeof(we_ftm_private[0]),
    ^
    ../../../../../../kernel/motorola/msm8226/drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm.c:5799:4: warning: initialization makes pointer from integer without a cast [enabled by default]
    error, forbidden warning: wlan_hdd_ftm.c:5799
    /media/dirlei/6B4D99D91FF89DDF/tnt/kernel/motorola/msm8226/scripts/Makefile.build:307: recipe for target 'drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm.o' failed
    make[5]: *** [drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm.o] Error 1
    /media/dirlei/6B4D99D91FF89DDF/tnt/kernel/motorola/msm8226/scripts/Makefile.build:443: recipe for target 'drivers/staging/prima' failed
    make[4]: *** [drivers/staging/prima] Error 2
    /media/dirlei/6B4D99D91FF89DDF/tnt/kernel/motorola/msm8226/scripts/Makefile.build:443: recipe for target 'drivers/staging' failed
    make[3]: *** [drivers/staging] Error 2
    /media/dirlei/6B4D99D91FF89DDF/tnt/kernel/motorola/msm8226/Makefile:955: recipe for target 'drivers' failed
    make[2]: *** [drivers] Error 2
    Makefile:135: recipe for target 'sub-make' failed
    make[1]: *** [sub-make] Error 2
    make[1]: Leaving directory '/media/dirlei/6B4D99D91FF89DDF/tnt/kernel/motorola/msm8226'
    build/core/tasks/kernel.mk:270: recipe for target 'TARGET_KERNEL_BINARIES' failed
    make: *** [TARGET_KERNEL_BINARIES] Error 2

    make failed to build some targets (05:38 (mm:ss))

    one people have idea to fix ?
    thanks..



  • please help me ? no have idea to fix .. "///

    /kernel/motorola/msm8226/drivers/staging/prima/CORE/HDD/src/wlan_hdd_ftm.c:5417:4: error: unknown field 'num_private' specified in initializer
    .num_private = sizeof(we_ftm_private) / sizeof(we_ftm_private[0]),



  • @horuxan wich version of UT you use ? 6.0.0_r1 ?
    also wich kernel you use ?



  • @walidham So I used the base ub 6 and gave the same error, I went to 5.1 today and in cm 12.1 I used check-config and apparmor, but not compile, of this error now 'struct net_device' has no member named 'wireless_handlers', waiting for your version Eagerly, could you help me with this compilation? thanks !!



  • /CORE/HDD/src/wlan_hdd_ftm.c:5437:18: error: 'struct net_device' has no member named 'wireless_handlers'
    pAdapter->dev->wireless_handlers = (struct iw_handler_def *)&we_ftm_handler_def;



  • @horuxan said in help porting moto g titan compilation:

    Eagerly

    UT phablet 6.0.0_r1 it difficult to adopte kernel and device tree, the best is ubports .



  • understand, this error, you have idea to fix ? thanks





  • @horuxan I think you use wrong version of kernel incompatible with code source, wich repo and version of ubuntu touch did you use ? wich repo and versionof device tree and kernel did you use?
    Because by default ub-5.1 compile fine after few errors can be easily fixed.
    ub-6.0 its difficult to adopte with kernel and device tree.
    If you use ub-5.1 from ubports (recommended) then just use cm-12.1 device tree and kernel



  • i use kernel msm8226 cm 12.1, stable, kernel sailfish os more so compile default titan_defconfig, and using check-config -w error on wlan_hdd_ftm, one people have idea to fix ? thanks


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.