Advertisement
Guest User

USB QCRNDIS build error

a guest
Jun 4th, 2019
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.64 KB | None | 0 0
  1. HABUILD_SDK [cheeseburger] deathmist@H97N-WIFI src $ make -j`nproc` hybris-boot
  2. ============================================
  3. PLATFORM_VERSION_CODENAME=REL
  4. PLATFORM_VERSION=8.1.0
  5. TARGET_PRODUCT=lineage_cheeseburger
  6. TARGET_BUILD_VARIANT=userdebug
  7. TARGET_BUILD_TYPE=release
  8. TARGET_ARCH=arm64
  9. TARGET_ARCH_VARIANT=armv8-a
  10. TARGET_CPU_VARIANT=cortex-a73
  11. TARGET_2ND_ARCH=arm
  12. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  13. TARGET_2ND_CPU_VARIANT=cortex-a53
  14. HOST_ARCH=x86_64
  15. HOST_2ND_ARCH=x86
  16. HOST_OS=linux
  17. HOST_OS_EXTRA=Linux-5.1.5-zen1-2-zen-x86_64-with-Ubuntu-14.04-trusty
  18. HOST_CROSS_OS=windows
  19. HOST_CROSS_ARCH=x86
  20. HOST_CROSS_2ND_ARCH=x86_64
  21. HOST_BUILD_TYPE=release
  22. BUILD_ID=OPM7.181205.001
  23. OUT_DIR=/home/deathmist/Sailfish/src/out
  24. ============================================
  25. ninja: no work to do.
  26. ninja: no work to do.
  27. No need to regenerate ninja file
  28. [ 22% 2/9] build /home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/ROOT/hybris-boot_intermediates/init
  29. Fixing mount-points for device cheeseburger
  30. [ 33% 3/9] Making initramfs : /home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz
  31. 2906 blocks
  32. [ 44% 4/9] Building Kernel Config
  33. make: Entering directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  34. make[1]: Entering directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  35. GEN ./Makefile
  36. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  37. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  38. #
  39. # configuration written to .config
  40. #
  41. make[1]: Leaving directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  42. make: Leaving directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  43. make: Entering directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  44. make[1]: Entering directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  45. GEN ./Makefile
  46. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  47. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  48. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  49. make[1]: Leaving directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  50. make: Leaving directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  51. [ 55% 5/9] Building Kernel
  52. FAILED: TARGET_KERNEL_BINARIES
  53. /bin/bash -c "(rm -rf /home/deathmist/Sailfish/src/out/target/product/cheeseburger/vendor/lib/modules ) && (mkdir -p /home/deathmist/Sailfish/src/out/target/product/cheeseburger/vendor/lib/modules ) && (rm -rf /home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/PACKAGING/depmod_vendor_intermediates ) && (make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8998 O=/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/deathmist/Sailfish/src/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-\" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8998 O=/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/deathmist/Sailfish/src/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8998 O=/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/deathmist/Sailfish/src/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-\" modules; fi )"
  54. make: Entering directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  55. make[1]: Entering directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  56. GEN ./Makefile
  57. scripts/kconfig/conf --silentoldconfig Kconfig
  58. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  59. warning: (SND_SOC_INT_CODEC && SND_SOC_EXT_CODEC && SND_SOC_MSM8996 && SND_SOC_MSM8998) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_APQ8084 || SND_SOC_MSM8994 || SND_SOC_MSM8996 || SND_SOC_MSM8998 || SND_SOC_SDM660_COMMON))
  60. make[1]: Leaving directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  61. make[1]: Entering directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  62. CHK include/config/kernel.release
  63. GEN ./Makefile
  64. CHK include/generated/uapi/linux/version.h
  65. Using /home/deathmist/Sailfish/src/kernel/oneplus/msm8998 as source for kernel
  66. CHK include/generated/utsrelease.h
  67. CHK include/generated/timeconst.h
  68. CHK include/generated/bounds.h
  69. CHK include/generated/asm-offsets.h
  70. CALL /home/deathmist/Sailfish/src/kernel/oneplus/msm8998/scripts/checksyscalls.sh
  71. make[2]: `include/generated/vdso-offsets.h' is up to date.
  72. CHK include/generated/compile.h
  73. GZIP kernel/config_data.gz
  74. CHK kernel/config_data.h
  75. UPD kernel/config_data.h
  76. CC kernel/configs.o
  77. LD kernel/built-in.o
  78. CC drivers/usb/gadget/function/rndis.o
  79. CC drivers/usb/gadget/function/f_qc_rndis.o
  80. CC drivers/usb/gadget/function/u_data_ipa.o
  81. In file included from ../../../../../../kernel/oneplus/msm8998/include/linux/module.h:18:0,
  82. from ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:24:
  83. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:13:29: error: 'KBUILD_MODNAME' undeclared here (not in a function)
  84. #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
  85. ^
  86. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:220:43: note: in definition of macro '__module_param_call'
  87. static const char __param_str_##name[] = prefix #name; \
  88. ^
  89. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:167:22: note: in expansion of macro 'MODULE_PARAM_PREFIX'
  90. __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
  91. ^
  92. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
  93. module_param_cb(name, &param_ops_##type, &value, perm); \
  94. ^
  95. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:126:2: note: in expansion of macro 'module_param_named'
  96. module_param_named(name, name, type, perm)
  97. ^
  98. ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:46:1: note: in expansion of macro 'module_param'
  99. module_param(rndis_ul_max_pkt_per_xfer_rcvd, int, S_IRUGO);
  100. ^
  101. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:13:44: error: expected ',' or ';' before string constant
  102. #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
  103. ^
  104. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:220:43: note: in definition of macro '__module_param_call'
  105. static const char __param_str_##name[] = prefix #name; \
  106. ^
  107. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:167:22: note: in expansion of macro 'MODULE_PARAM_PREFIX'
  108. __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
  109. ^
  110. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
  111. module_param_cb(name, &param_ops_##type, &value, perm); \
  112. ^
  113. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:126:2: note: in expansion of macro 'module_param_named'
  114. module_param_named(name, name, type, perm)
  115. ^
  116. ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:46:1: note: in expansion of macro 'module_param'
  117. module_param(rndis_ul_max_pkt_per_xfer_rcvd, int, S_IRUGO);
  118. ^
  119. ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:51:1: error: invalid initializer
  120. module_param(rndis_ul_max_xfer_size_rcvd, int, S_IRUGO);
  121. ^
  122. In file included from ../../../../../../kernel/oneplus/msm8998/include/linux/module.h:18:0,
  123. from ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:24:
  124. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:13:44: error: expected ',' or ';' before string constant
  125. #define MODULE_PARAM_PREFIX KBUILD_MODNAME "."
  126. ^
  127. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:220:43: note: in definition of macro '__module_param_call'
  128. static const char __param_str_##name[] = prefix #name; \
  129. ^
  130. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:167:22: note: in expansion of macro 'MODULE_PARAM_PREFIX'
  131. __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
  132. ^
  133. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
  134. module_param_cb(name, &param_ops_##type, &value, perm); \
  135. ^
  136. ../../../../../../kernel/oneplus/msm8998/include/linux/moduleparam.h:126:2: note: in expansion of macro 'module_param_named'
  137. module_param_named(name, name, type, perm)
  138. ^
  139. ../../../../../../kernel/oneplus/msm8998/drivers/usb/gadget/function/rndis.c:51:1: note: in expansion of macro 'module_param'
  140. module_param(rndis_ul_max_xfer_size_rcvd, int, S_IRUGO);
  141. ^
  142. make[5]: *** [drivers/usb/gadget/function/rndis.o] Error 1
  143. make[5]: *** Waiting for unfinished jobs....
  144. make[4]: *** [drivers/usb/gadget/function] Error 2
  145. make[3]: *** [drivers/usb/gadget] Error 2
  146. make[2]: *** [drivers/usb] Error 2
  147. make[2]: *** Waiting for unfinished jobs....
  148. make[1]: *** [drivers] Error 2
  149. make[1]: Leaving directory `/home/deathmist/Sailfish/src/out/target/product/cheeseburger/obj/KERNEL_OBJ'
  150. make: *** [sub-make] Error 2
  151. make: Leaving directory `/home/deathmist/Sailfish/src/kernel/oneplus/msm8998'
  152. ninja: build stopped: subcommand failed.
  153. 09:31:14 ninja failed with: exit status 1
  154.  
  155. #### failed to build some targets (16 seconds) ####
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement