Hi!
I get a same build error on i386.
--------------
Preparing to unpack
.../nvidia-legacy-304xx-kernel-dkms_304.123-1_i386.deb ...
------------------------------
Deleting module version: 304.123
completely from the DKMS tree.
------------------------------
Done.
Unpacking nvidia-legacy-304xx-kernel-dkms (304.123-1) over (304.123-1) ...
Beállítás: nvidia-legacy-304xx-kernel-dkms (304.123-1) ...
Loading new nvidia-legacy-304xx-304.123 DKMS files...
Building only for 3.14-1-686-pae
Building initial module for 3.14-1-686-pae
Error! Bad return status for module build on kernel: 3.14-1-686-pae (i686)
Consult /var/lib/dkms/nvidia-legacy-304xx/304.123/build/make.log for
more information.
------------------
Thanks
Gabor
DKMS make.log for nvidia-legacy-304xx-304.123 for kernel 3.14-1-686-pae (i686)
2014. júl. 22., kedd, 12.43.29 CEST
make: Entering directory '/var/lib/dkms/nvidia-legacy-304xx/304.123/build'
make KBUILD_VERBOSE=1 -C /lib/modules/3.14-1-686-pae/build M=/var/lib/dkms/nvidia-legacy-304xx/304.123/build modules
make[1]: Entering directory '/usr/src/linux-headers-3.14-1-686-pae'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make -C /usr/src/linux-headers-3.14-1-686-pae \
KBUILD_SRC=/usr/src/linux-headers-3.14-1-common \
KBUILD_EXTMOD="/var/lib/dkms/nvidia-legacy-304xx/304.123/build" -f /usr/src/linux-headers-3.14-1-common/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/lib/dkms/nvidia-legacy-304xx/304.123/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-legacy-304xx/304.123/build/.tmp_versions/*
make -f /usr/src/linux-headers-3.14-1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-304xx/304.123/build
/bin/sh /var/lib/dkms/nvidia-legacy-304xx/304.123/build/conftest.sh " gcc-4.8" " gcc-4.8" x86 /lib/modules/3.14-1-686-pae/build /lib/modules/3.14-1-686-pae/build compile_tests remap_page_range remap_pfn_range vmap agp_backend_acquire set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create on_each_cpu smp_call_function vmm_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace agp_memory scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled proc_create_data pde_data proc_remove pm_vt_switch_required
echo \#define NV_COMPILER \"` gcc-4.8 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv_compiler.h
gcc-4.8 -Wp,-MD,/var/lib/dkms/nvidia-legacy-304xx/304.123/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.8/include -I/usr/src/linux-headers-3.14-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.14-1-common/include -Iinclude -I/usr/src/linux-headers-3.14-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.14-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.14-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia-legacy-304xx/304.123/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 -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=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 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/var/lib/dkms/nvidia-legacy-304xx/304.123/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.123\" -Wno-unused-function -Wuninitialized -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-legacy-304xx/304.123/build/.tmp_nv.o /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.c
In file included from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/bitops.h:506:0,
from /usr/src/linux-headers-3.14-1-common/include/linux/bitops.h:33,
from /usr/src/linux-headers-3.14-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.14-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.14-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv-linux.h:42,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.c:13:
/usr/src/linux-headers-3.14-1-common/include/linux/bitops.h: In function âhweight_longâ:
/usr/src/linux-headers-3.14-1-common/include/asm-generic/bitops/const_hweight.h:26:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w))
^
/usr/src/linux-headers-3.14-1-common/include/linux/bitops.h:77:26: note: in expansion of macro âhweight32â
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.14-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-3.14-1-common/include/linux/preempt.h:20,
from /usr/src/linux-headers-3.14-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.14-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.14-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.14-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.14-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.14-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.14-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv-linux.h:42,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.c:13:
/usr/src/linux-headers-3.14-1-common/include/linux/cpumask.h: In function âcpumask_parseâ:
/usr/src/linux-headers-3.14-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.14-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.14-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.14-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.14-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.14-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.14-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.14-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.14-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.14-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv-linux.h:42,
from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.c:13:
/usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/uaccess.h: In function âcopy_from_userâ:
/usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-1-common/include/linux/compiler.h:152:40: note: in definition of macro âlikelyâ
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/uaccess.h: In function âcopy_to_userâ:
/usr/src/linux-headers-3.14-1-common/arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
/usr/src/linux-headers-3.14-1-common/include/linux/compiler.h:152:40: note: in definition of macro âlikelyâ
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.c:13:0:
/var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv-linux.h:1313:2: error: #error "console lock api unrecognized!."
#error "console lock api unrecognized!."
^
/usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.o' failed
make[4]: *** [/var/lib/dkms/nvidia-legacy-304xx/304.123/build/nv.o] Error 1
/usr/src/linux-headers-3.14-1-common/Makefile:1291: recipe for target '_module_/var/lib/dkms/nvidia-legacy-304xx/304.123/build' failed
make[3]: *** [_module_/var/lib/dkms/nvidia-legacy-304xx/304.123/build] Error 2
Makefile:133: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.14-1-686-pae'
Makefile:35: recipe for target 'modules' failed
make: *** [modules] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-legacy-304xx/304.123/build'