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 2make 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
-
please help, @walidham
-
@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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login