Guest User

Untitled

a guest
Feb 3rd, 2014
297
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DKMS make.log for nvidia-331.38 for kernel 3.14.0-rc1-core2duo (x86_64)
  2. Mon Feb 3 11:57:34 CET 2014
  3. NVIDIA: calling KBUILD...
  4. make[1]: Entering directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1'
  5. make -C /lib/modules/3.14.0-rc1-core2duo/build \
  6. KBUILD_SRC=/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1 \
  7. KBUILD_EXTMOD="/var/lib/dkms/nvidia/331.38/build" -f /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/Makefile \
  8. modules
  9. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  10. echo >&2; \
  11. echo >&2 " ERROR: Kernel configuration is invalid."; \
  12. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  13. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  14. echo >&2 ; \
  15. /bin/false)
  16. mkdir -p /var/lib/dkms/nvidia/331.38/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/331.38/build/.tmp_versions/*
  17. make -f /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/scripts/Makefile.build obj=/var/lib/dkms/nvidia/331.38/build
  18. cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include -Iarch/x86/include/generated -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include -Iinclude -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi -Iinclude/generated/uapi -include /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.38\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv.o /var/lib/dkms/nvidia/331.38/build/nv.c
  19. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/bitops.h:506:0,
  20. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:33,
  21. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:10,
  22. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15,
  23. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  24. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  25. from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
  26. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h: In function ‘hweight_long’:
  27. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  28. #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
  29. ^
  30. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:77:41: note: in expansion of macro ‘hweight64’
  31. return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
  32. ^
  33. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/cpumask.h:4:0,
  34. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/msr.h:10,
  35. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/processor.h:20,
  36. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/thread_info.h:22,
  37. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/thread_info.h:54,
  38. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/preempt.h:6,
  39. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:18,
  40. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  41. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  42. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  43. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  44. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  45. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  46. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  47. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  48. from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
  49. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h: In function ‘cpumask_parse’:
  50. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  51. int len = nl ? nl - buf : strlen(buf);
  52. ^
  53. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1:0,
  54. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  55. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  56. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  57. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  58. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  59. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  60. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  61. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  62. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  63. from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
  64. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  65. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  66. if (likely(sz < 0 || sz >= n))
  67. ^
  68. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  69. # define likely(x) __builtin_expect(!!(x), 1)
  70. ^
  71. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  72. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  73. if (likely(sz < 0 || sz >= n))
  74. ^
  75. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  76. # define likely(x) __builtin_expect(!!(x), 1)
  77. ^
  78. In file included from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:270:0,
  79. from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
  80. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h: At top level:
  81. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ declared inside parameter list [enabled by default]
  82. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  83. ^
  84. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
  85. cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include -Iarch/x86/include/generated -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include -Iinclude -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi -Iinclude/generated/uapi -include /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.38\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia/331.38/build/nv-acpi.c
  86. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/bitops.h:506:0,
  87. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:33,
  88. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:10,
  89. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15,
  90. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  91. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  92. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  93. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h: In function ‘hweight_long’:
  94. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  95. #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
  96. ^
  97. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:77:41: note: in expansion of macro ‘hweight64’
  98. return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
  99. ^
  100. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/cpumask.h:4:0,
  101. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/msr.h:10,
  102. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/processor.h:20,
  103. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/thread_info.h:22,
  104. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/thread_info.h:54,
  105. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/preempt.h:6,
  106. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:18,
  107. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  108. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  109. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  110. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  111. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  112. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  113. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  114. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  115. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  116. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h: In function ‘cpumask_parse’:
  117. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  118. int len = nl ? nl - buf : strlen(buf);
  119. ^
  120. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1:0,
  121. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  122. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  123. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  124. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  125. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  126. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  127. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  128. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  129. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  130. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  131. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  132. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  133. if (likely(sz < 0 || sz >= n))
  134. ^
  135. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  136. # define likely(x) __builtin_expect(!!(x), 1)
  137. ^
  138. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  139. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  140. if (likely(sz < 0 || sz >= n))
  141. ^
  142. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  143. # define likely(x) __builtin_expect(!!(x), 1)
  144. ^
  145. In file included from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:270:0,
  146. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  147. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h: At top level:
  148. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ declared inside parameter list [enabled by default]
  149. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  150. ^
  151. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
  152. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:58:21: error: variable ‘nv_acpi_driver_template’ has initializer but incomplete type
  153. static const struct acpi_driver nv_acpi_driver_template = {
  154. ^
  155. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: error: unknown field ‘name’ specified in initializer
  156. .name = "NVIDIA ACPI Video Driver",
  157. ^
  158. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: warning: excess elements in struct initializer [enabled by default]
  159. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  160. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: error: unknown field ‘class’ specified in initializer
  161. .class = "video",
  162. ^
  163. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: warning: excess elements in struct initializer [enabled by default]
  164. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  165. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: error: unknown field ‘ids’ specified in initializer
  166. .ids = ACPI_VIDEO_HID,
  167. ^
  168. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: warning: excess elements in struct initializer [enabled by default]
  169. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  170. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: unknown field ‘ops’ specified in initializer
  171. .ops = {
  172. ^
  173. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: extra brace group at end of initializer
  174. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: (near initialization for ‘nv_acpi_driver_template’)
  175. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:74:5: warning: excess elements in struct initializer [enabled by default]
  176. },
  177. ^
  178. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:74:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  179. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_init’:
  180. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:106:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_driver’
  181. sizeof(struct acpi_driver));
  182. ^
  183. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:111:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_driver’
  184. sizeof(struct acpi_driver));
  185. ^
  186. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:113:5: error: implicit declaration of function ‘acpi_bus_register_driver’ [-Werror=implicit-function-declaration]
  187. status = acpi_bus_register_driver(nv_acpi_driver);
  188. ^
  189. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_uninit’:
  190. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:148:5: error: implicit declaration of function ‘acpi_bus_unregister_driver’ [-Werror=implicit-function-declaration]
  191. acpi_bus_unregister_driver(nv_acpi_driver);
  192. ^
  193. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_add’:
  194. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:191:11: error: dereferencing pointer to incomplete type
  195. device->driver_data = pNvAcpiObject;
  196. ^
  197. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:10:0,
  198. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  199. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  200. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  201. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  202. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  203. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  204. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  205. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  206. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  207. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:43: error: dereferencing pointer to incomplete type
  208. list_for_each_safe(node, next, &device->children)
  209. ^
  210. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:14: note: in definition of macro ‘list_for_each_safe’
  211. for (pos = (head)->next, n = pos->next; pos != (head); \
  212. ^
  213. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  214. for (pos = (head)->next, n = pos->next; pos != (head); \
  215. ^
  216. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:5: note: in expansion of macro ‘list_for_each_safe’
  217. list_for_each_safe(node, next, &device->children)
  218. ^
  219. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:43: error: dereferencing pointer to incomplete type
  220. list_for_each_safe(node, next, &device->children)
  221. ^
  222. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:50: note: in definition of macro ‘list_for_each_safe’
  223. for (pos = (head)->next, n = pos->next; pos != (head); \
  224. ^
  225. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15:0,
  226. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  227. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  228. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  229. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
  230. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  231. ^
  232. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  233. container_of(ptr, type, member)
  234. ^
  235. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  236. list_entry(node, struct acpi_device, node);
  237. ^
  238. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
  239. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  240. ^
  241. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  242. container_of(ptr, type, member)
  243. ^
  244. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  245. list_entry(node, struct acpi_device, node);
  246. ^
  247. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: (near initialization for ‘dev’) [enabled by default]
  248. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  249. ^
  250. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  251. container_of(ptr, type, member)
  252. ^
  253. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  254. list_entry(node, struct acpi_device, node);
  255. ^
  256. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc.h:106:0,
  257. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:54,
  258. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1,
  259. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  260. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  261. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  262. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  263. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  264. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  265. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  266. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  267. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  268. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  269. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:37: error: invalid use of undefined type ‘struct acpi_device’
  270. list_entry(node, struct acpi_device, node);
  271. ^
  272. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ‘__compiler_offsetof’
  273. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
  274. ^
  275. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:834:29: note: in expansion of macro ‘offsetof’
  276. (type *)( (char *)__mptr - offsetof(type,member) );})
  277. ^
  278. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  279. container_of(ptr, type, member)
  280. ^
  281. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  282. list_entry(node, struct acpi_device, node);
  283. ^
  284. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:215:13: error: implicit declaration of function ‘acpi_evaluate_integer’ [-Werror=implicit-function-declaration]
  285. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  286. ^
  287. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:215:38: error: dereferencing pointer to incomplete type
  288. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  289. ^
  290. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:234:65: error: dereferencing pointer to incomplete type
  291. pNvAcpiObject->pNvVideo[device_counter].dev_handle = dev->handle;
  292. ^
  293. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:249:41: error: dereferencing pointer to incomplete type
  294. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
  295. ^
  296. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:257:48: error: dereferencing pointer to incomplete type
  297. status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
  298. ^
  299. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_remove’:
  300. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:282:38: error: dereferencing pointer to incomplete type
  301. nv_acpi_t *pNvAcpiObject = device->driver_data;
  302. ^
  303. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:296:41: error: dereferencing pointer to incomplete type
  304. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
  305. ^
  306. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:323:15: error: dereferencing pointer to incomplete type
  307. device->driver_data = NULL;
  308. ^
  309. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_install_notifier’:
  310. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:452:28: error: dereferencing pointer to incomplete type
  311. if ((!device) || device->driver_data)
  312. ^
  313. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:469:11: error: dereferencing pointer to incomplete type
  314. device->driver_data = pNvAcpiObject;
  315. ^
  316. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:475:48: error: dereferencing pointer to incomplete type
  317. status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
  318. ^
  319. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:489:12: error: dereferencing pointer to incomplete type
  320. device->driver_data = NULL;
  321. ^
  322. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_uninstall_notifier’:
  323. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:503:27: error: dereferencing pointer to incomplete type
  324. pNvAcpiObject = device->driver_data;
  325. ^
  326. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:506:51: error: dereferencing pointer to incomplete type
  327. status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, handler);
  328. ^
  329. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:516:19: error: dereferencing pointer to incomplete type
  330. device->driver_data = NULL;
  331. ^
  332. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_methods_init’:
  333. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:554:13: error: implicit declaration of function ‘acpi_bus_get_device’ [-Werror=implicit-function-declaration]
  334. retVal = acpi_bus_get_device(nvif_parent_gpu_handle, &device);
  335. ^
  336. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:559:23: error: dereferencing pointer to incomplete type
  337. if (device->driver_data)
  338. ^
  339. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:10:0,
  340. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  341. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  342. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  343. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  344. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  345. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  346. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  347. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  348. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  349. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_ddc_method’:
  350. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:43: error: dereferencing pointer to incomplete type
  351. list_for_each_safe(node, next, &device->children)
  352. ^
  353. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:14: note: in definition of macro ‘list_for_each_safe’
  354. for (pos = (head)->next, n = pos->next; pos != (head); \
  355. ^
  356. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  357. for (pos = (head)->next, n = pos->next; pos != (head); \
  358. ^
  359. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:5: note: in expansion of macro ‘list_for_each_safe’
  360. list_for_each_safe(node, next, &device->children)
  361. ^
  362. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:43: error: dereferencing pointer to incomplete type
  363. list_for_each_safe(node, next, &device->children)
  364. ^
  365. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:50: note: in definition of macro ‘list_for_each_safe’
  366. for (pos = (head)->next, n = pos->next; pos != (head); \
  367. ^
  368. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15:0,
  369. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  370. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  371. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  372. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
  373. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  374. ^
  375. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  376. container_of(ptr, type, member)
  377. ^
  378. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  379. list_entry(node, struct acpi_device, node);
  380. ^
  381. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
  382. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  383. ^
  384. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  385. container_of(ptr, type, member)
  386. ^
  387. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  388. list_entry(node, struct acpi_device, node);
  389. ^
  390. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: (near initialization for ‘dev’) [enabled by default]
  391. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  392. ^
  393. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  394. container_of(ptr, type, member)
  395. ^
  396. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  397. list_entry(node, struct acpi_device, node);
  398. ^
  399. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc.h:106:0,
  400. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:54,
  401. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1,
  402. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  403. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  404. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  405. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  406. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  407. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  408. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  409. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  410. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  411. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  412. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:37: error: invalid use of undefined type ‘struct acpi_device’
  413. list_entry(node, struct acpi_device, node);
  414. ^
  415. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ‘__compiler_offsetof’
  416. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
  417. ^
  418. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:834:29: note: in expansion of macro ‘offsetof’
  419. (type *)( (char *)__mptr - offsetof(type,member) );})
  420. ^
  421. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  422. container_of(ptr, type, member)
  423. ^
  424. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  425. list_entry(node, struct acpi_device, node);
  426. ^
  427. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1214:43: error: dereferencing pointer to incomplete type
  428. status = acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  429. ^
  430. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1223:33: error: dereferencing pointer to incomplete type
  431. lcd_dev_handle = dev->handle;
  432. ^
  433. cc1: some warnings being treated as errors
  434. make[3]: *** [/var/lib/dkms/nvidia/331.38/build/nv-acpi.o] Error 1
  435. make[2]: *** [_module_/var/lib/dkms/nvidia/331.38/build] Error 2
  436. make[1]: *** [sub-make] Error 2
  437. make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1'
  438. NVIDIA: left KBUILD.
  439. nvidia.ko failed to build!
  440. make: *** [nvidia.ko] Error 1
  441. make: Entering directory `/var/lib/dkms/nvidia/331.38/build/uvm'
  442. cd /var/lib/dkms/nvidia/331.38/build; make module SYSSRC=/lib/modules/3.14.0-rc1-core2duo/source SYSOUT=/lib/modules/3.14.0-rc1-core2duo/build KBUILD_EXTMOD=/var/lib/dkms/nvidia/331.38/build
  443. make[1]: Entering directory `/var/lib/dkms/nvidia/331.38/build'
  444. NVIDIA: calling KBUILD...
  445. make[2]: Entering directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1'
  446. make -C /lib/modules/3.14.0-rc1-core2duo/build \
  447. KBUILD_SRC=/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1 \
  448. KBUILD_EXTMOD="/var/lib/dkms/nvidia/331.38/build" -f /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/Makefile \
  449. modules
  450. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  451. echo >&2; \
  452. echo >&2 " ERROR: Kernel configuration is invalid."; \
  453. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  454. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  455. echo >&2 ; \
  456. /bin/false)
  457. mkdir -p /var/lib/dkms/nvidia/331.38/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/331.38/build/.tmp_versions/*
  458. make -f /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/scripts/Makefile.build obj=/var/lib/dkms/nvidia/331.38/build
  459. cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include -Iarch/x86/include/generated -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include -Iinclude -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi -Iinclude/generated/uapi -include /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.38\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia/331.38/build/nv-acpi.c
  460. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/bitops.h:506:0,
  461. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:33,
  462. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:10,
  463. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15,
  464. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  465. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  466. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  467. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h: In function ‘hweight_long’:
  468. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  469. #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
  470. ^
  471. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/bitops.h:77:41: note: in expansion of macro ‘hweight64’
  472. return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
  473. ^
  474. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/cpumask.h:4:0,
  475. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/msr.h:10,
  476. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/processor.h:20,
  477. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/thread_info.h:22,
  478. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/thread_info.h:54,
  479. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/preempt.h:6,
  480. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:18,
  481. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  482. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  483. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  484. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  485. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  486. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  487. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  488. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  489. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  490. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h: In function ‘cpumask_parse’:
  491. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
  492. int len = nl ? nl - buf : strlen(buf);
  493. ^
  494. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1:0,
  495. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  496. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  497. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  498. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  499. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  500. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  501. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  502. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  503. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  504. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  505. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
  506. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  507. if (likely(sz < 0 || sz >= n))
  508. ^
  509. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  510. # define likely(x) __builtin_expect(!!(x), 1)
  511. ^
  512. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
  513. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  514. if (likely(sz < 0 || sz >= n))
  515. ^
  516. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
  517. # define likely(x) __builtin_expect(!!(x), 1)
  518. ^
  519. In file included from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:270:0,
  520. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  521. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h: At top level:
  522. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ declared inside parameter list [enabled by default]
  523. struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
  524. ^
  525. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
  526. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:58:21: error: variable ‘nv_acpi_driver_template’ has initializer but incomplete type
  527. static const struct acpi_driver nv_acpi_driver_template = {
  528. ^
  529. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: error: unknown field ‘name’ specified in initializer
  530. .name = "NVIDIA ACPI Video Driver",
  531. ^
  532. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: warning: excess elements in struct initializer [enabled by default]
  533. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:59:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  534. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: error: unknown field ‘class’ specified in initializer
  535. .class = "video",
  536. ^
  537. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: warning: excess elements in struct initializer [enabled by default]
  538. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:60:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  539. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: error: unknown field ‘ids’ specified in initializer
  540. .ids = ACPI_VIDEO_HID,
  541. ^
  542. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: warning: excess elements in struct initializer [enabled by default]
  543. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:65:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  544. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: unknown field ‘ops’ specified in initializer
  545. .ops = {
  546. ^
  547. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: extra brace group at end of initializer
  548. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:68:5: error: (near initialization for ‘nv_acpi_driver_template’)
  549. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:74:5: warning: excess elements in struct initializer [enabled by default]
  550. },
  551. ^
  552. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:74:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
  553. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_init’:
  554. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:106:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_driver’
  555. sizeof(struct acpi_driver));
  556. ^
  557. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:111:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_driver’
  558. sizeof(struct acpi_driver));
  559. ^
  560. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:113:5: error: implicit declaration of function ‘acpi_bus_register_driver’ [-Werror=implicit-function-declaration]
  561. status = acpi_bus_register_driver(nv_acpi_driver);
  562. ^
  563. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_uninit’:
  564. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:148:5: error: implicit declaration of function ‘acpi_bus_unregister_driver’ [-Werror=implicit-function-declaration]
  565. acpi_bus_unregister_driver(nv_acpi_driver);
  566. ^
  567. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_add’:
  568. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:191:11: error: dereferencing pointer to incomplete type
  569. device->driver_data = pNvAcpiObject;
  570. ^
  571. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:10:0,
  572. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  573. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  574. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  575. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  576. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  577. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  578. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  579. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  580. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  581. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:43: error: dereferencing pointer to incomplete type
  582. list_for_each_safe(node, next, &device->children)
  583. ^
  584. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:14: note: in definition of macro ‘list_for_each_safe’
  585. for (pos = (head)->next, n = pos->next; pos != (head); \
  586. ^
  587. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  588. for (pos = (head)->next, n = pos->next; pos != (head); \
  589. ^
  590. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:5: note: in expansion of macro ‘list_for_each_safe’
  591. list_for_each_safe(node, next, &device->children)
  592. ^
  593. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:198:43: error: dereferencing pointer to incomplete type
  594. list_for_each_safe(node, next, &device->children)
  595. ^
  596. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:50: note: in definition of macro ‘list_for_each_safe’
  597. for (pos = (head)->next, n = pos->next; pos != (head); \
  598. ^
  599. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15:0,
  600. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  601. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  602. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  603. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
  604. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  605. ^
  606. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  607. container_of(ptr, type, member)
  608. ^
  609. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  610. list_entry(node, struct acpi_device, node);
  611. ^
  612. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
  613. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  614. ^
  615. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  616. container_of(ptr, type, member)
  617. ^
  618. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  619. list_entry(node, struct acpi_device, node);
  620. ^
  621. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: (near initialization for ‘dev’) [enabled by default]
  622. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  623. ^
  624. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  625. container_of(ptr, type, member)
  626. ^
  627. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  628. list_entry(node, struct acpi_device, node);
  629. ^
  630. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc.h:106:0,
  631. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:54,
  632. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1,
  633. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  634. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  635. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  636. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  637. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  638. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  639. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  640. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  641. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  642. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  643. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:37: error: invalid use of undefined type ‘struct acpi_device’
  644. list_entry(node, struct acpi_device, node);
  645. ^
  646. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ‘__compiler_offsetof’
  647. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
  648. ^
  649. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:834:29: note: in expansion of macro ‘offsetof’
  650. (type *)( (char *)__mptr - offsetof(type,member) );})
  651. ^
  652. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  653. container_of(ptr, type, member)
  654. ^
  655. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:201:13: note: in expansion of macro ‘list_entry’
  656. list_entry(node, struct acpi_device, node);
  657. ^
  658. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:215:13: error: implicit declaration of function ‘acpi_evaluate_integer’ [-Werror=implicit-function-declaration]
  659. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  660. ^
  661. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:215:38: error: dereferencing pointer to incomplete type
  662. acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  663. ^
  664. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:234:65: error: dereferencing pointer to incomplete type
  665. pNvAcpiObject->pNvVideo[device_counter].dev_handle = dev->handle;
  666. ^
  667. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:249:41: error: dereferencing pointer to incomplete type
  668. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
  669. ^
  670. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:257:48: error: dereferencing pointer to incomplete type
  671. status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
  672. ^
  673. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_remove’:
  674. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:282:38: error: dereferencing pointer to incomplete type
  675. nv_acpi_t *pNvAcpiObject = device->driver_data;
  676. ^
  677. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:296:41: error: dereferencing pointer to incomplete type
  678. status = acpi_evaluate_object(device->handle, "_DOS", &control_argument_list, NULL);
  679. ^
  680. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:323:15: error: dereferencing pointer to incomplete type
  681. device->driver_data = NULL;
  682. ^
  683. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_install_notifier’:
  684. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:452:28: error: dereferencing pointer to incomplete type
  685. if ((!device) || device->driver_data)
  686. ^
  687. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:469:11: error: dereferencing pointer to incomplete type
  688. device->driver_data = pNvAcpiObject;
  689. ^
  690. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:475:48: error: dereferencing pointer to incomplete type
  691. status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
  692. ^
  693. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:489:12: error: dereferencing pointer to incomplete type
  694. device->driver_data = NULL;
  695. ^
  696. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_uninstall_notifier’:
  697. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:503:27: error: dereferencing pointer to incomplete type
  698. pNvAcpiObject = device->driver_data;
  699. ^
  700. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:506:51: error: dereferencing pointer to incomplete type
  701. status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, handler);
  702. ^
  703. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:516:19: error: dereferencing pointer to incomplete type
  704. device->driver_data = NULL;
  705. ^
  706. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_methods_init’:
  707. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:554:13: error: implicit declaration of function ‘acpi_bus_get_device’ [-Werror=implicit-function-declaration]
  708. retVal = acpi_bus_get_device(nvif_parent_gpu_handle, &device);
  709. ^
  710. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:559:23: error: dereferencing pointer to incomplete type
  711. if (device->driver_data)
  712. ^
  713. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/preempt.h:10:0,
  714. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/spinlock.h:50,
  715. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/seqlock.h:35,
  716. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/time.h:5,
  717. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/timex.h:56,
  718. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/timex.h:56,
  719. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:17,
  720. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  721. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  722. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  723. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c: In function ‘nv_acpi_ddc_method’:
  724. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:43: error: dereferencing pointer to incomplete type
  725. list_for_each_safe(node, next, &device->children)
  726. ^
  727. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:14: note: in definition of macro ‘list_for_each_safe’
  728. for (pos = (head)->next, n = pos->next; pos != (head); \
  729. ^
  730. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  731. for (pos = (head)->next, n = pos->next; pos != (head); \
  732. ^
  733. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:5: note: in expansion of macro ‘list_for_each_safe’
  734. list_for_each_safe(node, next, &device->children)
  735. ^
  736. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1206:43: error: dereferencing pointer to incomplete type
  737. list_for_each_safe(node, next, &device->children)
  738. ^
  739. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:425:50: note: in definition of macro ‘list_for_each_safe’
  740. for (pos = (head)->next, n = pos->next; pos != (head); \
  741. ^
  742. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:15:0,
  743. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  744. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  745. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  746. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:27: error: dereferencing pointer to incomplete type
  747. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  748. ^
  749. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  750. container_of(ptr, type, member)
  751. ^
  752. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  753. list_entry(node, struct acpi_device, node);
  754. ^
  755. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: initialization from incompatible pointer type [enabled by default]
  756. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  757. ^
  758. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  759. container_of(ptr, type, member)
  760. ^
  761. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  762. list_entry(node, struct acpi_device, node);
  763. ^
  764. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:833:48: warning: (near initialization for ‘dev’) [enabled by default]
  765. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  766. ^
  767. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  768. container_of(ptr, type, member)
  769. ^
  770. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  771. list_entry(node, struct acpi_device, node);
  772. ^
  773. In file included from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc.h:106:0,
  774. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler.h:54,
  775. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/stddef.h:1,
  776. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/stddef.h:4,
  777. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/posix_types.h:4,
  778. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/types.h:13,
  779. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/types.h:5,
  780. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/uapi/linux/capability.h:16,
  781. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/capability.h:15,
  782. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/sched.h:13,
  783. from /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/utsname.h:5,
  784. from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
  785. from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
  786. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:37: error: invalid use of undefined type ‘struct acpi_device’
  787. list_entry(node, struct acpi_device, node);
  788. ^
  789. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/compiler-gcc4.h:14:53: note: in definition of macro ‘__compiler_offsetof’
  790. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
  791. ^
  792. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/kernel.h:834:29: note: in expansion of macro ‘offsetof’
  793. (type *)( (char *)__mptr - offsetof(type,member) );})
  794. ^
  795. /home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1/include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
  796. container_of(ptr, type, member)
  797. ^
  798. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1209:13: note: in expansion of macro ‘list_entry’
  799. list_entry(node, struct acpi_device, node);
  800. ^
  801. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1214:43: error: dereferencing pointer to incomplete type
  802. status = acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
  803. ^
  804. /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:1223:33: error: dereferencing pointer to incomplete type
  805. lcd_dev_handle = dev->handle;
  806. ^
  807. cc1: some warnings being treated as errors
  808. make[4]: *** [/var/lib/dkms/nvidia/331.38/build/nv-acpi.o] Error 1
  809. make[3]: *** [_module_/var/lib/dkms/nvidia/331.38/build] Error 2
  810. make[2]: *** [sub-make] Error 2
  811. make[2]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-3.14-rc1'
  812. NVIDIA: left KBUILD.
  813. nvidia.ko failed to build!
  814. make[1]: *** [nvidia.ko] Error 1
  815. make[1]: Leaving directory `/var/lib/dkms/nvidia/331.38/build'
  816. make: *** [/var/lib/dkms/nvidia/331.38/build/Module.symvers] Error 2
  817. make: Leaving directory `/var/lib/dkms/nvidia/331.38/build/uvm'
RAW Paste Data