• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

help porting moto g titan compilation

Scheduled Pinned Locked Moved Porting
moto g titan
10 Posts 2 Posters 2.6k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      horuxan
      last edited by NeoTheThird 20 May 2017, 22:25

      ../../../../../../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..

      1 Reply Last reply Reply Quote 0
      • H Offline
        horuxan
        last edited by 22 May 2017, 22:46

        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]),

        W 1 Reply Last reply 23 May 2017, 11:50 Reply Quote 0
        • W Offline
          walidham @horuxan
          last edited by 23 May 2017, 11:50

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

          1 Reply Last reply Reply Quote 0
          • H Offline
            horuxan
            last edited by 23 May 2017, 12:21

            @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 !!

            W 1 Reply Last reply 23 May 2017, 12:25 Reply Quote 0
            • H Offline
              horuxan
              last edited by 23 May 2017, 12:23

              /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;

              1 Reply Last reply Reply Quote 0
              • W Offline
                walidham @horuxan
                last edited by 23 May 2017, 12:25

                @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 .

                1 Reply Last reply Reply Quote 0
                • H Offline
                  horuxan
                  last edited by 23 May 2017, 12:37

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

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    horuxan
                    last edited by 24 May 2017, 18:43

                    https://pastebin.com/fDR1ReQG

                    please help, @walidham

                    W 1 Reply Last reply 24 May 2017, 20:47 Reply Quote 0
                    • W Offline
                      walidham @horuxan
                      last edited by 24 May 2017, 20:47

                      @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

                      1 Reply Last reply Reply Quote 1
                      • H Offline
                        horuxan
                        last edited by 27 May 2017, 12:01

                        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

                        1 Reply Last reply Reply Quote 0
                        9 out of 10
                        • First post
                          9/10
                          Last post